VismaBouwsoftAPICalls.v1_GET_CodeTranslations Method
v1_GET_CodeTranslations() as String

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

HTTP method API version
GET v1

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

API Path: /CodeTranslations/
or

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

Fields

The following fields are available:

Field Name Type
id Number
code String
languageid Number
translation String

/CodeTranslations/

API Path: /CodeTranslations/

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

with the following parameters :

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

Query Parameters :
ParameterName: filter, ParameterValue: code%20eq%20%27LNGFOUTBIJOVERBRENGEN%27%20and%20languageid%20eq%204

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 11824,
    "code": "LNGFOUTBIJOVERBRENGEN",
    "languageid": 4,
    "translation": "Fout bij overbrengen"
  }
]
}

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

with the following parameters :

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

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/21162”, “Records”: [
  {
    "id": 1,
    "code": "LNGBONNRMOETUNIEKZIJN",
    "languageid": 1,
    "translation": "Bonnr moet uniek zijn per bontype/bedrijf"
  },
  {
    "id": 2,
    "code": "LNGBONNRMOETUNIEKZIJN",
    "languageid": 2,
    "translation": "Order no must be unique per type/company"
  }
,

]
}