HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/oneway/GetReasonCodesRequest HTTP/1.1
Host: 185.179.20.77
Content-Type: application/xml
Content-Length: length
<GetReasonCodesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Spirit.Server.Common.Message.Services.ReasonCodes">
<DeviceSerialNumber xmlns="http://schemas.servicestack.net/types">String</DeviceSerialNumber>
<GeneratedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</GeneratedAt>
<SessionUid xmlns="http://schemas.servicestack.net/types">00000000-0000-0000-0000-000000000000</SessionUid>
<IncludeJobReasonCodes>false</IncludeJobReasonCodes>
<IncludeProductReasonCodes>false</IncludeProductReasonCodes>
<IncludeStockItemReasonCodes>false</IncludeStockItemReasonCodes>
<IncludeWorkActivityReasonCodes>false</IncludeWorkActivityReasonCodes>
<IncludeWorkItemReasonCodes>false</IncludeWorkItemReasonCodes>
</GetReasonCodesRequest>