Davinci Meeting Rooms Mobile API

<back to all web services

GetReservationAllowancesRequest

The following routes are available for this service:
POST/api/reservations/get-allowances
GetReservationAllowancesRequest Parameters:
NameParameterData TypeRequiredDescription
ReservationIdbodyintNo
SecureRequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
AppVersionformstringNo
GetReservationAllowancesResponse Parameters:
NameParameterData TypeRequiredDescription
AllowancesformIList<AllowanceUsageInfo>No
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessmodelbooleanYes
ErrormodelResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
SummarymodelstringNo
MessagemodelstringNo
DetailsmodelstringNo
AllowanceUsageInfo Parameters:
NameParameterData TypeRequiredDescription
ReservationformReservationInfoNo
AllowanceformAllowanceInfoNo
NumberOfHoursformintNo
DiscountAppliedformdecimalNo
InUseformboolNo
ReservationInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
StartformDateTimeNo
EndformDateTimeNo
CenterformCenterInfoFullNo
MeetingRoomformMeetingRoomInfoNo
ServicesformIList<ServiceOption>No
AttendeesformIList<AttendeeInfo>No
TotalCostformdecimalNo
LineItemsformIList<LineItemInfo>No
NumberOfAttendeesformintNo
AllowancesformIList<AllowanceUsageInfo>No
CanApplyAllowancesformboolNo
UsableAllowancesformList<AllowanceUsageInfo>No
RoomCostformdecimalNo
PromotionformstringNo
StatusformReservationStatusesNo
CenterInfoFull Parameters:
NameParameterData TypeRequiredDescription
MeetingRoomsformIList<MeetingRoomInfo>No
LandmarksformIList<LandmarkInfo>No
ImagesformIList<CenterImageInfo>No
ParkingInformationformstringNo
IsNewLocationformboolNo
IsNewLowPriceformboolNo
CenterInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
AddressformAddressInfoNo
ImageformCenterImageInfoNo
CenterHoursformIList<CenterInfoHours>No
CenterHoursConcatenatedformstringNo
DistanceFromQueryformdoubleNo
LowestRateformstringNo
PromoTextformstringNo
IsFavoriteformboolNo
IsLiveInventoryformboolNo
IsAfterHoursSupportEnabledformboolNo
IsNotFavoriteformboolNo
AddressInfo Parameters:
NameParameterData TypeRequiredDescription
Street1formstringNo
Street2formstringNo
Street3formstringNo
CityformstringNo
StateformstringNo
PostalCodeformstringNo
CountryformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
TimeZoneIdformstringNo
HasStreet2formboolNo
CityStatePostalCodeformstringNo
CenterImageInfo Parameters:
NameParameterData TypeRequiredDescription
ThumbnailUrlformstringNo
FullUrlformstringNo
CenterInfoHours Parameters:
NameParameterData TypeRequiredDescription
ValueformstringNo
DisplayValueformstringNo
MeetingRoomInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
AvailableServicesformIList<ServiceInfo>No
RateformRateInfoNo
LowestRateformstringNo
CapacityformintNo
IsLiveInventoryformboolNo
PictureformCenterImageInfoNo
ProviderformstringNo
ServiceInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
DescriptionformstringNo
RateformRateInfoNo
RateDescriptionformstringNo
BillAtCenterformboolNo
MinimumBookingformintNo
NeedsDurationformboolNo
NeedsQuantityformboolNo
DurationHoursformdecimalNo
QuantityformintNo
RateInfo Parameters:
NameParameterData TypeRequiredDescription
IsFlatRateformboolNo
FlatRateformdecimalNo
HourlyformdecimalNo
HalfDayformdecimalNo
FullDayformdecimalNo
SetupFeeformdecimalNo
BillInBlocksformboolNo
DescriptionformstringNo
LandmarkInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DescriptionformstringNo
TypeformstringNo
ServiceOption Parameters:
NameParameterData TypeRequiredDescription
ServiceIdformintNo
ServiceNameformstringNo
SelectedformboolNo
NeedsDurationformboolNo
NeedsQuantityformboolNo
DurationHoursformdecimalNo
QuantityformintNo
AttendeeInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
EmailAddressformstringNo
CompanyNameformstringNo
IsCreatorformboolNo
LineItemInfo Parameters:
NameParameterData TypeRequiredDescription
AmountformstringNo
DescriptionformstringNo
TotalformdecimalNo
TypeformLineItemTypeNo
RateformstringNo
ServiceIdformintNo
AllowanceIdformintNo
AllowanceInfo Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
IdformintNo
GetReservationAllowancesResponse Parameters:
NameParameterData TypeRequiredDescription
AllowancesformIList<AllowanceUsageInfo>No

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/get-allowances HTTP/1.1 
Host: api.davincimeetingrooms.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ReservationId":0,"Token":"String","AppVersion":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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