-
Notifications
You must be signed in to change notification settings - Fork 0
API's page
clasky edited this page Mar 31, 2015
·
16 revisions
- DESCRIPTION: Gets all tours for the current users company.
- URL: "api/tours"
- TYPE: "GET"
- RESPONSE: [ { "id": 121, "ownerId": 1, "startDate": "2015-05-21", "startTime": "14:30:00", "tourTypeId": 3, "statusId": 1, "resources": [], "tourGroups": [] }, { "id": 123, "ownerId": 1, "startDate": "2015-05-21", "startTime": "13:30:00", "tourTypeId": 3, "statusId": 1, "resources": [ { "id": 6, "name": "Private Dining Room #4", "startTime": "14:30:00", "startDate": "2015-05-21", "capacity": 24, "ownerId": 1, "tourId": 123, "duration": 90, "statusId": 1 } ], "tourGroups": [ { "id": 1174, "portageId": 282, "tourId": 123, "groupSize": 12, "settled": false } ] } ]
- DESCRIPTION: Gets all resources owned by the current user and all resources used by current user's tours on the given date.
- URL: "/resources/{date}"
- TYPE: "get"
- RESPONSE: {}