HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/OrderLinesRequest HTTP/1.1
Host: testapi3.teamifg.com
Content-Type: text/csv
Content-Length: length
OrderHeaderUID,OrderLines
00000000000000000000000000000000,"[{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/csv
Content-Length: length
ResponseStatus,OrderLines
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{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}]"