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/CustomerCardListRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<CustomerCardListRequest 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>
</CustomerCardListRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CustomerCardListReturn 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:GPEmailCustomerCard>
<d2p1:ActivatedTime>0001-01-01T00:00:00</d2p1:ActivatedTime>
<d2p1:Active>false</d2p1:Active>
<d2p1:CardId>0</d2p1:CardId>
<d2p1:CardNo>String</d2p1:CardNo>
<d2p1:CardTypeCode>String</d2p1:CardTypeCode>
<d2p1:Description>String</d2p1:Description>
<d2p1:Discount>0</d2p1:Discount>
<d2p1:Email>String</d2p1:Email>
<d2p1:ExpirationDate>0001-01-01T00:00:00</d2p1:ExpirationDate>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:PdfUrl>String</d2p1:PdfUrl>
<d2p1:SurName>String</d2p1:SurName>
</d2p1:GPEmailCustomerCard>
</Data>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
</CustomerCardListReturn>