VismaBouwsoftAPICalls.v1_GET_ActualCostMachines Method
v1_GET_ActualCostMachines() as String

This API call is used to get fields of a(n) ActualCostMachine(s)

HTTP method API version
GET v1

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

API Path: /ActualCostMachines/
or
API Path: /ActualCostMachines/{id}

You can make this API call:
* without the key field id to get a list of ActualCostMachines
* with the key field id as the path parameter (the specific id of the ActualCostMachine you want to get)

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 200
(200 OK)

If there is something wrong with the request, the response status and code is 400
(400 Bad Request)

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

with the following parameters :

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

Query Parameters :
ParameterName: limit, ParameterValue: 5
ParameterName: sort, ParameterValue: id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/1020”, “Records”: [
  {
    "id": 1,
    "project_id": 3,
    "project_pnr": 20120003,
    "project_unr": 3,
    "project_name": "Project Parketvloeren 2016",
    "actualcostitem_id": 4,
    "actualcostitem_nr1": "P.00.01a",
    "actualcostitem_nr2": "",
    "actualcostitem_description": "Plaatsing parket dmv verlijming: European Oak: inkom",
    "actualcostitem_description_localized": "Plaatsing parket dmv verlijming: European Oak: inkom",
    "employee_id": 0,
    "employee_name": "",
    "date": "2012–03–21",
    "time_start": 6,
    "time_stop": 18,
    "time_pause": 1.5,
    "time_total": 10.5,
    "job_id": 1,
    "job_code": "02",
    "job_name": "TRANSPORT",
    "machine_id": 16,
    "nr": "Materieel 13",
    "description": "Test nacalculatie",
    "quantity": 10.5,
    "unit": "u.",
    "unit_localized": "h.",
    "price_unit": 1000.0,
    "price_total_without_margin": 10500.0,
    "margin": 30,
    "price_total_with_margin": 13650.0,
    "working_on_time_and_expense_basis": false,
    "extra_work": false,
    "location": "Werf",
    "note": "",
    "company_id": 1,
    "username": "",
    "invoiced": true
  },
  {
    "id": 2,
    "project_id": 3,
    "project_pnr": 20120003,
    "project_unr": 3,
    "project_name": "Project Parketvloeren 2016",
    "actualcostitem_id": 4,
    "actualcostitem_nr1": "P.00.01a",
    "actualcostitem_nr2": "",
    "actualcostitem_description": "Plaatsing parket dmv verlijming: European Oak: inkom",
    "actualcostitem_description_localized": "Plaatsing parket dmv verlijming: European Oak: inkom",
    "employee_id": 0,
    "employee_name": "",
    "date": "2012–03–22",
    "time_start": 8,
    "time_stop": 18,
    "time_pause": 1,
    "time_total": 9,
    "job_id": 1,
    "job_code": "02",
    "job_name": "TRANSPORT",
    "machine_id": 1,
    "nr": "Caddy 01",
    "description": "Volkswagen caddy",
    "quantity": 22,
    "unit": "u.",
    "unit_localized": "h.",
    "price_unit": 5.5,
    "price_total_without_margin": 121.0,
    "margin": 30,
    "price_total_with_margin": 157.300000000000011,
    "working_on_time_and_expense_basis": false,
    "extra_work": false,
    "location": "Werf",
    "note": "",
    "company_id": 1,
    "username": "",
    "invoiced": true
  }
,

]
}

/ActualCostMachines/{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/ActualCostMachines/1763

with the following parameters :

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "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": 4,
    "unit": "km",
    "unit_localized": "km",
    "price_unit": 15.4,
    "price_total_without_margin": 61.600000000000001,
    "margin": 0,
    "price_total_with_margin": 61.600000000000001,
    "working_on_time_and_expense_basis": false,
    "extra_work": false,
    "location": "Werf",
    "note": "",
    "company_id": 1,
    "username": "DIRK",
    "invoiced": false
  }
]
}