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 /Warehousing/PreOrders/OrderServices/{OrderServiceID} HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PreOrderService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Warehousing.Orders">
<OrderServiceID>0</OrderServiceID>
<OrderID>0</OrderID>
<ServiceID>String</ServiceID>
<Discount>0</Discount>
<Price>0</Price>
<SCount>0</SCount>
<VatType>0</VatType>
<Service xmlns:d2p1="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
<d2p1:ServiceID>String</d2p1:ServiceID>
<d2p1:Code>String</d2p1:Code>
<d2p1:Name>String</d2p1:Name>
<d2p1:NameEn>String</d2p1:NameEn>
<d2p1:Price>0</d2p1:Price>
<d2p1:PriceU>0</d2p1:PriceU>
<d2p1:Vat>0</d2p1:Vat>
<d2p1:Note>String</d2p1:Note>
<d2p1:LDefault>false</d2p1:LDefault>
<d2p1:Spend>false</d2p1:Spend>
<d2p1:NameN>String</d2p1:NameN>
</Service>
<DocID>String</DocID>
</PreOrderService>