Location endpoint

The location-endpoint provides a list endpoint to list locations configured in Accelerate and is available since version 19.9.19.

Note

Locations can be managed in Accelerate by an user with admin-privileges. Goto Instellingen > Afspraken > Locaties.


list

GET /location/list

This endpoint returns all locations.

Request

This request requires no parameters.

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
[
  {
    "code":"DEVENTER_1",
    "name":"Locatie Deventer 1",
    "address":"Herfordstraat 8",
    "zipcode":"7418EX",
    "city":"Deventer"
  },
  {
    "code":"DEVENTER_2",
    "name":"Locatie Deventer 2",
    "address":"Herfordstraat 8",
    "zipcode":"7418EX",
    "city":"Deventer"
  }
]

Note

The property code can be used in the endpoints New dossier (createFromDossierRequest) and New appointment (create) to specify a certain location