The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
OrderHeaders:
[
{
ID: 0,
AgentID: 0,
CustomerID: 0,
AgentName: String,
CustomerName: String,
OrderDate: 0001-01-01,
OrderStatus: 0,
OrderStatusText: String,
TotalQuantityUnits: 0,
TotalOrderCost: 0,
TotalProductCost: 0,
TotalOrderTax: 0,
TotalShippingCost: 0,
CreditApplied: 0,
UpdateCreditApplied: False,
BillingAddressID: 0,
ShippingAddressID: 0,
CustomerPaidAmount: 0,
Notes: String,
UID: 00000000000000000000000000000000,
Recalculate: False,
PublicOrderID: String,
Address: String,
ShippingAddress:
{
ID: 0,
AddressTypeID: 0,
AddressContact: String,
AttentionTo: String,
AddressLine1: String,
AddressLine2: String,
AddressLine3: String,
AddressCity: String,
AddressState: String,
AddressZip: String,
AddressCountry: String,
PhoneNumber: String,
FaxNumber: String,
UID: 00000000000000000000000000000000,
Name: String
},
BillingAddress:
{
ID: 0,
AddressTypeID: 0,
AddressContact: String,
AttentionTo: String,
AddressLine1: String,
AddressLine2: String,
AddressLine3: String,
AddressCity: String,
AddressState: String,
AddressZip: String,
AddressCountry: String,
PhoneNumber: String,
FaxNumber: String,
UID: 00000000000000000000000000000000,
Name: String
},
isMultiShip: False
}
]
}