GET api/Timetables/TimeTable/Active/Site/{Name}/{IncludeOpenings}/{IncludeActivities}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Name | string |
Required |
|
IncludeOpenings | boolean |
Default value is False |
|
IncludeActivities | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
TimeTableName | Description | Type | Additional information |
---|---|---|---|
Site |
None. |
Response Formats
application/json, text/json
Sample:
{ "Site": { "Id": 1, "Name": "sample string 2", "SiteType": "sample string 3" }, "Id": 1, "Name": "sample string 2", "Openings": [ { "Id": 1, "Activity": { "Id": 1, "TimeTables": [], "Name": "sample string 2", "Information": "sample string 3", "Category": { "Id": 1, "Name": "sample string 2" }, "Tags": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Openings": [], "MustBook": true }, "DayOfWeek": 0, "Date": null, "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4", "OpeningTimeExceptions": [ { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } }, { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } } ], "IsOpeningTimeException": false, "IsCancelled": false }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4", "OpeningTimeExceptions": [ { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } }, { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } } ], "IsOpeningTimeException": false, "IsCancelled": false } ], "IsOpeningException": false, "OpeningDates": [ { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } ] }, { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } ] } ], "IsOpeningDate": false }, { "Id": 1, "Activity": { "Id": 1, "TimeTables": [], "Name": "sample string 2", "Information": "sample string 3", "Category": { "Id": 1, "Name": "sample string 2" }, "Tags": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Openings": [], "MustBook": true }, "DayOfWeek": 0, "Date": null, "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4", "OpeningTimeExceptions": [ { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } }, { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } } ], "IsOpeningTimeException": false, "IsCancelled": false }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4", "OpeningTimeExceptions": [ { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } }, { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTime": { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } } ], "IsOpeningTimeException": false, "IsCancelled": false } ], "IsOpeningException": false, "OpeningDates": [ { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } ] }, { "Id": 1, "Date": "2024-11-22T22:47:50.9981264+00:00", "OpeningTimes": [ { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" }, { "Id": 1, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "Information": "sample string 4" } ] } ], "IsOpeningDate": false } ], "IsActive": true }
text/html
Sample:
{"Site":{"Id":1,"Name":"sample string 2","SiteType":"sample string 3"},"Id":1,"Name":"sample string 2","Openings":[{"Id":1,"Activity":{"Id":1,"TimeTables":[],"Name":"sample string 2","Information":"sample string 3","Category":{"Id":1,"Name":"sample string 2"},"Tags":[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}],"Openings":[],"MustBook":true},"DayOfWeek":0,"Date":null,"OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4","OpeningTimeExceptions":[{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}},{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}}],"IsOpeningTimeException":false,"IsCancelled":false},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4","OpeningTimeExceptions":[{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}},{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}}],"IsOpeningTimeException":false,"IsCancelled":false}],"IsOpeningException":false,"OpeningDates":[{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}]},{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}]}],"IsOpeningDate":false},{"Id":1,"Activity":{"Id":1,"TimeTables":[],"Name":"sample string 2","Information":"sample string 3","Category":{"Id":1,"Name":"sample string 2"},"Tags":[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}],"Openings":[],"MustBook":true},"DayOfWeek":0,"Date":null,"OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4","OpeningTimeExceptions":[{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}},{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}}],"IsOpeningTimeException":false,"IsCancelled":false},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4","OpeningTimeExceptions":[{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}},{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTime":{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}}],"IsOpeningTimeException":false,"IsCancelled":false}],"IsOpeningException":false,"OpeningDates":[{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}]},{"Id":1,"Date":"2024-11-22T22:47:50.9981264+00:00","OpeningTimes":[{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"},{"Id":1,"StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","Information":"sample string 4"}]}],"IsOpeningDate":false}],"IsActive":true}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.