13.50.0 (2025.3.3)

Resource Scheduler REST API (RSMCP)

Overview and Processing Steps:

The Resource Scheduler REST API (RSMCP) communicates with existing installations of Resource Scheduler (RS). This allows the user to create, view, update, delete reservations and view free/busy information for RS users as well as taking advantage of the Free/Busy service to gather free/busy information from Google Calendar and Microsoft Exchange. The REST API includes a variety of generic endpoints/methods for use in integrating with RS as well as endpoints which specifically tailored for use in applications such as NowSpace. These methods are indicated by a ‘NowSpace’ prefix to the endpoint name.

The calling application will initially authenticate using the credentials for an existing RS user.

The API will validate the user via OAuth 2 where a token is created and used for subsequent calls to the REST API. The RSMCP communicates directly with the RS database and with the Free/Busy Service exclusively using Secure Sockets Layer (SSL). Information is returned to the calling application in JSON format where it is presented to the user.

The API Documentation link at the top of the page shows descriptions of all endpoints and their properties as well as sample Request and Response formatting in both JSON and XML.

Below, you will find a few REST API examples:

Login

Request (Initial authentication using RS username & password)

POST http://servername/RSMCP/token HTTP/1.1

Content-Type: application/x-www-form-urlencoded

Host: localhost:50111

Content-Length: 41

Expect: 100-continue

Connection: Keep-Alive

grant_type=password&username=myusername&password=mypassword

Response (Access Token is returned on successful login and used for subsequent calls to the API)

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Length: 402

Content-Type: application/json;charset=UTF-8

Expires: -1

Server: Microsoft-IIS/8.0

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcUGVyZm9yY2VcZGVwb3RcTW9iaWxlUkVTVEludGVyZmFjZVxtYWluXHNyY1xNb2JpbGVSRVNUSW50ZXJmYWNlXHRva2Vu?=

X-Powered-By: ASP.NET

Date: Mon, 24 Aug 2015 15:35:50 GMT

{"access_token":"i3-C-MxgUukLmT4XGqR2A39bqb54RU2hRYTQQ0-DJlGWOrZe8YdP2nMfLfHP6mWupYpVy_DBEffmpmJqxzOu392jL8hfQbOdeZsLfDG0tIBL8UwBcz-8C6yubcUdaGmzci59sevQsIeaGI1x9vm7w7-QQIt1NR42UwEHjLvRd-QI55mFQv1r6V2IclVVah6sO2KTkGNY3pYpjoVGQpcnKRD0warX3u8AqhwTWs-d8RRdLggLzFsLbb3h_BkiU3Td4S_JZ0-13N2wFxMsn_QsI8sbzIwpeV3wzZpwZtYHeQZVpkvbd7AQAKvJtNmd42mwLAXeLj6RxESeDNvr26RnaqZwggtWJZgtiSs2aavyqvU","token_type":"bearer","expires_in":28799}

Create Reservation

Request (Populate values per the example in this post)

POST http://servername/RSMCP/api/Reservation HTTP/1.1

Accept: application/json

Authorization: Bearer i3-C-MxgUukLmT4XGqR2A39bqb54RU2hRYTQQ0-DJlGWOrZe8YdP2nMfLfHP6mWupYpVy_DBEffmpmJqxzOu392jL8hfQbOdeZsLfDG0tIBL8UwBcz-8C6yubcUdaGmzci59sevQsIeaGI1x9vm7w7-QQIt1NR42UwEHjLvRd-QI55mFQv1r6V2IclVVah6sO2KTkGNY3pYpjoVGQpcnKRD0warX3u8AqhwTWs-d8RRdLggLzFsLbb3h_BkiU3Td4S_JZ0-13N2wFxMsn_QsI8sbzIwpeV3wzZpwZtYHeQZVpkvbd7AQAKvJtNmd42mwLAXeLj6RxESeDNvr26RnaqZwggtWJZgtiSs2aavyqvU

Content-Type: application/json; charset=utf-8

Host: localhost

Content-Length: 2174

Expect: 100-continue

