Davinci Meeting Rooms Mobile API

<back to all web services

CancelReservationRequest

The following routes are available for this service:
POST/api/reservations/cancel
CancelReservationRequest Parameters:
NameParameterData TypeRequiredDescription
ReservationIdbodyintNo
TestModebodyboolNo
SecureRequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
AppVersionformstringNo
CancelReservationResponse Parameters:
NameParameterData TypeRequiredDescription
MessageformstringNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessmodelbooleanYes
ErrormodelResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
SummarymodelstringNo
MessagemodelstringNo
DetailsmodelstringNo
CancelReservationResponse Parameters:
NameParameterData TypeRequiredDescription
MessageformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/reservations/cancel HTTP/1.1 
Host: api.davincimeetingrooms.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ReservationId":0,"TestMode":false,"Token":"String","AppVersion":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Message":"String","Success":false,"Error":{"Summary":"String","Message":"String","Details":"String"}}