Davinci Meeting Rooms Mobile API

<back to all web services

CheckoutRequest

The following routes are available for this service:
POST/api/reservations/checkout
CheckoutRequest Parameters:
NameParameterData TypeRequiredDescription
ReservationIdbodyintNo
UseSavedPaymentInfobodyboolNo
PaymentInfobodyAccountPaymentInfoNo
SavePaymentInfobodyboolNo
TestModebodyboolNo
PartnerCodebodystringNo
SecureRequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
AppVersionformstringNo
CheckoutResponse Parameters:
NameParameterData TypeRequiredDescription
ConfirmationMessageformstringNo
IsLiveformboolNo
StatusformReservationStatusesNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessmodelbooleanYes
ErrormodelResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
SummarymodelstringNo
MessagemodelstringNo
DetailsmodelstringNo
AccountPaymentInfo Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
CompanyNameformstringNo
CreditCardNumberformstringNo
SecurityCodeformstringNo
ExpirationDateformDateTimeNo
BillingAddressformAddressInfoNo
AddressInfo Parameters:
NameParameterData TypeRequiredDescription
Street1formstringNo
Street2formstringNo
Street3formstringNo
CityformstringNo
StateformstringNo
PostalCodeformstringNo
CountryformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
TimeZoneIdformstringNo
HasStreet2formboolNo
CityStatePostalCodeformstringNo
CheckoutResponse Parameters:
NameParameterData TypeRequiredDescription
ConfirmationMessageformstringNo
IsLiveformboolNo
StatusformReservationStatusesNo

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/checkout HTTP/1.1 
Host: api.davincimeetingrooms.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ReservationId: 0,
	UseSavedPaymentInfo: False,
	PaymentInfo: 
	{
		FirstName: String,
		LastName: String,
		CompanyName: String,
		CreditCardNumber: String,
		SecurityCode: String,
		BillingAddress: 
		{
			Street1: String,
			Street2: String,
			Street3: String,
			City: String,
			State: String,
			PostalCode: String,
			Country: String,
			Latitude: 0,
			Longitude: 0,
			TimeZoneId: String,
			HasStreet2: True,
			CityStatePostalCode: "String, String String"
		}
	},
	SavePaymentInfo: False,
	TestMode: False,
	PartnerCode: String,
	Token: String,
	AppVersion: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ConfirmationMessage: String,
	IsLive: False,
	Status: New,
	Success: False,
	Error: 
	{
		Summary: String,
		Message: String,
		Details: String
	}
}