VismaBouwsoftAPICalls.v1_POST_Earthworksdetail Method
v1_POST_Earthworksdetail() as String

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

General Description

HTTP method API version
POST v1

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

API Path: /Earthworksdetail
or

Fields

The following fields are available:

Field Name Type
id Number
earthworks_id Number
product_id Number
product_nr String
product_description String
linenr Number
quantity Number
unit String
unit_localized String

/Earthworksdetail

API Path: /Earthworksdetail/

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

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: earthworks_id%3D%7B%22v1_POST_Earthworks%20%28NewEarthwork%29%22%3A%22id%22%7D%2Cproduct_id%3D14%2Cunit%3D%27m2%27%2Cquantity%3D2.7

Success gives statuscode 201 And the following result

{“RecordChanges”: [
  {
    "id": 65,
    "earthworks_id": 105,
    "product_id": 14,
    "product_nr": "CE 002",
    "product_description": "Untitled (Circuit 091113), 2009 (110 x 130 cm)",
    "linenr": 1,
    "quantity": 2.7,
    "unit": "m3",
    "unit_localized": "m³"
  }
]
}