To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /api/reservations/update-time HTTP/1.1
Host: api.davincimeetingrooms.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateReservationTimeRequest 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>
<NewEndDate>0001-01-01T00:00:00</NewEndDate>
<NewStartDate>0001-01-01T00:00:00</NewStartDate>
<ReservationId>0</ReservationId>
</UpdateReservationTimeRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<UpdateReservationTimeResponse 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>
<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>
<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>
</Reservation>
</UpdateReservationTimeResponse>