GET api/IVR/OpeningTimes/Site/Code/{Code}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SiteName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Address | string |
None. |
|
SiteCode | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
OpeningTimes | Collection of OpeningTime |
None. |
|
SiteType | SiteType |
None. |
|
SiteClosures | Collection of SiteClosure |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Address": "sample string 3", "SiteCode": "sample string 4", "Latitude": 5.1, "Longitude": 6.1, "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Day": 0 }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Day": 0 } ], "SiteType": { "Id": 1, "Name": "sample string 2" }, "SiteClosures": [ { "Id": 1, "Date": "2024-11-22T22:09:19.1876724+00:00" }, { "Id": 1, "Date": "2024-11-22T22:09:19.1876724+00:00" } ] }
text/html
Sample:
{"Id":1,"Name":"sample string 2","Address":"sample string 3","SiteCode":"sample string 4","Latitude":5.1,"Longitude":6.1,"OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Day":0},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Day":0}],"SiteType":{"Id":1,"Name":"sample string 2"},"SiteClosures":[{"Id":1,"Date":"2024-11-22T22:09:19.1876724+00:00"},{"Id":1,"Date":"2024-11-22T22:09:19.1876724+00:00"}]}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.