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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
Content-Length: length

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