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/GemifinOrderGetRequest HTTP/1.1
Host: data.oriem.cz
Content-Type: application/xml
Content-Length: length
<GemifinOrderGetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gemini.Partner.Gemifin">
<GemifinOrderUID>0</GemifinOrderUID>
<Token>String</Token>
<UserId>0</UserId>
</GemifinOrderGetRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GemifinOrderReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gemini.Partner.Gemifin">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Plugin.Data.Gemini.Dto">
<UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
<d2p1:AcceptancePayment>0</d2p1:AcceptancePayment>
<d2p1:AcceptancePaymentReceived>false</d2p1:AcceptancePaymentReceived>
<d2p1:Attachments>
<d2p1:GemifinOrderAttachmentGpDto>
<UID xmlns="http://schemas.datacontract.org/2004/07/Rosa.Domain">0</UID>
<d2p1:DocumentName>String</d2p1:DocumentName>
<d2p1:RecCreated>0001-01-01T00:00:00</d2p1:RecCreated>
<d2p1:TemplateUID>0</d2p1:TemplateUID>
</d2p1:GemifinOrderAttachmentGpDto>
</d2p1:Attachments>
<d2p1:City>String</d2p1:City>
<d2p1:Condition>0</d2p1:Condition>
<d2p1:ContactPerson>String</d2p1:ContactPerson>
<d2p1:ContactPersonPhoneNo>String</d2p1:ContactPersonPhoneNo>
<d2p1:ContractDate>0001-01-01T00:00:00</d2p1:ContractDate>
<d2p1:ContractNumber>String</d2p1:ContractNumber>
<d2p1:CorrespondenceAddress>String</d2p1:CorrespondenceAddress>
<d2p1:Country>String</d2p1:Country>
<d2p1:EyeType>None</d2p1:EyeType>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:HouseNr>String</d2p1:HouseNr>
<d2p1:IDNumber>String</d2p1:IDNumber>
<d2p1:IdentificationNumber>String</d2p1:IdentificationNumber>
<d2p1:Instalment>false</d2p1:Instalment>
<d2p1:LensType>0</d2p1:LensType>
<d2p1:Mail>String</d2p1:Mail>
<d2p1:MobilePhone>String</d2p1:MobilePhone>
<d2p1:Note>String</d2p1:Note>
<d2p1:OperationDescription>String</d2p1:OperationDescription>
<d2p1:Phone>String</d2p1:Phone>
<d2p1:PostCode>String</d2p1:PostCode>
<d2p1:PriceExpectation>0</d2p1:PriceExpectation>
<d2p1:RefundAmount>0</d2p1:RefundAmount>
<d2p1:SlipAmount>0</d2p1:SlipAmount>
<d2p1:Street>String</d2p1:Street>
<d2p1:SurName>String</d2p1:SurName>
</Data>
<Error>false</Error>
<ErrorMessage>String</ErrorMessage>
</GemifinOrderReturn>