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/scheduling/meeting-rooms HTTP/1.1
Host: evo.hostedsuite.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ListMeetingRoomsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evo.HostedSuite.Core.ServiceModel">
<CustomerName>String</CustomerName>
<Password>String</Password>
<UserName>String</UserName>
<CenterId>String</CenterId>
</ListMeetingRoomsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfMeetingRoomInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evo.HostedSuite.Core.ServiceModel">
<MeetingRoomInfo>
<BillAsServiceId>String</BillAsServiceId>
<BillAsServiceName>String</BillAsServiceName>
<Capacity>0</Capacity>
<CategoryIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</CategoryIds>
<CenterId>String</CenterId>
<CenterName>String</CenterName>
<CustomFields>
<CustomFieldInfo>
<Name>String</Name>
<Value>String</Value>
</CustomFieldInfo>
</CustomFields>
<DateLastModified>String</DateLastModified>
<Description>String</Description>
<DoubleBookingPolicy>NeverAllow</DoubleBookingPolicy>
<Id>String</Id>
<InternalName>String</InternalName>
<IsActive>false</IsActive>
<MinBookingDuration>0</MinBookingDuration>
<Name>String</Name>
<OrderInScheduler>0</OrderInScheduler>
<SchedulingNotice>String</SchedulingNotice>
<Visibility>Everyone</Visibility>
</MeetingRoomInfo>
</ArrayOfMeetingRoomInfo>