POST api/Department/List
Search for public (and optionally ParkCare) departments
Request Information
URI Parameters
None.
Body Parameters
DepartmentRequestName | Description | Type | Additional information |
---|---|---|---|
Language |
The UI language as specified by ISO 639-1 |
string |
Required |
DeviceId |
The device's ID |
string |
Required |
Lattitude |
Optional lattitude to search from |
decimal number |
Optional |
Longitude |
Optional longitude to search from |
decimal number |
Optional |
Distance |
Optional distance to departments in kilometers |
decimal number |
Optional |
ClientKeys |
Optional list of client keys to include in the search |
Collection of string |
Optional |
Request Formats
application/json, text/json
Sample:
{ "Language": "da", "DeviceId": "sample string 1", "Lattitude": 1.0, "Longitude": 1.0, "Distance": 1.0, "ClientKeys": [ "sample string 1", "sample string 2" ] }
Response Information
Resource Description
Metadata for the found departments
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.