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.
GET /Crm/Orders/AvaliablePaymentDocs HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetAvaliableCrmOrderPaymentDocsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Crm.Orders">
<ClientInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
<d2p1:Acc>String</d2p1:Acc>
<d2p1:Name>String</d2p1:Name>
<d2p1:SN>String</d2p1:SN>
<d2p1:WarehouseAddress>String</d2p1:WarehouseAddress>
<d2p1:Address>String</d2p1:Address>
<d2p1:Phone>String</d2p1:Phone>
<d2p1:AccWithName>String - String</d2p1:AccWithName>
<d2p1:VatType>0</d2p1:VatType>
<d2p1:BranchId>0</d2p1:BranchId>
</ClientInfo>
<Result>
<AvaliableCrmOrderPaymentDoc>
<DocID>String</DocID>
<BookID>String</BookID>
<DDate>0001-01-01T00:00:00</DDate>
<Oper xmlns:d4p1="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
<d4p1:OperID>String</d4p1:OperID>
<d4p1:Name>String</d4p1:Name>
<d4p1:DocsTypeID>String</d4p1:DocsTypeID>
<d4p1:FFormsID>0</d4p1:FFormsID>
<d4p1:DocType>0</d4p1:DocType>
<d4p1:Spend>false</d4p1:Spend>
<d4p1:LAutoNum>false</d4p1:LAutoNum>
<d4p1:AutoNum>0</d4p1:AutoNum>
<d4p1:Dets>
<d4p1:OpDetInfo>
<d4p1:OpDetID>String</d4p1:OpDetID>
<d4p1:OperID>String</d4p1:OperID>
<d4p1:Name>String</d4p1:Name>
<d4p1:DBTemplate>String</d4p1:DBTemplate>
<d4p1:CRTemplate>String</d4p1:CRTemplate>
<d4p1:BookType>0</d4p1:BookType>
<d4p1:SubDoc>0</d4p1:SubDoc>
<d4p1:DBTemplateType>0</d4p1:DBTemplateType>
<d4p1:CRTemplateType>0</d4p1:CRTemplateType>
<d4p1:ChangeAcc>false</d4p1:ChangeAcc>
<d4p1:PositiveTemplate>String</d4p1:PositiveTemplate>
<d4p1:NegativTemplate>String</d4p1:NegativTemplate>
</d4p1:OpDetInfo>
</d4p1:Dets>
<d4p1:WebFormName>String</d4p1:WebFormName>
<d4p1:IsWaybill>false</d4p1:IsWaybill>
<d4p1:IsInvoice>false</d4p1:IsInvoice>
<d4p1:IsSpecInvoice>false</d4p1:IsSpecInvoice>
<d4p1:Tags xmlns:d5p1="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
<d5p1:Tag>
<d5p1:Id>0</d5p1:Id>
<d5p1:TypeId>0</d5p1:TypeId>
<d5p1:Name>String</d5p1:Name>
<d5p1:SubId>String</d5p1:SubId>
<d5p1:TypeName>String</d5p1:TypeName>
</d5p1:Tag>
</d4p1:Tags>
<d4p1:IsTaxDoc>false</d4p1:IsTaxDoc>
</Oper>
<InAcc xmlns:d4p1="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
<d4p1:Acc>String</d4p1:Acc>
<d4p1:Name>String</d4p1:Name>
<d4p1:SN>String</d4p1:SN>
<d4p1:WarehouseAddress>String</d4p1:WarehouseAddress>
<d4p1:Address>String</d4p1:Address>
<d4p1:Phone>String</d4p1:Phone>
<d4p1:AccWithName>String - String</d4p1:AccWithName>
<d4p1:VatType>0</d4p1:VatType>
<d4p1:BranchId>0</d4p1:BranchId>
</InAcc>
<VG>0</VG>
<RemVG>0</RemVG>
<NumberIn>String</NumberIn>
<NumberOut>String</NumberOut>
</AvaliableCrmOrderPaymentDoc>
</Result>
</GetAvaliableCrmOrderPaymentDocsResponse>