HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/OrderLinesRequest HTTP/1.1
Host: testapi3.teamifg.com
Content-Type: text/jsv
Content-Length: length
{
OrderHeaderUID: 00000000000000000000000000000000,
OrderLines:
[
{
ID: 0,
OrderHeaderID: 00000000000000000000000000000000,
OrderLineNumber: 0,
ProductID: 0,
Quantity: 0,
TotalOrderLineCost: 0,
ProductCost: 0,
PerUnitProductCost: 0,
OrderLineTax: 0,
OrderLineShippingCost: 0,
PerUnitShippingCost: 0,
OrderLineStatusID: 0,
ShipMethodID: 0,
EstimatedShipDate: 0001-01-01,
EstimatedDeliveryDate: 0001-01-01,
ActualShipDate: 0001-01-01,
ActualDeliveryDate: 0001-01-01,
OrderLineCreatedDate: 0001-01-01,
OrderLineModifiedDate: 0001-01-01,
UID: 00000000000000000000000000000000,
ProductName: String
}
]
}
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
}
]
},
OrderLines:
[
{
ID: 0,
OrderHeaderID: 00000000000000000000000000000000,
OrderLineNumber: 0,
ProductID: 0,
Quantity: 0,
TotalOrderLineCost: 0,
ProductCost: 0,
PerUnitProductCost: 0,
OrderLineTax: 0,
OrderLineShippingCost: 0,
PerUnitShippingCost: 0,
OrderLineStatusID: 0,
ShipMethodID: 0,
EstimatedShipDate: 0001-01-01,
EstimatedDeliveryDate: 0001-01-01,
ActualShipDate: 0001-01-01,
ActualDeliveryDate: 0001-01-01,
OrderLineCreatedDate: 0001-01-01,
OrderLineModifiedDate: 0001-01-01,
UID: 00000000000000000000000000000000,
ProductName: String
}
]
}