| POST | /api/reservations/update-allowances |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReservationId | body | int | No | |
| Allowances | body | IList<AllowanceUsageOption> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AppVersion | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UpdatedReservation | form | ReservationInfo | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Success | model | boolean | Yes | |
| Error | model | ResponseError | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Summary | model | string | No | |
| Message | model | string | No | |
| Details | model | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Start | form | DateTime | No | |
| End | form | DateTime | No | |
| Center | form | CenterInfoFull | No | |
| MeetingRoom | form | MeetingRoomInfo | No | |
| Services | form | IList<ServiceOption> | No | |
| Attendees | form | IList<AttendeeInfo> | No | |
| TotalCost | form | decimal | No | |
| LineItems | form | IList<LineItemInfo> | No | |
| NumberOfAttendees | form | int | No | |
| Allowances | form | IList<AllowanceUsageInfo> | No | |
| CanApplyAllowances | form | bool | No | |
| UsableAllowances | form | List<AllowanceUsageInfo> | No | |
| RoomCost | form | decimal | No | |
| Promotion | form | string | No | |
| Status | form | ReservationStatuses | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MeetingRooms | form | IList<MeetingRoomInfo> | No | |
| Landmarks | form | IList<LandmarkInfo> | No | |
| Images | form | IList<CenterImageInfo> | No | |
| ParkingInformation | form | string | No | |
| IsNewLocation | form | bool | No | |
| IsNewLowPrice | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| Address | form | AddressInfo | No | |
| Image | form | CenterImageInfo | No | |
| CenterHours | form | IList<CenterInfoHours> | No | |
| CenterHoursConcatenated | form | string | No | |
| DistanceFromQuery | form | double | No | |
| LowestRate | form | string | No | |
| PromoText | form | string | No | |
| IsFavorite | form | bool | No | |
| IsLiveInventory | form | bool | No | |
| IsAfterHoursSupportEnabled | form | bool | No | |
| IsNotFavorite | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Street1 | form | string | No | |
| Street2 | form | string | No | |
| Street3 | form | string | No | |
| City | form | string | No | |
| State | form | string | No | |
| PostalCode | form | string | No | |
| Country | form | string | No | |
| Latitude | form | double | No | |
| Longitude | form | double | No | |
| TimeZoneId | form | string | No | |
| HasStreet2 | form | bool | No | |
| CityStatePostalCode | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ThumbnailUrl | form | string | No | |
| FullUrl | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Value | form | string | No | |
| DisplayValue | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| AvailableServices | form | IList<ServiceInfo> | No | |
| Rate | form | RateInfo | No | |
| LowestRate | form | string | No | |
| Capacity | form | int | No | |
| IsLiveInventory | form | bool | No | |
| Picture | form | CenterImageInfo | No | |
| Provider | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| Rate | form | RateInfo | No | |
| RateDescription | form | string | No | |
| BillAtCenter | form | bool | No | |
| MinimumBooking | form | int | No | |
| NeedsDuration | form | bool | No | |
| NeedsQuantity | form | bool | No | |
| DurationHours | form | decimal | No | |
| Quantity | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsFlatRate | form | bool | No | |
| FlatRate | form | decimal | No | |
| Hourly | form | decimal | No | |
| HalfDay | form | decimal | No | |
| FullDay | form | decimal | No | |
| SetupFee | form | decimal | No | |
| BillInBlocks | form | bool | No | |
| Description | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| Description | form | string | No | |
| Type | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceId | form | int | No | |
| ServiceName | form | string | No | |
| Selected | form | bool | No | |
| NeedsDuration | form | bool | No | |
| NeedsQuantity | form | bool | No | |
| DurationHours | form | decimal | No | |
| Quantity | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| EmailAddress | form | string | No | |
| CompanyName | form | string | No | |
| IsCreator | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Amount | form | string | No | |
| Description | form | string | No | |
| Total | form | decimal | No | |
| Type | form | LineItemType | No | |
| Rate | form | string | No | |
| ServiceId | form | int | No | |
| AllowanceId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Reservation | form | ReservationInfo | No | |
| Allowance | form | AllowanceInfo | No | |
| NumberOfHours | form | int | No | |
| DiscountApplied | form | decimal | No | |
| InUse | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Id | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AllowanceId | form | int | No | |
| Use | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UpdatedReservation | form | ReservationInfo | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/reservations/update-allowances HTTP/1.1
Host: api.davincimeetingrooms.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateReservationAllowancesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DavinciMeetingRooms.Mobile.ServiceModel">
<AppVersion>String</AppVersion>
<Token>String</Token>
<Allowances i:nil="true" />
<ReservationId>0</ReservationId>
</UpdateReservationAllowancesRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<UpdateReservationAllowancesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DavinciMeetingRooms.Mobile.ServiceModel">
<Success xmlns="http://schemas.datacontract.org/2004/07/Evo.Reservations.ServiceModel.Framework">false</Success>
<Error xmlns="http://schemas.datacontract.org/2004/07/Evo.Reservations.ServiceModel.Framework">
<Summary>String</Summary>
<Message>String</Message>
<Details>String</Details>
</Error>
<UpdatedReservation>
<Allowances i:nil="true" />
<Attendees i:nil="true" />
<CanApplyAllowances>false</CanApplyAllowances>
<Center>
<Address>
<City>String</City>
<Country>String</Country>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<PostalCode>String</PostalCode>
<State>String</State>
<Street1>String</Street1>
<Street2>String</Street2>
<Street3>String</Street3>
<TimeZoneId>String</TimeZoneId>
</Address>
<CenterHours i:nil="true" />
<CenterHoursConcatenated>String</CenterHoursConcatenated>
<DistanceFromQuery>0</DistanceFromQuery>
<Id>0</Id>
<Image>
<FullUrl>String</FullUrl>
<ThumbnailUrl>String</ThumbnailUrl>
</Image>
<IsAfterHoursSupportEnabled>false</IsAfterHoursSupportEnabled>
<IsFavorite>false</IsFavorite>
<IsLiveInventory>false</IsLiveInventory>
<LowestRate>String</LowestRate>
<Name>String</Name>
<PromoText>String</PromoText>
<Images i:nil="true" />
<IsNewLocation>false</IsNewLocation>
<IsNewLowPrice>false</IsNewLowPrice>
<Landmarks i:nil="true" />
<MeetingRooms i:nil="true" />
<ParkingInformation>String</ParkingInformation>
</Center>
<End>0001-01-01T00:00:00</End>
<Id>0</Id>
<LineItems i:nil="true" />
<MeetingRoom>
<AvailableServices i:nil="true" />
<Capacity>0</Capacity>
<Id>0</Id>
<IsLiveInventory>false</IsLiveInventory>
<LowestRate>String</LowestRate>
<Name>String</Name>
<Picture>
<FullUrl>String</FullUrl>
<ThumbnailUrl>String</ThumbnailUrl>
</Picture>
<Provider>String</Provider>
<Rate>
<BillInBlocks>false</BillInBlocks>
<Description>String</Description>
<FlatRate>0</FlatRate>
<FullDay>0</FullDay>
<HalfDay>0</HalfDay>
<Hourly>0</Hourly>
<IsFlatRate>false</IsFlatRate>
<SetupFee>0</SetupFee>
</Rate>
</MeetingRoom>
<NumberOfAttendees>0</NumberOfAttendees>
<Promotion>String</Promotion>
<RoomCost>0</RoomCost>
<Services i:nil="true" />
<Start>0001-01-01T00:00:00</Start>
<Status>New</Status>
<TotalCost>0</TotalCost>
<UsableAllowances>
<AllowanceUsageInfo>
<Allowance>
<Description>String</Description>
<Id>0</Id>
</Allowance>
<DiscountApplied>0</DiscountApplied>
<InUse>false</InUse>
<NumberOfHours>0</NumberOfHours>
<Reservation>
<Allowances i:nil="true" />
<Attendees i:nil="true" />
<CanApplyAllowances>false</CanApplyAllowances>
<Center>
<Address>
<City>String</City>
<Country>String</Country>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<PostalCode>String</PostalCode>
<State>String</State>
<Street1>String</Street1>
<Street2>String</Street2>
<Street3>String</Street3>
<TimeZoneId>String</TimeZoneId>
</Address>
<CenterHours i:nil="true" />
<CenterHoursConcatenated>String</CenterHoursConcatenated>
<DistanceFromQuery>0</DistanceFromQuery>
<Id>0</Id>
<Image>
<FullUrl>String</FullUrl>
<ThumbnailUrl>String</ThumbnailUrl>
</Image>
<IsAfterHoursSupportEnabled>false</IsAfterHoursSupportEnabled>
<IsFavorite>false</IsFavorite>
<IsLiveInventory>false</IsLiveInventory>
<LowestRate>String</LowestRate>
<Name>String</Name>
<PromoText>String</PromoText>
<Images i:nil="true" />
<IsNewLocation>false</IsNewLocation>
<IsNewLowPrice>false</IsNewLowPrice>
<Landmarks i:nil="true" />
<MeetingRooms i:nil="true" />
<ParkingInformation>String</ParkingInformation>
</Center>
<End>0001-01-01T00:00:00</End>
<Id>0</Id>
<LineItems i:nil="true" />
<MeetingRoom>
<AvailableServices i:nil="true" />
<Capacity>0</Capacity>
<Id>0</Id>
<IsLiveInventory>false</IsLiveInventory>
<LowestRate>String</LowestRate>
<Name>String</Name>
<Picture>
<FullUrl>String</FullUrl>
<ThumbnailUrl>String</ThumbnailUrl>
</Picture>
<Provider>String</Provider>
<Rate>
<BillInBlocks>false</BillInBlocks>
<Description>String</Description>
<FlatRate>0</FlatRate>
<FullDay>0</FullDay>
<HalfDay>0</HalfDay>
<Hourly>0</Hourly>
<IsFlatRate>false</IsFlatRate>
<SetupFee>0</SetupFee>
</Rate>
</MeetingRoom>
<NumberOfAttendees>0</NumberOfAttendees>
<Promotion>String</Promotion>
<RoomCost>0</RoomCost>
<Services i:nil="true" />
<Start>0001-01-01T00:00:00</Start>
<Status>New</Status>
<TotalCost>0</TotalCost>
<UsableAllowances>
<AllowanceUsageInfo>
<Allowance>
<Description>String</Description>
<Id>0</Id>
</Allowance>
<DiscountApplied>0</DiscountApplied>
<InUse>false</InUse>
<NumberOfHours>0</NumberOfHours>
<Reservation>
<Allowances i:nil="true" />
<Attendees i:nil="true" />
<CanApplyAllowances>false</CanApplyAllowances>
<Center>
<Address>
<City>String</City>
<Country>String</Country>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<PostalCode>String</PostalCode>
<State>String</State>
<Street1>String</Street1>
<Street2>String</Street2>
<Street3>String</Street3>
<TimeZoneId>String</TimeZoneId>
</Address>
<CenterHours i:nil="true" />
<CenterHoursConcatenated>String</CenterHoursConcatenated>
<DistanceFromQuery>0</DistanceFromQuery>
<Id>0</Id>
<Image>
<FullUrl>String</FullUrl>
<ThumbnailUrl>String</ThumbnailUrl>
</Image>
<IsAfterHoursSupportEnabled>false</IsAfterHoursSupportEnabled>
<IsFavorite>false</IsFavorite>
<IsLiveInventory>false</IsLiveInventory>
<LowestRate>String</LowestRate>
<Name>String</Name>
<PromoText>String</PromoText>
<Images i:nil="true" />
<IsNewLocation>false</IsNewLocation>
<IsNewLowPrice>false</IsNewLowPrice>
<Landmarks i:nil="true" />
<MeetingRooms i:nil="true" />
<ParkingInformation>String</ParkingInformation>
</Center>
<End>0001-01-01T00:00:00</End>
<Id>0</Id>
<LineItems i:nil="true" />
<MeetingRoom>
<AvailableServices i:nil="true" />
<Capacity>0</Capacity>
<Id>0</Id>
<IsLiveInventory>false</IsLiveInventory>
<LowestRate>String</LowestRate>
<Name>String</Name>
<Picture>
<FullUrl>String</FullUrl>
<ThumbnailUrl>String</ThumbnailUrl>
</Picture>
<Provider>String</Provider>
<Rate>
<BillInBlocks>false</BillInBlocks>
<Description>String</Description>
<FlatRate>0</FlatRate>
<FullDay>0</FullDay>
<HalfDay>0</HalfDay>
<Hourly>0</Hourly>
<IsFlatRate>false</IsFlatRate>
<SetupFee>0</SetupFee>
</Rate>
</MeetingRoom>
<NumberOfAttendees>0</NumberOfAttendees>
<Promotion>String</Promotion>
<RoomCost>0</RoomCost>
<Services i:nil="true" />
<Start>0001-01-01T00:00:00</Start>
<Status>New</Status>
<TotalCost>0</TotalCost>
<UsableAllowances>
<AllowanceUsageInfo>
<Allowance>
<Description>String</Description>
<Id>0</Id>
</Allowance>
<DiscountApplied>0</DiscountApplied>
<InUse>false</InUse>
<NumberOfHours>0</NumberOfHours>
<Reservation i:nil="true" />
</AllowanceUsageInfo>
</UsableAllowances>
</Reservation>
</AllowanceUsageInfo>
</UsableAllowances>
</Reservation>
</AllowanceUsageInfo>
</UsableAllowances>
</UpdatedReservation>
</UpdateReservationAllowancesResponse>