VismaBouwsoftAPICalls.v1_DELETE_OrderLines Method
v1_DELETE_OrderLines() as String

This API call is used to delete a(n) OrderLine

HTTP method API version
DELETE v1

Don’t forget to put the Authorization field in the header

API Path: /OrderLines/{id}
or
API Path: /OrderLines/{id}/Image

You make this API call with the key field id as the path parameter (the id of the OrderLine you want to delete)

/OrderLines/{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/OrderLines/139690

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: fADfWxfVOjzSfDjbAfzRqkbIfOGbGftGftkbzIGIfGVfrmAjmr

Success gives statuscode 204

https://ra.bouwsoft.be/api/v1/OrderLines/139692

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: DmIfWxflOfzSfDDkDfzRqrOGfUjAGfOGflkbzlktbklfrjUGUl

Success gives statuscode 204

/OrderLines/{id}/Image

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/OrderLines/139690/Image

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: mrVfWxfVlfzSfVVrbfzRqUtffIGbGfjffjObzkIVmAmfVtrPVt

Success gives statuscode 204