VismaBouwsoftAPICalls.v1_POST_OrderCommissions Method
v1_POST_OrderCommissions() as String

This API call is used to add a(n) OrderCommission

General Description

HTTP method API version
POST v1

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

API Path: /OrderCommissions
or

Fields

The following fields are available:

Field Name Type
id Number
order_id Number
description String
address_id Number
address_name String
employee_id Number
employee_name String
amount Number
percent Number
applyto_order Boolean
applyto_chapter Number
applyto_part Number
applyto_group String
application_localized String

/OrderCommissions

API Path: /OrderCommissions/

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/OrderCommissions

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: order_id=16124

Success gives statuscode 201 And the following result

{“RecordChanges”: [
  {
    "id": 1443,
    "order_id": 16124,
    "description": "",
    "address_id": 0,
    "address_name": "",
    "employee_id": 0,
    "employee_name": "",
    "amount": 0.0,
    "percent": 0,
    "applyto_order": true,
    "applyto_chapter": 0,
    "applyto_part": 0,
    "applyto_group": "",
    "application_localized": "All lines"
  }
]
}