{"ReservationId":0,"Description":"test reservation","Notes":null,"Location":null,"IsPrivate":false,"IsPending":false,"Password":null,"LastModified":"0001-01-01T00:00:00","CreatedDate":"0001-01-01T00:00:00","CreatedByUserId":74,"CreatedByUserName":null,"CreatedByUserEmail":null,"CreatedByUserDepartment":null,"CreatedByUserPhone":null,"CreatedForUserId":null,"CreatedForUserName":null,"CreatedForUserEmail":null,"CreatedForUserDepartment":null,"CreatedForUserPhone":null,"CreatedForUserAccountCode":null,"LastModifiedByUserId":0,"StartDateUtc":"2018-11-12T22:00:00","StartDateWithSetup":"2018-11-12T22:00:00","EndDateUtc":"2018-11-12T23:00:00","EndDateWithCleanup":"2018-11-12T23:00:00","EventStartDateUtc":"0001-01-01T00:00:00","EventEndDateUtc":"0001-01-01T00:00:00","Win32TimeZoneId":null,"TimeZoneCode":null,"ResourceList":[{"ResourceId":3345,"ResourceName":null,"ResourceTypeId":0,"ResourceTypeDescription":null,"ResourceTypeSupportsHoteling":false,"ResourceTypeRequiresCheckInCheckOut":false,"LocationId":0,"LocationName":null,"GroupId":0,"GroupName":null,"ResourceClassificationId":null,"Capacity":0,"UdfList":[],"ResourceSetupList":null,"Win32TimeZoneId":null,"HasRequiredUDFs":false,"Favorite":false,"SecurityLevel":0,"ReservationCount":0,"BusinessUnitId":null,"InactiveFlag":false}],"ResourceReservationDetailsList":[{"ResourceId":3345,"StartTimeLocal":"0001-01-01T00:00:00","EndTimeLocal":"0001-01-01T00:00:00","StartTimeWithSetupLocal":"0001-01-01T00:00:00","EndTimeWithCleanupLocal":"0001-01-01T00:00:00","CheckedInDateLocal":"0001-01-01T00:00:00","Win32TimeZoneId":null,"IsConflict":false,"IsPending":false,"IsDeleted":false,"SetupId":0,"ComboId":0,"IsNew":false}],"AttendeeList":[],"ExternalSystemList":[],"LocationId":0,"RecurrencePatternId":null,"IsRecurrenceException":false,"recurrenceSchedule":null,"EventId":0,"BookingSource":null,"NumberOfAttendees":0,"HasExternalVisitors":false,"MeetingType":null,"HasServiceOrders":false,"ReservationTypeId":0,"ReservationTypeDescription":null,"HotelingStatus":0,"RequiresCheckInCheckOut":false,"CheckInType":0,"CheckOutType":0,"CheckedInBy":0,"CheckedOutBy":0,"StartedEarly":false,"AutoReleased":false,"Error":null}

Sample populated Udf List:

UdfList":[{"Id":123,"Name":null,"Value":"RSMCP TEST","UdfValue":null,"UdfValue2":null,"DefaultQuery":null,"SpecialNotes":null,"InputType":0,"DisplayOrder":0,"Required":false,"AdminOnly":false,"UdfTypeId":0,"UdfTypeDescription":null,"ShowOnEvents":false,"Searchable":false,"ParentUdfId":0,"Type":0,"RequestTabId":0,"EntryId":0},{"Id":121,"Name":null,"Value":"test","UdfValue":null,"UdfValue2":null,"DefaultQuery":null,"SpecialNotes":null,"InputType":0,"DisplayOrder":0,"Required":false,"AdminOnly":false,"UdfTypeId":0,"UdfTypeDescription":null,"ShowOnEvents":false,"Searchable":false,"ParentUdfId":0,"Type":0,"RequestTabId":45,"EntryId":0},{"Id":248,"Name":null,"Value":"overide value for required udf","UdfValue":null,"UdfValue2":null,"DefaultQuery":null,"SpecialNotes":null,"InputType":0,"DisplayOrder":0,"Required":false,"AdminOnly":false,"UdfTypeId":0,"UdfTypeDescription":null,"ShowOnEvents":false,"Searchable":false,"ParentUdfId":0,"Type":0,"RequestTabId":0,"EntryId":0}]

Sample populated Attendee List:

