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/GetMActionsForCrmOrder HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetMActionsForCrmOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Crm.Orders">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<ActiveMActions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Apex.Services.Warehousing">
<d2p1:MActionsFull>
<d2p1:mAction>
<d2p1:Id>00000000-0000-0000-0000-000000000000</d2p1:Id>
<d2p1:FirstId>00000000-0000-0000-0000-000000000000</d2p1:FirstId>
<d2p1:ActionTypeId>String</d2p1:ActionTypeId>
<d2p1:ActionName>String</d2p1:ActionName>
<d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
<d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:ActionJson>String</d2p1:ActionJson>
<d2p1:UseTimes>false</d2p1:UseTimes>
<d2p1:Priority>0</d2p1:Priority>
<d2p1:Marking>false</d2p1:Marking>
<d2p1:MaxDiscLimit>false</d2p1:MaxDiscLimit>
<d2p1:MaxDiscLimitC>false</d2p1:MaxDiscLimitC>
<d2p1:CrTime>0001-01-01T00:00:00</d2p1:CrTime>
<d2p1:CUser>String</d2p1:CUser>
<d2p1:Used>false</d2p1:Used>
<d2p1:Weekdays>String</d2p1:Weekdays>
<d2p1:AllBr>false</d2p1:AllBr>
<d2p1:Comment>String</d2p1:Comment>
<d2p1:IsDeleted>false</d2p1:IsDeleted>
<d2p1:Unid>00000000-0000-0000-0000-000000000000</d2p1:Unid>
<d2p1:InPos>false</d2p1:InPos>
<d2p1:InOrders>false</d2p1:InOrders>
<d2p1:IgnoreMarking>false</d2p1:IgnoreMarking>
</d2p1:mAction>
<d2p1:mActionJson>
<d2p1:ReceiptVg>0</d2p1:ReceiptVg>
<d2p1:DiscPercent>0</d2p1:DiscPercent>
<d2p1:DiscAmount>0</d2p1:DiscAmount>
<d2p1:Points>0</d2p1:Points>
<d2p1:PointsK>0</d2p1:PointsK>
<d2p1:CardDependency>false</d2p1:CardDependency>
<d2p1:PrintText>String</d2p1:PrintText>
<d2p1:ActionProdType>0</d2p1:ActionProdType>
<d2p1:ActionProducts>
<d2p1:MActionProds>
<d2p1:ProdId>String</d2p1:ProdId>
<d2p1:Code>String</d2p1:Code>
<d2p1:ProdName>String</d2p1:ProdName>
</d2p1:MActionProds>
</d2p1:ActionProducts>
<d2p1:ActionResults>
<d2p1:MActionProds>
<d2p1:ProdId>String</d2p1:ProdId>
<d2p1:Code>String</d2p1:Code>
<d2p1:ProdName>String</d2p1:ProdName>
</d2p1:MActionProds>
</d2p1:ActionResults>
<d2p1:CardOwners xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</d2p1:CardOwners>
<d2p1:CardTypes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</d2p1:CardTypes>
<d2p1:Script>String</d2p1:Script>
</d2p1:mActionJson>
</d2p1:MActionsFull>
</ActiveMActions>
<ActiveMActionsJson>String</ActiveMActionsJson>
</GetMActionsForCrmOrderResponse>