VismaBouwsoftAPICalls.v1_GET_EmployeeTasks Method
v1_GET_EmployeeTasks() as String

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

HTTP method API version
GET v1

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

API Path: /EmployeeTasks/

You make this API call:
* to get the result of EmployeeTasks

Fields

The following fields are available:

Field Name Type
id Number
code String
name String
name_localized String
on_site Boolean

/EmployeeTasks/

API Path: /EmployeeTasks/

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

with the following parameters :

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

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/10”, “Records”: [
  {
    "id": 1,
    "code": "BD",
    "name": "Bediende",
    "name_localized": "White-collar worker",
    "on_site": true
  },
  {
    "id": 2,
    "code": "Ch",
    "name": "Chauffeur",
    "name_localized": "Driver",
    "on_site": true
  }
,

]
}