"AttendeeList":[{"AttendeeId":0,"AttendeeTypeId":0,"AttendeeStatusId":0,"FullName":"randomname","EmailAddress":"randomname@server.com","Company":null,"Phone":null,"EntryId":0,"VisitorTypeId":0,"VisitorType":null,"ArrivalDateUtc":"0001-01-01T00:00:00","DepartureDateUtc":"0001-01-01T00:00:00","VisitorStatus":null,"Win32TimeZoneId":null

Response (Any errors will be shown in the ‘Error’ string in bold, below)

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/7.5

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Tue, 13 Nov 2018 18:02:50 GMT

Content-Length: 2676

{"ReservationId":-1999952176,"Description":"test reservation","Notes":"","Location":"Engineering; Fourth Floor; Room 401","IsPrivate":false,"IsPending":false,"Password":null,"LastModified":"2018-11-13T18:03:00","CreatedDate":"2018-11-13T18:03:00","CreatedByUserId":74,"CreatedByUserName":"a","CreatedByUserEmail":"a@a.com","CreatedByUserDepartment":"Test Department","CreatedByUserPhone":"","CreatedForUserId":null,"CreatedForUserName":"","CreatedForUserEmail":"","CreatedForUserDepartment":"","CreatedForUserPhone":"","CreatedForUserAccountCode":null,"LastModifiedByUserId":74,"StartDateUtc":"2018-11-12T22:00:00","StartDateWithSetup":"2018-11-12T22:00:00","EndDateUtc":"2018-11-12T23:00:00","EndDateWithCleanup":"2018-11-12T23:00:00","EventStartDateUtc":"0001-01-01T00:00:00","EventEndDateUtc":"0001-01-01T00:00:00","Win32TimeZoneId":"US Mountain Standard Time","TimeZoneCode":"US-AZ ","ResourceList":[{"ResourceId":3345,"ResourceName":"Room 401","ResourceTypeId":0,"ResourceTypeDescription":"Conference Room","ResourceTypeSupportsHoteling":false,"ResourceTypeRequiresCheckInCheckOut":false,"LocationId":0,"LocationName":"Engineering","GroupId":446,"GroupName":null,"ResourceClassificationId":null,"Capacity":0,"UdfList":[],"ResourceSetupList":[],"Win32TimeZoneId":null,"HasRequiredUDFs":false,"Favorite":false,"SecurityLevel":0,"ReservationCount":0,"BusinessUnitId":null,"InactiveFlag":false}],"ResourceReservationDetailsList":[{"ResourceId":3345,"StartTimeLocal":"2018-11-12T15:00:00","EndTimeLocal":"2018-11-12T16:00:00","StartTimeWithSetupLocal":"2018-11-12T15:00:00","EndTimeWithCleanupLocal":"2018-11-12T16:00:00","CheckedInDateLocal":"0001-01-01T00:00:00","Win32TimeZoneId":"US Mountain Standard Time","IsConflict":false,"IsPending":false,"IsDeleted":false,"SetupId":0,"ComboId":0,"IsNew":false}],"AttendeeList":[{"AttendeeId":74,"AttendeeTypeId":0,"AttendeeStatusId":2,"FullName":"a","EmailAddress":"a@a.com","Company":"Test","Phone":"","EntryId":0,"VisitorTypeId":0,"VisitorType":null,"ArrivalDateUtc":"0001-01-01T00:00:00","DepartureDateUtc":"0001-01-01T00:00:00","VisitorStatus":"Expected","Win32TimeZoneId":"US Mountain Standard Time"}],"ExternalSystemList":[],"LocationId":0,"RecurrencePatternId":null,"IsRecurrenceException":false,"recurrenceSchedule":null,"EventId":0,"BookingSource":"Unknown","NumberOfAttendees":1,"HasExternalVisitors":false,"MeetingType":null,"HasServiceOrders":false,"ReservationTypeId":0,"ReservationTypeDescription":"Grey","HotelingStatus":0,"RequiresCheckInCheckOut":false,"CheckInType":0,"CheckOutType":0,"CheckedInBy":0,"CheckedOutBy":0,"StartedEarly":false,"AutoReleased":false,"Error":null}

Get Reservation

Request

GET http://servername/RSMCP/api/reservation?reservationId=-1999952176 HTTP/1.1

Accept: application/json

Authorization: Bearer i3-C-MxgUukLmT4XGqR2A39bqb54RU2hRYTQQ0-DJlGWOrZe8YdP2nMfLfHP6mWupYpVy_DBEffmpmJqxzOu392jL8hfQbOdeZsLfDG0tIBL8UwBcz-8C6yubcUdaGmzci59sevQsIeaGI1x9vm7w7-QQIt1NR42UwEHjLvRd-QI55mFQv1r6V2IclVVah6sO2KTkGNY3pYpjoVGQpcnKRD0warX3u8AqhwTWs-d8RRdLggLzFsLbb3h_BkiU3Td4S_JZ0-13N2wFxMsn_QsI8sbzIwpeV3wzZpwZtYHeQZVpkvbd7AQAKvJtNmd42mwLAXeLj6RxESeDNvr26RnaqZwggtWJZgtiSs2aavyqvU

Host: localhost

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/7.5

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Tue, 13 Nov 2018 18:02:50 GMT

Content-Length: 2676

{"ReservationId":-1999952176,"Description":"test reservation","Notes":"","Location":"Engineering; Fourth Floor; Room 401","IsPrivate":false,"IsPending":false,"Password":null,"LastModified":"2018-11-13T18:03:00","CreatedDate":"2018-11-13T18:03:00","CreatedByUserId":74,"CreatedByUserName":"a","CreatedByUserEmail":"a@a.com","CreatedByUserDepartment":"Test","CreatedByUserPhone":"","CreatedForUserId":null,"CreatedForUserName":"","CreatedForUserEmail":"","CreatedForUserDepartment":"","CreatedForUserPhone":"","CreatedForUserAccountCode":null,"LastModifiedByUserId":74,"StartDateUtc":"2018-11-12T22:00:00","StartDateWithSetup":"2018-11-12T22:00:00","EndDateUtc":"2018-11-12T23:00:00","EndDateWithCleanup":"2018-11-12T23:00:00","EventStartDateUtc":"0001-01-01T00:00:00","EventEndDateUtc":"0001-01-01T00:00:00","Win32TimeZoneId":"US Mountain Standard Time","TimeZoneCode":"US-AZ ","ResourceList":[{"ResourceId":3345,"ResourceName":"Room 401","ResourceTypeId":0,"ResourceTypeDescription":"Conference Room","ResourceTypeSupportsHoteling":false,"ResourceTypeRequiresCheckInCheckOut":false,"LocationId":0,"LocationName":"Engineering","GroupId":446,"GroupName":null,"ResourceClassificationId":null,"Capacity":0,"UdfList":[],"ResourceSetupList":[],"Win32TimeZoneId":null,"HasRequiredUDFs":false,"Favorite":false,"SecurityLevel":0,"ReservationCount":0,"BusinessUnitId":null,"InactiveFlag":false}],"ResourceReservationDetailsList":[{"ResourceId":3345,"StartTimeLocal":"2018-11-12T15:00:00","EndTimeLocal":"2018-11-12T16:00:00","StartTimeWithSetupLocal":"2018-11-12T15:00:00","EndTimeWithCleanupLocal":"2018-11-12T16:00:00","CheckedInDateLocal":"0001-01-01T00:00:00","Win32TimeZoneId":"US Mountain Standard Time","IsConflict":false,"IsPending":false,"IsDeleted":false,"SetupId":0,"ComboId":0,"IsNew":false}],"AttendeeList":[{"AttendeeId":74,"AttendeeTypeId":0,"AttendeeStatusId":2,"FullName":"a","EmailAddress":"a@a.com","Company":"Test","Phone":"","EntryId":0,"VisitorTypeId":0,"VisitorType":null,"ArrivalDateUtc":"0001-01-01T00:00:00","DepartureDateUtc":"0001-01-01T00:00:00","VisitorStatus":"Expected","Win32TimeZoneId":"US Mountain Standard Time"}],"ExternalSystemList":[],"LocationId":0,"RecurrencePatternId":null,"IsRecurrenceException":false,"recurrenceSchedule":null,"EventId":0,"BookingSource":"Unknown","NumberOfAttendees":1,"HasExternalVisitors":false,"MeetingType":null,"HasServiceOrders":false,"ReservationTypeId":0,"ReservationTypeDescription":"Grey","HotelingStatus":0,"RequiresCheckInCheckOut":false,"CheckInType":0,"CheckOutType":0,"CheckedInBy":0,"CheckedOutBy":0,"StartedEarly":false,"AutoReleased":false,"Error":null}

Update Reservation

Request (Updated values in bold)

PUT http://servername/RSMCP/api/reservation HTTP/1.1

Accept: application/json

Authorization: Bearer i3-C-MxgUukLmT4XGqR2A39bqb54RU2hRYTQQ0-DJlGWOrZe8YdP2nMfLfHP6mWupYpVy_DBEffmpmJqxzOu392jL8hfQbOdeZsLfDG0tIBL8UwBcz-8C6yubcUdaGmzci59sevQsIeaGI1x9vm7w7-QQIt1NR42UwEHjLvRd-QI55mFQv1r6V2IclVVah6sO2KTkGNY3pYpjoVGQpcnKRD0warX3u8AqhwTWs-d8RRdLggLzFsLbb3h_BkiU3Td4S_JZ0-13N2wFxMsn_QsI8sbzIwpeV3wzZpwZtYHeQZVpkvbd7AQAKvJtNmd42mwLAXeLj6RxESeDNvr26RnaqZwggtWJZgtiSs2aavyqvU

Content-Type: application/json; charset=utf-8

Host: localhost

Content-Length: 2650

Expect: 100-continue

{"ReservationId":-1999952176,"Description":"updated test reservation","Notes":"","Location":"Engineering; Fourth Floor; Room 401","IsPrivate":false,"IsPending":false,"Password":"","LastModified":"2018-11-13T18:03:00","CreatedDate":"0001-01-01T00:00:00","CreatedByUserId":74,"CreatedByUserName":null,"CreatedByUserEmail":null,"CreatedByUserDepartment":null,"CreatedByUserPhone":null,"CreatedForUserId":null,"CreatedForUserName":"","CreatedForUserEmail":"","CreatedForUserDepartment":"","CreatedForUserPhone":"","CreatedForUserAccountCode":"","LastModifiedByUserId":0,"StartDateUtc":"2018-11-12T21:00:00","StartDateWithSetup":"2018-11-12T21:00:00","EndDateUtc":"2018-11-12T23:00:00","EndDateWithCleanup":"2018-11-12T23:00:00","EventStartDateUtc":"0001-01-01T00:00:00","EventEndDateUtc":"0001-01-01T00:00:00","Win32TimeZoneId":"US Mountain Standard Time","TimeZoneCode":null,"ResourceList":[{"ResourceId":3345,"ResourceName":"Room 401","ResourceTypeId":1,"ResourceTypeDescription":"Conference Room","ResourceTypeSupportsHoteling":false,"ResourceTypeRequiresCheckInCheckOut":false,"LocationId":42,"LocationName":"Engineering","GroupId":446,"GroupName":"Fourth Floor","ResourceClassificationId":"31ca41a6-5d72-4612-8118-3e15c028ca69","Capacity":0,"UdfList":[],"ResourceSetupList":[],"Win32TimeZoneId":"US Mountain Standard Time","HasRequiredUDFs":false,"Favorite":false,"SecurityLevel":2,"ReservationCount":0,"BusinessUnitId":null,"InactiveFlag":false}],"ResourceReservationDetailsList":[{"ResourceId":3345,"StartTimeLocal":"2018-11-12T15:00:00","EndTimeLocal":"2018-11-12T16:00:00","StartTimeWithSetupLocal":"2018-11-12T15:00:00","EndTimeWithCleanupLocal":"2018-11-12T16:00:00","CheckedInDateLocal":"0001-01-01T00:00:00","Win32TimeZoneId":null,"IsConflict":false,"IsPending":false,"IsDeleted":false,"SetupId":0,"ComboId":0,"IsNew":false}],"AttendeeList":[{"AttendeeId":74,"AttendeeTypeId":0,"AttendeeStatusId":2,"FullName":"a","EmailAddress":"a@a.com","Company":null,"Phone":null,"EntryId":0,"VisitorTypeId":0,"VisitorType":null,"ArrivalDateUtc":"0001-01-01T00:00:00","DepartureDateUtc":"0001-01-01T00:00:00","VisitorStatus":null,"Win32TimeZoneId":"US Mountain Standard Time"}],"ExternalSystemList":[],"LocationId":42,"RecurrencePatternId":null,"IsRecurrenceException":false,"recurrenceSchedule":null,"EventId":0,"BookingSource":"","NumberOfAttendees":1,"HasExternalVisitors":false,"MeetingType":null,"HasServiceOrders":false,"ReservationTypeId":0,"ReservationTypeDescription":null,"HotelingStatus":0,"RequiresCheckInCheckOut":false,"CheckInType":0,"CheckOutType":0,"CheckedInBy":0,"CheckedOutBy":0,"StartedEarly":false,"AutoReleased":false,"Error":null}

Response (Any errors will be shown in the ‘Error’ string in bold, below)

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Location: http://localhost/RSMCP/api/reservation/-1999952176

Server: Microsoft-IIS/7.5

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Tue, 13 Nov 2018 18:02:50 GMT

Content-Length: 2651

{"ReservationId":-1999952176,"Description":"updated test reservation","Notes":"","Location":"Engineering; Fourth Floor; Room 401","IsPrivate":false,"IsPending":false,"Password":"","LastModified":"2018-11-13T18:03:00","CreatedDate":"0001-01-01T00:00:00","CreatedByUserId":74,"CreatedByUserName":null,"CreatedByUserEmail":null,"CreatedByUserDepartment":null,"CreatedByUserPhone":null,"CreatedForUserId":null,"CreatedForUserName":"","CreatedForUserEmail":"","CreatedForUserDepartment":"","CreatedForUserPhone":"","CreatedForUserAccountCode":"","LastModifiedByUserId":74,"StartDateUtc":"2018-11-12T21:00:00","StartDateWithSetup":"2018-11-12T21:00:00","EndDateUtc":"2018-11-12T23:00:00","EndDateWithCleanup":"2018-11-12T23:00:00","EventStartDateUtc":"0001-01-01T00:00:00","EventEndDateUtc":"0001-01-01T00:00:00","Win32TimeZoneId":"US Mountain Standard Time","TimeZoneCode":null,"ResourceList":[{"ResourceId":3345,"ResourceName":"Room 401","ResourceTypeId":1,"ResourceTypeDescription":"Conference Room","ResourceTypeSupportsHoteling":false,"ResourceTypeRequiresCheckInCheckOut":false,"LocationId":42,"LocationName":"Engineering","GroupId":446,"GroupName":"Fourth Floor","ResourceClassificationId":"31ca41a6-5d72-4612-8118-3e15c028ca69","Capacity":0,"UdfList":[],"ResourceSetupList":[],"Win32TimeZoneId":"US Mountain Standard Time","HasRequiredUDFs":false,"Favorite":false,"SecurityLevel":2,"ReservationCount":1,"BusinessUnitId":null,"InactiveFlag":false}],"ResourceReservationDetailsList":[{"ResourceId":3345,"StartTimeLocal":"2018-11-12T14:00:00","EndTimeLocal":"2018-11-12T16:00:00","StartTimeWithSetupLocal":"2018-11-12T14:00:00","EndTimeWithCleanupLocal":"2018-11-12T16:00:00","CheckedInDateLocal":"0001-01-01T00:00:00","Win32TimeZoneId":null,"IsConflict":false,"IsPending":false,"IsDeleted":false,"SetupId":0,"ComboId":0,"IsNew":false}],"AttendeeList":[{"AttendeeId":74,"AttendeeTypeId":0,"AttendeeStatusId":2,"FullName":"a","EmailAddress":"a@a.com","Company":null,"Phone":null,"EntryId":0,"VisitorTypeId":0,"VisitorType":null,"ArrivalDateUtc":"0001-01-01T00:00:00","DepartureDateUtc":"0001-01-01T00:00:00","VisitorStatus":null,"Win32TimeZoneId":"US Mountain Standard Time"}],"ExternalSystemList":[],"LocationId":42,"RecurrencePatternId":null,"IsRecurrenceException":false,"recurrenceSchedule":null,"EventId":0,"BookingSource":"","NumberOfAttendees":1,"HasExternalVisitors":false,"MeetingType":null,"HasServiceOrders":false,"ReservationTypeId":0,"ReservationTypeDescription":null,"HotelingStatus":0,"RequiresCheckInCheckOut":false,"CheckInType":0,"CheckOutType":0,"CheckedInBy":0,"CheckedOutBy":0,"StartedEarly":false,"AutoReleased":false,"Error":null}

Delete Reservation

Request

DELETE http://servername/RSMCP/api/reservation?reservationId=-1999952176 HTTP/1.1

Accept: application/json

Authorization: Bearer i3-C-MxgUukLmT4XGqR2A39bqb54RU2hRYTQQ0-DJlGWOrZe8YdP2nMfLfHP6mWupYpVy_DBEffmpmJqxzOu392jL8hfQbOdeZsLfDG0tIBL8UwBcz-8C6yubcUdaGmzci59sevQsIeaGI1x9vm7w7-QQIt1NR42UwEHjLvRd-QI55mFQv1r6V2IclVVah6sO2KTkGNY3pYpjoVGQpcnKRD0warX3u8AqhwTWs-d8RRdLggLzFsLbb3h_BkiU3Td4S_JZ0-13N2wFxMsn_QsI8sbzIwpeV3wzZpwZtYHeQZVpkvbd7AQAKvJtNmd42mwLAXeLj6RxESeDNvr26RnaqZwggtWJZgtiSs2aavyqvU

Host: localhost

Content-Length: 0

Response (A Boolean value is returned to indicate success/failure)

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Location: http://localhost/RSMCP/api/reservation/-1999952176

Server: Microsoft-IIS/7.5

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Tue, 13 Nov 2018 18:02:50 GMT

Content-Length: 4

true

Get Reservation List By Resource

Request

GET http://servername/RSMCP/api/Reservation/GetReservationListByResource?startDateUtc=2018-11-12 00:00&endDateUtc=2018-11-13 00:00&resourceId=238 HTTP/1.1

Authorization: Bearer jOKewm6Thi9pPpMvPym3_6asZE4_TfaJMb23NggQoqoxj2IbOyOgNXOY-7gCa987bDLj5Jpqvo0HCC7bSYn4FuEyZAyEDgx-1gAcDdJMgRv2E0wTuex_pXGRQ8wzIRQIDDhhjNKJJY3IobQgJHwT9zqQ3wXDCtZQVlEt3E-Z8FLvPW_JwzvKyeOLbdOKAqIy78MxCUVLkNkHwaoZ-F-A1Yj2fyyK-WVoQTiNYgzHj6zUZyETqESt7APwZr1gIzVkkocN9icGEvnxNtjaVL4z6ASozD8reU1N2NaKeOzsvPOx9GJ48KKokOnEvOD4mCgVc1iGJYOMU9Jha_BbMIQ_YkzEnRzCgizsRZMDAk2Fi_o

Host: localhost:51413

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/10.0

X-AspNet-Version: 4.0.30319

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcVEZTXEFzdXJlXENvbXBvbmVudHNccnNNQ1BcdHJ1bmtcc3JjXFJTTUNQXFJTTUNQLlJFU1RBcGlcYXBpXFJlc2VydmF0aW9u?=

X-Powered-By: ASP.NET

Date: Thu, 15 Nov 2018 15:58:29 GMT

Content-Length: 20030

[{"ReservationId":-1999952173,"Description":"a", … (reservation list trimmed for clarity) … }]

Resource

Request

GET http://servername/RSMCP/api/Resource?resourceId=3345 HTTP/1.1

Authorization: Bearer jFEcLuWJTqPUuxudFMjqkOnbSrVJhJ1k9gRhj_Hxnp8NicbOKIZ8Gkm45xlysVZDXjVdFnEzmdoMOFI-yf_8HpYLYrYzumQeKDtjLi-fg1JQNHc4eguvid9R8w31y4keHI9ND6ixxbsYm2RlWX5ep_3-TASs5jU87xpL9bMATZxnycpU23jt96m2ZR2KUksXXgpwm8zJkD9qQci1Y57bA9fYJ-445CEpbwPR_AQqQLzji4_BN0mIMvwxy_J63vqzsIxRLq1qyiWfYhm3jkp84exkCVxhUculjksKxjtm3tCmodBF6RtAtMfav12ujXbeJmOJE42L9JlTzm2zpP6rGygY6-MnuaK3QjzXW37xyqsAXqf4QtmtHmJsIDUDj5Sq

Host: localhost:51413

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/10.0

X-AspNet-Version: 4.0.30319

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcVEZTXEFzdXJlXENvbXBvbmVudHNccnNNQ1BcdHJ1bmtcc3JjXFJTTUNQXFJTTUNQLlJFU1RBcGlcYXBpXFJlc291cmNl?=

X-Powered-By: ASP.NET

Date: Wed, 14 Nov 2018 19:40:47 GMT

Content-Length: 559

{"ResourceId":3345,"ResourceName":"Room 401","ResourceTypeId":1,"ResourceTypeDescription":"Conference Room","ResourceTypeSupportsHoteling":false,"ResourceTypeRequiresCheckInCheckOut":false,"LocationId":42,"LocationName":"Engineering","GroupId":446,"GroupName":"Fourth Floor","ResourceClassificationId":"31ca41a6-5d72-4612-8118-3e15c028ca69","Capacity":0,"UdfList":[],"ResourceSetupList":[],"Win32TimeZoneId":"US Mountain Standard Time","HasRequiredUDFs":false,"Favorite":false,"SecurityLevel":2,"ReservationCount":1,"BusinessUnitId":null,"InactiveFlag":false}

User

Request

GET http://servername/RSMCP/api/User?userId=74 HTTP/1.1

Authorization: Bearer jFEcLuWJTqPUuxudFMjqkOnbSrVJhJ1k9gRhj_Hxnp8NicbOKIZ8Gkm45xlysVZDXjVdFnEzmdoMOFI-yf_8HpYLYrYzumQeKDtjLi-fg1JQNHc4eguvid9R8w31y4keHI9ND6ixxbsYm2RlWX5ep_3-TASs5jU87xpL9bMATZxnycpU23jt96m2ZR2KUksXXgpwm8zJkD9qQci1Y57bA9fYJ-445CEpbwPR_AQqQLzji4_BN0mIMvwxy_J63vqzsIxRLq1qyiWfYhm3jkp84exkCVxhUculjksKxjtm3tCmodBF6RtAtMfav12ujXbeJmOJE42L9JlTzm2zpP6rGygY6-MnuaK3QjzXW37xyqsAXqf4QtmtHmJsIDUDj5Sq

Host: localhost:51413

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/10.0

X-AspNet-Version: 4.0.30319

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcVEZTXEFzdXJlXENvbXBvbmVudHNccnNNQ1BcdHJ1bmtcc3JjXFJTTUNQXFJTTUNQLlJFU1RBcGlcYXBpXFVzZXI=?=

X-Powered-By: ASP.NET

Date: Wed, 14 Nov 2018 19:28:17 GMT

Content-Length: 1302

{"UserId":74,"UserEmail":"a@a.com","UserName":"a","LanguageId":1,"CountryCode":"us","UserPassword":null,"UserPreferences":"","ObsoleteFlag":false,"AllowAssignmentFlag":true,"SecurityFlags":"0010 ","UserPhone":"","UserPhoneExtension":"","UserDepartment":"DR Test User - Do not modify","UserAccountCode":"7654321","ReceiveRemindersFlag":true,"PersonalNotifyFlag":true,"PopTypeFlag":false,"ShowAssignmentFlag":true,"DefaultTopic":"GRP","DefaultView":"WEEK","DefaultGroup":88,"DefaultLocationId":42,"DefaultLocationName":null,"UseCookieFlag":true,"RefreshSeconds":0,"LimitReservationView":0,"UserNTLM":"a","UserLDAP":"a","UseLogonFlag":true,"ReportFlag":true,"TimeFenceFlag":true,"ClockType":"12Hour","LastModifiedDate":"2018-10-19T16:18:00","LastModifiedBy":0,"DefaultTree":5,"SelfNotifyFlag":false,"EventsUserFlag":true,"AllowRSFlag":true,"AllowRSOEFlag":true,"UseDefaultLocationTimeZone":false,"TimeFenceHotelingFlag":true,"LastLoginDate":"2018-11-14T19:28:00","LastReminderFlag":false,"LastRecurringRemind":0,"TotalLastRecurringRemind":1,"InternalAdminNotes":"test","DisplayPanel1":3,"DisplayPanel2":1,"DomainId":8,"TimeZoneCode":null,"Win32TimeZoneKey":null,"UserAccessPIN":null,"BusinessUnitId":"2be754db-5505-4a3e-a669-57f92c852e63","Error":null,"IsAuthenticated":false}

Identity

Request

GET http://servername/RSMCP/api/identity HTTP/1.1

Authorization: Bearer jFEcLuWJTqPUuxudFMjqkOnbSrVJhJ1k9gRhj_Hxnp8NicbOKIZ8Gkm45xlysVZDXjVdFnEzmdoMOFI-yf_8HpYLYrYzumQeKDtjLi-fg1JQNHc4eguvid9R8w31y4keHI9ND6ixxbsYm2RlWX5ep_3-TASs5jU87xpL9bMATZxnycpU23jt96m2ZR2KUksXXgpwm8zJkD9qQci1Y57bA9fYJ-445CEpbwPR_AQqQLzji4_BN0mIMvwxy_J63vqzsIxRLq1qyiWfYhm3jkp84exkCVxhUculjksKxjtm3tCmodBF6RtAtMfav12ujXbeJmOJE42L9JlTzm2zpP6rGygY6-MnuaK3QjzXW37xyqsAXqf4QtmtHmJsIDUDj5Sq

Host: localhost:51413

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/10.0

X-AspNet-Version: 4.0.30319

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcVEZTXEFzdXJlXENvbXBvbmVudHNccnNNQ1BcdHJ1bmtcc3JjXFJTTUNQXFJTTUNQLlJFU1RBcGlcYXBpXGlkZW50aXR5?=

X-Powered-By: ASP.NET

Date: Wed, 14 Nov 2018 19:28:17 GMT

Content-Length: 299

{"Id":74,"Name":"a","Email":"a@a.com","DefaultLocationId":42,"DefaultLocationName":"Development Test Loc","DefaultResourceClassificationId":"31ca41a6-5d72-4612-8118-3e15c028ca69","DefaultResourceClassificationName":"Conference_rooms","ParentProduct":"RS","Version":"12.50","LanguageId":1,"Error":""}

Strings

Request

GET http://servername/RSMCP/api/Strings?languageId=1&stringIds=3261,3262,3263,3264 HTTP/1.1

HTTP/1.1

Authorization: Bearer jFEcLuWJTqPUuxudFMjqkOnbSrVJhJ1k9gRhj_Hxnp8NicbOKIZ8Gkm45xlysVZDXjVdFnEzmdoMOFI-yf_8HpYLYrYzumQeKDtjLi-fg1JQNHc4eguvid9R8w31y4keHI9ND6ixxbsYm2RlWX5ep_3-TASs5jU87xpL9bMATZxnycpU23jt96m2ZR2KUksXXgpwm8zJkD9qQci1Y57bA9fYJ-445CEpbwPR_AQqQLzji4_BN0mIMvwxy_J63vqzsIxRLq1qyiWfYhm3jkp84exkCVxhUculjksKxjtm3tCmodBF6RtAtMfav12ujXbeJmOJE42L9JlTzm2zpP6rGygY6-MnuaK3QjzXW37xyqsAXqf4QtmtHmJsIDUDj5Sq

Host: localhost:51413

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/10.0

X-AspNet-Version: 4.0.30319

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcVEZTXEFzdXJlXENvbXBvbmVudHNccnNNQ1BcdHJ1bmtcc3JjXFJTTUNQXFJTTUNQLlJFU1RBcGlcYXBpXFN0cmluZ3M=?=

X-Powered-By: ASP.NET

Date: Wed, 14 Nov 2018 19:28:17 GMT

Content-Length: 412

[{"StringId":3261,"StringText":"You must enter a name to save the favorite under."},{"StringId":3262,"StringText":"Service Admin"},{"StringId":3263,"StringText":"Order Processing"},{"StringId":3264,"StringText":"This report will generate a detailed service order report for every order at the location(s) specified with a delivery/pickup time within the selected date range. The report is ordered by order id."}]

UserProxy

Request

GET http://servername/RSMCP/api/UserProxy?proxyUserId=74 HTTP/1.1

Authorization: Bearer jFEcLuWJTqPUuxudFMjqkOnbSrVJhJ1k9gRhj_Hxnp8NicbOKIZ8Gkm45xlysVZDXjVdFnEzmdoMOFI-yf_8HpYLYrYzumQeKDtjLi-fg1JQNHc4eguvid9R8w31y4keHI9ND6ixxbsYm2RlWX5ep_3-TASs5jU87xpL9bMATZxnycpU23jt96m2ZR2KUksXXgpwm8zJkD9qQci1Y57bA9fYJ-445CEpbwPR_AQqQLzji4_BN0mIMvwxy_J63vqzsIxRLq1qyiWfYhm3jkp84exkCVxhUculjksKxjtm3tCmodBF6RtAtMfav12ujXbeJmOJE42L9JlTzm2zpP6rGygY6-MnuaK3QjzXW37xyqsAXqf4QtmtHmJsIDUDj5Sq

Host: localhost:51413

Response

HTTP/1.1 200 OK

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; charset=utf-8

Expires: -1

Server: Microsoft-IIS/10.0

X-AspNet-Version: 4.0.30319

X-SourceFiles: =?UTF-8?B?QzpcUHJvamVjdHNcVEZTXEFzdXJlXENvbXBvbmVudHNccnNNQ1BcdHJ1bmtcc3JjXFJTTUNQXFJTTUNQLlJFU1RBcGlcYXBpXFVzZXJQcm94eQ==?=

X-Powered-By: ASP.NET

Date: Wed, 14 Nov 2018 19:28:17 GMT

Content-Length: 273

[{"UserId":68,"UserName":"Joe Smith","UserEmail":"jsmith@company.com","ProxyUserId":74,"ProxyUserName":"a","ProxyUserEmail":"a@a.com"},{"UserId":40509,"UserName":"Alex Jones","UserEmail":"ajones@email.com","ProxyUserId":74,"ProxyUserName":"a","ProxyUserEmail":"a@a.com"}]