This is an old revision of the document!
Retrieve a list of all available user accounts. It is best to create a dedicated user account for any external service you connect through this API to keep transactions separated.
parameters:
| auth | the authorisation code you received from Intogolf BV (mandatory) |
If a wrong authorisation code is provided, the backend will return 401,“Unauthorized”
example: https://backend.intogolf.com/itg/employees?auth=<your authorisation code>
result:
{
"employees": [
{
"empnr": 10,
"lastname": "knol",
"firstname": "saskia",
"nameprefix": ""
},
{
"empnr": 1259,
"lastname": "posmobile",
"firstname": "",
"nameprefix": ""
},
{
"empnr": 1519,
"lastname": "Dongen",
"firstname": "Ferry",
"nameprefix": "van"
}
]
}
| empnr | internal id of the user/employee |
| lastname | last name of the user |
| firstname | first name of the user |
| nameprefix | name prefix “van der” |