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/MyEventsRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<MyEventsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Token>String</Token>
<UserId>0</UserId>
</MyEventsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MyEventsReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Plugin.Data.Gemini.Dto">
<d2p1:MyEventsGpDto>
<UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
<d2p1:Description>String</d2p1:Description>
<d2p1:EventFrom>0001-01-01T00:00:00</d2p1:EventFrom>
<d2p1:EventTill>0001-01-01T00:00:00</d2p1:EventTill>
<d2p1:Name>String</d2p1:Name>
<d2p1:Url>String</d2p1:Url>
</d2p1:MyEventsGpDto>
</Data>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
</MyEventsReturn>