The GetAllBookings public API was added in v2022.2 - April 2022
You will need an AuthToken to use this API.
Check out our Login API to get a valid AuthToken. POST /Login
Using the API
Request Type
POST
Request URL
https://<rx-server>/api/public/report/getallbookings
Headers (required)
{ "X-Requested-With": "com.resourcexpress.report", "Authorization": "<your-authToken>" }
Check out our Login API to get a valid AuthToken. POST /Login
Body (required)
{ "Startdate": "2022-03-01 00:00:00", "Enddate": "2022-03-31 23:59:00" }
Available request parameters
Key | Type | Explanation |
---|---|---|
Startdate | datetime string | The start of the search time range. |
Enddate | datetime string | The end of the search time range. |
ResourceId | Integer | Limit the results to a single resource profile. Enter the ID number for the resource profile. Set the value to 0 (zero) when not required. |
Country | String | Limit the results to a chosen Country. Enter the Country name as a string. |
City | String | Limit the results to a chosen City. Enter the City name as a string. |
Site | String | Limit the results to a chosen Site. Enter the Site name as a string. |
Building | String | Limit the results to a chosen Building. Enter the Building name as a string. |
Floor | String | Limit the results to a chosen Floor. Enter the Floor name as a string. |
Zone | String | Limit the results to a chosen Zone. Enter the Zone name as a string. |
BookingSystem | String | Limit the results to a chosen Booking System.
|
SpaceType | String | Limit the results to a chosen Space type. Enter the Space type name as a string. |
TimeZone | String | Limit the results to a chosen time zone. To find the available options see the Resource Time Zone dropdown from the All Bookings report page in the admin dashboard. |
Example Response
{ "ErrCode": "0", "ErrDesc": "", "BookingList": [ { "BookingId": 000001, "ParentBookingId": null, "MeetingId": null, "StartTimePlanned": "0001-01-01T00:00:00", "EndTimePlanned": "0001-01-01T00:00:00", "ResourceName": "Conference Room", "BookingSystemName": "conference.room", "Subject": "Top Secret Military Contract", "Alldaybooking": null, "StartTime": "2022-01-06T09:00:00", "EndTime": "2022-01-06T11:00:00", "BookingStartTime": null, "StartTimeString": "06-01-2022 09:00:00", "EndTimeString": "06-01-2022 11:00:00", "Alert": "", "Description": null, "ResourceId": 1, "Members": null, "OtherMembers": null, "DurationId": null, "DurationMinutes": 0, "ShowasId": null, "ReminderId": null, "RepeatId": null, "Attendees": null, "BookingAttendees": "", "BookingAttendeesEmailList": "", "UnplannedBookingAttendees": "", "UnplannedBookingAttendeesEmailList": "", "Resourcelist": null, "Equipment": null, "Address": null, "Occupancy": "10", "Userslist": null, "EditOcurrence": null, "EditSeries": null, "Recurringbooking": null, "Obsolete": null, "CheckedInBy": null, "StartTimeOriginal": "2022-01-06T09:00:00", "EndTimeOriginal": "2022-01-06T11:00:00", "StartTimeOriginalString": "06-01-2022 09:00:00", "EndTimeOriginalString": "06-01-2022 11:00:00", "IsConfirmed": 2, "IsEnded": 0, "IsNoShow": false, "IsInstant": false, "MaxOccupancy": null, "ActualOccupancy": null, "PlannedOccupancy": null, "PercentageOfActualOccupancy": null, "PercentageOfPlannedOccupancy": null, "Organizer": "Bruce Wayne", "OrganizerEmail": "Bruce Wayne<bruce.wayne@wayneenterprise.com>", "OrganiserId": 0, "Country": "United States", "City": "Gotham", "Site": null, "Building": "Wayne Enterprise", "Floor": "40th Floor", "Zone": "Management", "Location": "United States | Gotham | Wayne Enterprise | 40th Floor | Management", "TimeZoneId": null, "EventStatus": null, "WorkSpaceTypeId": 0, "ErrorClearedTime": null, "TotalDownTime": null, "Attendeeslist": null, "IsPrivate": null, "IsAllDay": false, "IsAM": null, "IsPM": null, "IsEOD": null, "IsWorkingDay": null, "IsStarted": false, "IsReadOnly": false, "HasPermission": false, "IsRecurringEnabled": false, "MultiDay": 0, "BookingEndTime": null, "CheckedInFrom": "Mobile", "CheckedOutFrom": "", "ExtendedFrom": "", "BookedFrom": "Room Screen", "StartTimeWithSetup": null, "EndTimeWithSetup": null, "StartTimeWithSetupString": null, "EndTimeWithSetupString": null, "StartTimePlannedString": null, "EndTimePlannedString": null, "SetupMinutes": 0, "CleardownMinutes": 0, "HasConflict": false, "BookingSystem": "Local", "CheckedOutBy": "", "ExtendedBy": "", "AutoCancellation": true } ], "CancelledBookingList": null }