VismaBouwsoftAPICalls.v1_PUT_OrderLines Method
v1_PUT_OrderLines() as String

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

General Description

HTTP method API version
PUT v1

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

API Path: /OrderLines/{id}
or
API Path: /OrderLines/{id}/Image
or
API Path: /OrderLines/{id}/note_plain

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

Fields

The following fields are available:

Field Name Type Id Type Name Length Required Writeable Force Write Link
orderid 1 tpLong 0 Yes No No
ordertype 2 tpString 50 No No No
ordernr 1 tpLong 0 No No No
order_address_id 1 tpLong 0 No No No
order_address_name 2 tpString 150 No No No
order_project_id 1 tpLong 0 No No No
order_project_pnr 1 tpLong 0 No No No
linenr 1 tpLong 0 No No No
linkedto_type 2 tpString 0 No Yes No
linkedto_type_localized 2 tpString 0 No No No
linkedto_source 1 tpLong 0 No No No
linkedto_id 1 tpLong 0 No Yes No
group 2 tpString 100 No Yes No
nr1 2 tpString 100 No Yes No
nr2 2 tpString 100 No Yes No
description 2 tpString 0 No Yes No
unit1 2 tpString 10 No Yes No
unit2 2 tpString 10 No Yes No
unit1_localized 2 tpString 10 No No No
unit2_localized 2 tpString 10 No No No
quantity1 4 tpDouble 0 No Yes No
quantity2 4 tpDouble 0 No Yes No
quantity3 4 tpDouble 0 No Yes No
quantity4 4 tpDouble 0 No Yes No
quantity_total 4 tpDouble 0 No No No
all_quantities_are_included_in_quantity_total 5 tpBool 0 No Yes No
price_unit 14 tpCurrencyHD 0 No Yes No
discount 4 tpDouble 0 No Yes No
price_total 14 tpCurrencyHD 0 No No No
vatcode 2 tpString 5 No Yes No
vatpercent 13 tpPercent 0 No Yes No
vatcocontractor 5 tpBool 0 No Yes No
ledger 1 tpLong 0 No Yes No
price_unit_afterdiscount 14 tpCurrencyHD 0 No No No
cost_products 14 tpCurrencyHD 0 No Yes No
margin_products 13 tpPercent 0 No Yes No
cost_hours 14 tpCurrencyHD 0 No Yes No
margin_hours 13 tpPercent 0 No Yes No
hours_unit 20 tpTimeDouble 0 No No No
hours_total 20 tpTimeDouble 0 No No No
cost_machines 14 tpCurrencyHD 0 No Yes No
margin_machines 13 tpPercent 0 No Yes No
cost_subcontractors 14 tpCurrencyHD 0 No Yes No
margin_subcontractors 13 tpPercent 0 No Yes No
margin_fixed 13 tpPercent 0 No Yes No
info_brand 2 tpString 150 No Yes No
info_type 2 tpString 0 No Yes No
planned_quantity 4 tpDouble 0 No Yes No
project_id 1 tpLong 0 No Yes No Projects
project_pnr 1 tpLong 0 No No No
project_unr 1 tpLong 0 No No No
project_name 2 tpString 100 No No No
supplier_id 1 tpLong 0 No Yes No Addresses
supplier_nr 1 tpLong 0 No No No
supplier_name 2 tpString 150 No No No
include_line_in_total 5 tpBool 0 No Yes No
include_line_on_print 5 tpBool 0 No Yes No
start_on_new_page 5 tpBool 0 No Yes No
ts_lastupdate 3 tpDate 0 No No No
order_decimals 1 tpLong 0 No No No
order_is_readonly 5 tpBool 0 No No No

/OrderLines/{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/OrderLines/142294

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: price_unit=0.85,group=’APITest‘,description=’API Description’

Success gives statuscode 200 And the following result

{“RecordChanges”: [
  {
    "id": 142294,
    "group": "APITest",
    "description": "API Description",
    "price_unit": 0.85,
    "price_unit_afterdiscount": 0.85,
    "cost_products": 0.85,
    "ts_lastupdate": "2026–05–07 09:21:16"
  }
]
}

https://ra.bouwsoft.be/api/v1/OrderLines/142295

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: group=’TESTDIRK‘,nr1=’01.0001’

Success gives statuscode 200 And the following result

{“RecordChanges”: [
  {
    "id": 142295,
    "linkedto_type": "product",
    "linkedto_type_localized": "Article",
    "linkedto_source": 11,
    "linkedto_id": 2237653,
    "group": "TESTDIRK",
    "nr1": "01.0001",
    "description": "MANITOU MAN’GO 12 Categorie: kniktelescopische-hoogwerkers MANITOU MAN’GO 12, Diesel - Dagprijs: € 165, vanaf 2tot4 dagen: € 130, weekprijs: € 490, maandprijs: € 400 /week Accessoires : Operator - CAT 1, Werftank (mazout) 1100 l Vlarem II met tankpistool, Nummerplaat,",
    "unit1": "st.",
    "unit1_localized": "pc.",
    "ts_lastupdate": "2026–05–07 09:20:57"
  }
]
}

/OrderLines/{id}/Image

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/OrderLines/142294/Image

with the following parameters :

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

Body Parameters :
ParameterName: fileParameterValue: bouwsoft.jpg

Success gives statuscode 201 And the following result

image

/OrderLines/{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/OrderLines/142294/note_plain

with the following parameters :

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

Body Parameters :
testnote via api

Success gives statuscode 200 And the following result

testnote via api