HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BmfSendOrder2022Request HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: text/jsv
Content-Length: length
{
orderReference: String,
orderLines:
[
{
description: String,
productId: String,
quantity: 0,
singlePrice: 0,
idCode: String,
eanCode: String,
manufacturer: 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
}
]
}
}