GET api/IVR/OpeningTimes/Site

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Site
NameDescriptionTypeAdditional 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:39:34.363974+00:00"
      },
      {
        "Id": 1,
        "Date": "2024-11-22T22:39:34.363974+00:00"
      }
    ]
  },
  {
    "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:39:34.363974+00:00"
      },
      {
        "Id": 1,
        "Date": "2024-11-22T22:39:34.363974+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:39:34.363974+00:00"},{"Id":1,"Date":"2024-11-22T22:39:34.363974+00:00"}]},{"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:39:34.363974+00:00"},{"Id":1,"Date":"2024-11-22T22:39:34.363974+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.