VismaBouwsoftAPICalls.v1_GET_OrderVariables Method
v1_GET_OrderVariables() as String

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

HTTP method API version
GET v1

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

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

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

Fields

The following fields are available:

Field Name Type
id Number
order_id Number
order_nr Number
name String
description String
value Number

/OrderVariables/

API Path: /OrderVariables/

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

with the following parameters :

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

Query Parameters :
ParameterName: filter, ParameterValue: order_id eq 67

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 32,
    "order_id": 67,
    "order_nr": 20120021,
    "name": "L",
    "description": "Lengte",
    "value": 10
  },
  {
    "id": 33,
    "order_id": 67,
    "order_nr": 20120021,
    "name": "B",
    "description": "Breedte",
    "value": 12
  }
,

]
}

https://ra.bouwsoft.be/api/v1/OrderVariables

with the following parameters :

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

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/93”, “Records”: [
  {
    "id": 32,
    "order_id": 67,
    "order_nr": 20120021,
    "name": "L",
    "description": "Lengte",
    "value": 10
  },
  {
    "id": 33,
    "order_id": 67,
    "order_nr": 20120021,
    "name": "B",
    "description": "Breedte",
    "value": 12
  }
,

]
}

/OrderVariables/{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/OrderVariables/32

with the following parameters :

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 32,
    "order_id": 67,
    "order_nr": 20120021,
    "name": "L",
    "description": "Lengte",
    "value": 10
  }
]
}