Trendsic Platform Service

<back to all web services

OpenOrderRequest

The following routes are available for this service:
GET/v1/OrderHeaders/Open
OrderHeadersResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
OrderHeadersformList<OrderHeader>No
OrderHeader Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
AgentIDformintNo
CustomerIDformintNo
AgentNameformstringNo
CustomerNameformstringNo
OrderDateformDateTimeNo
OrderStatusformbyteNo
OrderStatusTextformstringNo
TotalQuantityUnitsformshortNo
TotalOrderCostformdecimalNo
TotalProductCostformdecimalNo
TotalOrderTaxformdecimalNo
TotalShippingCostformdecimalNo
BillingAddressIDformintNo
ShippingAddressIDformintNo
CustomerPaidAmountformdecimalNo
NotesformstringNo
UIDformGuidNo
RecalculateformboolNo
PublicOrderIDformstringNo
AddressformstringNo
ShippingAddressformAddressNo
BillingAddressformAddressNo
isMultiShipformboolNo
Address Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
AddressTypeIDformbyteNo
AddressContactformstringNo
AttentionToformstringNo
AddressLine1formstringNo
AddressLine2formstringNo
AddressLine3formstringNo
AddressCityformstringNo
AddressStateformstringNo
AddressZipformstringNo
AddressCountryformstringNo
PhoneNumberformstringNo
FaxNumberformstringNo
UIDformGuidNo
NameformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/OrderHeaders/Open HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"OrderHeaders":[{"ID":0,"AgentID":0,"CustomerID":0,"AgentName":"String","CustomerName":"String","OrderDate":"0001-01-01T00:00:00.0000000","OrderStatus":0,"OrderStatusText":"String","TotalQuantityUnits":0,"TotalOrderCost":0,"TotalProductCost":0,"TotalOrderTax":0,"TotalShippingCost":0,"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}]}