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 /xml/reply/OrderLock HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<OrderLock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<OrderId>0</OrderId>
<Token>String</Token>
<UserId>0</UserId>
</OrderLock>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<OrderLockReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Error xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS">false</Error>
<ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS">String</ErrorMessage>
<Order>
<AllowOds>false</AllowOds>
<CalendarNote>String</CalendarNote>
<ClinicId>0</ClinicId>
<Doctor>String</Doctor>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
<ExNote>String</ExNote>
<Flags>String</Flags>
<Free>false</Free>
<Note>String</Note>
<NoteSvoz>String</NoteSvoz>
<OperationId>0</OperationId>
<OrderId>0</OrderId>
<PatienCity>String</PatienCity>
<PatienPostCode>String</PatienPostCode>
<PatienPostHouseNr>String</PatienPostHouseNr>
<PatienPostStreet>String</PatienPostStreet>
<PatientCountry>String</PatientCountry>
<PatientFirstName>String</PatientFirstName>
<PatientHI>String</PatientHI>
<PatientIN>String</PatientIN>
<PatientId>0</PatientId>
<PatientMail>String</PatientMail>
<PatientMobilePhone>String</PatientMobilePhone>
<PatientSurName>String</PatientSurName>
<Status>Free</Status>
<Svoz>false</Svoz>
<TimeFrom>0001-01-01T00:00:00</TimeFrom>
<TimeTill>0001-01-01T00:00:00</TimeTill>
</Order>
<Reload>false</Reload>
</OrderLockReturn>