VismaBouwsoftAPICalls.v1_GET_ActualCostProducts Method
v1_GET_ActualCostProducts() as String

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

HTTP method API version
GET v1

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

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

You can make this API call:
* without the key field id to get a list of ActualCostProducts
* with the key field id as the path parameter (the specific id of the ActualCostProduct 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
job_id Number
job_code String
job_name String
product_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
stocklocationid Number
stocklocation String
note String
company_id Number
invoiced Boolean

/ActualCostProducts/

API Path: /ActualCostProducts/

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

with the following parameters :

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

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/3782”, “Records”: [
  {
    "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–21",
    "job_id": 4,
    "job_code": "04",
    "job_name": "PLAATSING",
    "product_id": 7,
    "nr": "249",
    "description": "249 Express Elastische parketlijm",
    "quantity": 380,
    "unit": "kg",
    "unit_localized": "kg",
    "price_unit": 10.0,
    "price_total_without_margin": 3800.0,
    "margin": 0,
    "price_total_with_margin": 3800.0,
    "working_on_time_and_expense_basis": false,
    "extra_work": false,
    "location": "Werf",
    "stocklocationid": 4,
    "stocklocation": "Depot 1",
    "note": "",
    "company_id": 1,
    "invoiced": true
  },
  {
    "id": 3,
    "project_id": 8,
    "project_pnr": 20120005,
    "project_unr": 5,
    "project_name": "Binnendeuren",
    "actualcostitem_id": 13,
    "actualcostitem_nr1": "BD GL 01",
    "actualcostitem_nr2": "",
    "actualcostitem_description": "Schuifdeur in glas \"Thytan Mat\" Afm. : H.215cm x L.93cm",
    "actualcostitem_description_localized": "Schuifdeur in glas \"Thytan Mat\" Afm. : H.215cm x L.93cm",
    "employee_id": 0,
    "employee_name": "",
    "date": "2012–04–17",
    "job_id": 0,
    "job_code": "",
    "job_name": "",
    "product_id": 17,
    "nr": "DG002",
    "description": "Schuifdeur in glas \"Thytan Mat\"\r\nAfm. : H.215cm x L.93cm",
    "quantity": 380,
    "unit": "st.",
    "unit_localized": "pc.",
    "price_unit": 202.300000000000011,
    "price_total_without_margin": 76874.0,
    "margin": 50,
    "price_total_with_margin": 115311.0,
    "working_on_time_and_expense_basis": false,
    "extra_work": false,
    "location": "Werf",
    "stocklocationid": 0,
    "stocklocation": "",
    "note": "",
    "company_id": 1,
    "invoiced": true
  }
,

]
}

/ActualCostProducts/{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/ActualCostProducts/6215

with the following parameters :

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 6215,
    "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",
    "job_id": 0,
    "job_code": "",
    "job_name": "",
    "product_id": 2809432,
    "nr": "457",
    "description": "Baksteen",
    "quantity": 10,
    "unit": "st.",
    "unit_localized": "pc.",
    "price_unit": 12.35,
    "price_total_without_margin": 123.5,
    "margin": 20,
    "price_total_with_margin": 148.199999999999989,
    "working_on_time_and_expense_basis": false,
    "extra_work": false,
    "location": "Werf",
    "stocklocationid": 0,
    "stocklocation": "",
    "note": "",
    "company_id": 1,
    "invoiced": false
  }
]
}