VismaBouwsoftAPICalls.v1_PUT_Machines Method
v1_PUT_Machines() as String

This API call is used to update fields of a(n) Machine

General Description

HTTP method API version
PUT v1

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

API Path: /Machines/{id}
or
API Path: /Machines/{id}/Upload
or
API Path: /Machines/{id}/note_plain

You make this API call with the key field id as the path parameter (the id of the Machine you want to update)

Fields

The following fields are available:

Field Name Type Id Type Name Length Required Writeable Force Write Link
list 2 tpString 50 No No No
group 2 tpString 150 No No No
nr 2 tpString 50 No No No
description 2 tpString 100 No Yes No
type 2 tpString 100 No Yes No
brand 2 tpString 100 No Yes No
chassisnr 2 tpString 100 No Yes No
license_plate 2 tpString 100 No Yes No
purchasedate 6 tpDateNullString 0 No Yes No
constructionyear 1 tpLong 0 No Yes No
company_id 1 tpLong 0 No No No
company_name 2 tpString 250 No No No
price_cost 14 tpCurrencyHD 0 No No No
price_catalogue 14 tpCurrencyHD 0 No No No
price_sales1 14 tpCurrencyHD 0 No No No
price_sales2 14 tpCurrencyHD 0 No No No
price_sales3 14 tpCurrencyHD 0 No No No
margin_catalogue 14 tpCurrencyHD 0 No No No
margin1 14 tpCurrencyHD 0 No No No
margin2 14 tpCurrencyHD 0 No No No
margin3 14 tpCurrencyHD 0 No No No
discount1 14 tpCurrencyHD 0 No No No
discount2 14 tpCurrencyHD 0 No No No
discount3 14 tpCurrencyHD 0 No No No
supplier_id 1 tpLong 0 No Yes No
supplier_name 2 tpString 150 No No No
tech_checkup_last_date 6 tpDateNullString 0 No Yes No
tech_checkup_expire_date 6 tpDateNullString 0 No Yes No
unit 2 tpString 10 No No No
geodyn_name 2 tpString 250 No No No
ts_lastupdate 3 tpDate 0 No No No

/Machines/{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/Machines/2085

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: description=’Diverse Graafmachine 3 old’

Success gives statuscode 200 And the following result

{“RecordChanges”: [
  {
    "id": 2085,
    "description": "Diverse Graafmachine 3 old",
    "ts_lastupdate": "2026–05–07 09:19:06"
  }
]
}

/Machines/{id}/Upload

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/Machines/2085/Upload

with the following parameters :

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

Body Parameters :
ParameterName: fileParameterValue: tptypeput.txt

Success gives statuscode 201 And the following result

{“RecordChanges”: [
  {
    "name": "tptypeput.txt",
    "path_display": "",
    "path_lower": "",
    "id": "",
    "client_modified": "2026–05–07T09:18:56Z",
    "server_modified": "2026–05–07T09:18:56Z",
    "rev": "",
    "size": 425,
    "is_downloadable": true,
    "checksum": "AexCG0GPh44xrSn3/wG5xiXoSaWC97OXzqnrG1DPoxo="
  }
]
}

/Machines/{id}/note_plain

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/Machines/2085/note_plain

with the following parameters :

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

Body Parameters :
APITest machines noteplain

Success gives statuscode 200 And the following result

APITest machines noteplain