VismaBouwsoftAPICalls.v1_POST_OrderCosts | Method |
This API call is used to add a(n) OrderCost
General Description
HTTP method | API version |
---|---|
POST | v1 |
Don’t forget to put the Authorization field in the header
API Path: /OrderCosts
or
Fields
The following fields are available:
Field Name | Type |
---|---|
id | Number |
order_id | Number |
nr | String |
description | String |
amount | Number |
amount_total | Number |
percent | Number |
applyto_order | Boolean |
applyto_chapter | Number |
applyto_part | Number |
applyto_group | String |
application_localized | String |
/OrderCosts
API Path: /OrderCosts/
If everything succeeds the HTTP response status is 201
(201 CREATED)
If you forget to send the Authorization, the response status and code is 401
(401 Unauthorized)
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/OrderCosts
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: GrAfWxfDtDzSfOkIOfzRqOVkfOUPGfAlfAkbzbmIODGfOGkVbA
Query Parameters :
ParameterName: columns, ParameterValue: order_id=16365
Success gives statuscode 201 And the following result
{“RecordChanges”:
[
{
"id": 1446,
"order_id": 16365,
"nr": "",
"description": "",
"amount": 0.0,
"amount_total": 0.0,
"percent": 0,
"applyto_order": true,
"applyto_chapter": 0,
"applyto_part": 0,
"applyto_group": "",
"application_localized": "All lines"
}
]
}