VismaBouwsoftAPICalls.v1_POST_ActualCostMachines | Method |
This API call is used to add a(n) ActualCostMachine
General Description
HTTP method | API version |
---|---|
POST | v1 |
Don’t forget to put the Authorization field in the header
API Path: /ActualCostMachines
or
Fields
The following fields are available:
Field Name | Type |
---|---|
id | Number |
project_id | Number |
project_pnr | Number |
project_unr | Number |
project_name | String |
actualcostitem_id | Number |
actualcostitem_nr1 | String |
actualcostitem_nr2 | String |
actualcostitem_description | String |
actualcostitem_description_localized | String |
employee_id | Number |
employee_name | String |
date | String |
time_start | Number |
time_stop | Number |
time_pause | Number |
time_total | Number |
job_id | Number |
job_code | String |
job_name | String |
machine_id | Number |
nr | String |
description | String |
quantity | Number |
unit | String |
unit_localized | String |
price_unit | Number |
price_total_without_margin | Number |
margin | Number |
price_total_with_margin | Number |
working_on_time_and_expense_basis | Boolean |
extra_work | Boolean |
location | String |
note | String |
company_id | Number |
username | String |
invoiced | Boolean |
/ActualCostMachines
API Path: /ActualCostMachines/
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/ActualCostMachines
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: OPtfWxfUPbzSfDDAbfzRqtjlfVrGfGDjffPkzjtDjtOGPAPOkG
Query Parameters :
ParameterName: columns, ParameterValue: project_id=3149,company_id=1,nr=’5653‘,quantity=10,unit=’day’,price_unit=15.4
Success gives statuscode 201 And the following result
{“RecordChanges”:
[
{
"id": 1763,
"project_id": 3149,
"project_pnr": 2013086,
"project_unr": 1275,
"project_name": "Schilderen van API blokjes",
"actualcostitem_id": 2576,
"actualcostitem_nr1": "",
"actualcostitem_nr2": "",
"actualcostitem_description": "Volledig Project",
"actualcostitem_description_localized": "Complete project",
"employee_id": 0,
"employee_name": "",
"date": "2025–02–12",
"time_start": 8,
"time_stop": 17,
"time_pause": 1,
"time_total": 8,
"job_id": 0,
"job_code": "",
"job_name": "",
"machine_id": 0,
"nr": "5653",
"description": "",
"quantity": 10,
"unit": "dag",
"unit_localized": "Day",
"price_unit": 15.4,
"price_total_without_margin": 154.0,
"margin": 0,
"price_total_with_margin": 154.0,
"working_on_time_and_expense_basis": false,
"extra_work": false,
"location": "Werf",
"note": "",
"company_id": 1,
"username": "DIRK",
"invoiced": false
}
]
}
https://ra.bouwsoft.be/api/v1/ActualCostMachines
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: OPtfWxfUPbzSfDDAbfzRqtjlfVrGfGDjffPkzjtDjtOGPAPOkG
Query Parameters :
ParameterName: columns, ParameterValue: project_id=3149,nr=’5653‘,quantity=10,unit=’day’,price_unit=15.4
Success gives statuscode 201 And the following result
{“RecordChanges”:
[
{
"id": 1764,
"project_id": 3149,
"project_pnr": 2013086,
"project_unr": 1275,
"project_name": "Schilderen van API blokjes",
"actualcostitem_id": 2576,
"actualcostitem_nr1": "",
"actualcostitem_nr2": "",
"actualcostitem_description": "Volledig Project",
"actualcostitem_description_localized": "Complete project",
"employee_id": 0,
"employee_name": "",
"date": "2025–02–12",
"time_start": 8,
"time_stop": 17,
"time_pause": 1,
"time_total": 8,
"job_id": 0,
"job_code": "",
"job_name": "",
"machine_id": 0,
"nr": "5653",
"description": "",
"quantity": 10,
"unit": "dag",
"unit_localized": "Day",
"price_unit": 15.4,
"price_total_without_margin": 154.0,
"margin": 0,
"price_total_with_margin": 154.0,
"working_on_time_and_expense_basis": false,
"extra_work": false,
"location": "Werf",
"note": "",
"company_id": 2,
"username": "DIRK",
"invoiced": false
}
]
}