VismaBouwsoftAPICalls.v1_DELETE_PurchaseInvoices | Method |
This API call is used to delete a(n) PurchaseInvoice
HTTP method | API version |
---|---|
DELETE | v1 |
Don’t forget to put the Authorization field in the header
API Path: /PurchaseInvoices/{id}
You make this API call with the key field id as the path parameter (the id of the PurchaseInvoice you want to delete)
/PurchaseInvoices/{id}
If everything succeeds the HTTP response status is 200
(200 OK)
If there is something wrong with the request, the response status and code is 400
(400 Bad Request)
If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)
If you forget to send the Authorization, the response status is 401
(401 Unauthorized)
If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/PurchaseInvoices/884
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: mVIfWxfkPPzSfVfbGfzRqAmVflUlGfDmfUPbzbGDGImfUkmfDO
Success gives statuscode 204
https://ra.bouwsoft.be/api/v1/PurchaseInvoices/884
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: DlDfWxfAPUzSffPkjfzRqAIbfmlUfGjbfGOkzfPGtVlGtlUGDI
Success gives statuscode 204
https://ra.bouwsoft.be/api/v1/PurchaseInvoices/885
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: IbtfWxfkUbzSfkIfffzRqmVIfrDDfGOkfAGkzIjmltVGlGblbf
Success gives statuscode 204