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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	Message: String,
	Success: False,
	Error: 
	{
		Summary: String,
		Message: String,
		Details: String
	}
}