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/ForumThreadAdd HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<ForumThreadAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSite.Gemini.WS.ServiceS">
<Anonymous>false</Anonymous>
<Attachments xmlns:d2p1="http://schemas.datacontract.org/2004/07/Plugin.Data.Gemini.Dto">
<d2p1:ForumAttachment>
<d2p1:FileName>String</d2p1:FileName>
<d2p1:base64Content>String</d2p1:base64Content>
</d2p1:ForumAttachment>
</Attachments>
<CategoryUID>0</CategoryUID>
<Description>String</Description>
<Description1>String</Description1>
<ForumType>0</ForumType>
<PostContent>String</PostContent>
<ReturnCategoryId>0</ReturnCategoryId>
<ReturnEventId>0</ReturnEventId>
<Subject>String</Subject>
<Token>String</Token>
<UserId>0</UserId>
<WorkerId>0</WorkerId>
</ForumThreadAdd>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ForumThreadListReturn 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:ForumThreadDtoAll>
<UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
<RecChanged xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0001-01-01T00:00:00</RecChanged>
<d2p1:Anonymous>false</d2p1:Anonymous>
<d2p1:CategoryUID>0</d2p1:CategoryUID>
<d2p1:Closed>false</d2p1:Closed>
<d2p1:CreatedUserFullName>String</d2p1:CreatedUserFullName>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Description>String</d2p1:Description>
<d2p1:Description1>String</d2p1:Description1>
<d2p1:ForumType>Standard</d2p1:ForumType>
<d2p1:MainPost>
<d2p1:Anonymous>false</d2p1:Anonymous>
<d2p1:Attachments>
<d2p1:ForumAttachment>
<d2p1:FileName>String</d2p1:FileName>
<d2p1:base64Content>String</d2p1:base64Content>
</d2p1:ForumAttachment>
</d2p1:Attachments>
<d2p1:Content>String</d2p1:Content>
<d2p1:CreatedUser>String</d2p1:CreatedUser>
<d2p1:CreatedUserFullName>String</d2p1:CreatedUserFullName>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Readed>false</d2p1:Readed>
<d2p1:RecCreated>0001-01-01T00:00:00</d2p1:RecCreated>
<d2p1:UID>0</d2p1:UID>
<d2p1:Useful>0</d2p1:Useful>
</d2p1:MainPost>
<d2p1:OrderId>0</d2p1:OrderId>
<d2p1:Readed>false</d2p1:Readed>
<d2p1:Subject>String</d2p1:Subject>
</d2p1:ForumThreadDtoAll>
</Data>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
</ForumThreadListReturn>