VismaBouwsoftAPICalls.v1_GET_QuantityCalculation Method
v1_GET_QuantityCalculation() as String

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

HTTP method API version
GET v1

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

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

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

Fields

The following fields are available:

Field Name Type
id Number
quantitycalculation_id Number
quantitycalculationline_id Number
parent_type String
parent_id Number
parent_fieldnr Number
formula String
enabled Boolean
line_linenr Number
line_description String
line_q0 Number
line_q1 Number
line_q2 Number
line_q3 Number
line_vf Number
line_a Number
line_b Number
line_total Number
line_altunit_m Number
line_altunit_m2 Number
line_altunit_m3 Number
line_altunit_bm2 Number
line_altunit_kg Number
line_info_length Number
line_info_width Number
line_info_height Number
line_info_thickness Number
line_info_nrofdoors Number
line_info_nrofwindows Number
line_info_zone String
line_info_floor String
line_info_flat String
line_info_room String
ts_lastupdate String

/QuantityCalculation/

API Path: /QuantityCalculation/

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

with the following parameters :

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

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/55248”, “Records”: [
  {
    "id": –28346,
    "quantitycalculation_id": 28346,
    "quantitycalculationline_id": 0,
    "parent_type": "costline",
    "parent_id": 74493,
    "parent_fieldnr": 7,
    "formula": "TOTALAMOUNTOFORDERLINE(1)5",
    "enabled": true,
    "line_linenr": 0,
    "line_description": "",
    "line_q0": 0,
    "line_q1": 0,
    "line_q2": 0,
    "line_q3": 0,
    "line_vf": 0,
    "line_a": 0,
    "line_b": 0,
    "line_total": 0,
    "line_altunit_m": 0,
    "line_altunit_m2": 0,
    "line_altunit_m3": 0,
    "line_altunit_bm2": 0,
    "line_altunit_kg": 0,
    "line_info_length": 0,
    "line_info_width": 0,
    "line_info_height": 0,
    "line_info_thickness": 0,
    "line_info_nrofdoors": 0,
    "line_info_nrofwindows": 0,
    "line_info_zone": "",
    "line_info_floor": "",
    "line_info_flat": "",
    "line_info_room": "",
    "ts_lastupdate": ""
  },
  {
    "id": –28345,
    "quantitycalculation_id": 28345,
    "quantitycalculationline_id": 0,
    "parent_type": "costline",
    "parent_id": 74489,
    "parent_fieldnr": 1,
    "formula": "5
b()",
    "enabled": true,
    "line_linenr": 0,
    "line_description": "",
    "line_q0": 0,
    "line_q1": 0,
    "line_q2": 0,
    "line_q3": 0,
    "line_vf": 0,
    "line_a": 0,
    "line_b": 0,
    "line_total": 0,
    "line_altunit_m": 0,
    "line_altunit_m2": 0,
    "line_altunit_m3": 0,
    "line_altunit_bm2": 0,
    "line_altunit_kg": 0,
    "line_info_length": 0,
    "line_info_width": 0,
    "line_info_height": 0,
    "line_info_thickness": 0,
    "line_info_nrofdoors": 0,
    "line_info_nrofwindows": 0,
    "line_info_zone": "",
    "line_info_floor": "",
    "line_info_flat": "",
    "line_info_room": "",
    "ts_lastupdate": ""
  }
,

]
}

/QuantityCalculation/{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/QuantityCalculation/69430

with the following parameters :

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 69430,
    "quantitycalculation_id": 28347,
    "quantitycalculationline_id": 69430,
    "parent_type": "orderline",
    "parent_id": 139690,
    "parent_fieldnr": 2,
    "formula": "",
    "enabled": true,
    "line_linenr": 1,
    "line_description": "Testlijn 2 met typfout",
    "line_q0": 12.1,
    "line_q1": 1,
    "line_q2": 1,
    "line_q3": 1,
    "line_vf": 1,
    "line_a": 0,
    "line_b": 0,
    "line_total": 12.1,
    "line_altunit_m": 0,
    "line_altunit_m2": 0,
    "line_altunit_m3": 0,
    "line_altunit_bm2": 0,
    "line_altunit_kg": 0,
    "line_info_length": 0,
    "line_info_width": 0,
    "line_info_height": 0,
    "line_info_thickness": 0,
    "line_info_nrofdoors": 0,
    "line_info_nrofwindows": 0,
    "line_info_zone": "",
    "line_info_floor": "",
    "line_info_flat": "",
    "line_info_room": "",
    "ts_lastupdate": "2025–02–12 14:31:46"
  }
]
}