Davinci Meeting Rooms Mobile API

<back to all web services

GetReservationCostRequest

The following routes are available for this service:
POST/api/reservations/cost
GetReservationCostRequest Parameters:
NameParameterData TypeRequiredDescription
MeetingRoomIdbodyintNo
StartDatebodyDateTimeNo
EndDatebodyDateTimeNo
ServiceOptionsbodyIList<ServiceOption>No
SecureRequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
AppVersionformstringNo
GetReservationCostResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformdecimalNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessmodelbooleanYes
ErrormodelResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
SummarymodelstringNo
MessagemodelstringNo
DetailsmodelstringNo
ServiceOption Parameters:
NameParameterData TypeRequiredDescription
ServiceIdformintNo
ServiceNameformstringNo
SelectedformboolNo
NeedsDurationformboolNo
NeedsQuantityformboolNo
DurationHoursformdecimalNo
QuantityformintNo
GetReservationCostResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformdecimalNo

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

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

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