The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/PlaceSimpleOrderRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: text/jsv
Content-Length: length
{
customerOrderReferenceNumber: String,
paymentMethod: String,
deliveryAddressId: String,
deliveryOption: AsSoonAsPossible,
complyWithDeliveryTimePreference: False,
comment: 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
}
]
},
placedOrder:
{
id: String,
userName: String,
sessionId: String,
placedOn: 0001-01-01,
placeOrderRequest:
{
customerOrderReferenceNumber: String,
paymentMethod: String,
deliveryAddressId: String,
externalDeliveryPaazlType: String,
externalDeliveryShippingFee: 0,
comment: String
},
comment: String,
totalAmount: 0,
portal: String,
warehouse: String
},
orderId: String
}