The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CreatePreorderRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: text/jsv
Content-Length: length
{
advertId: 0,
imageUrl: String,
isExpired: False,
mainText: String,
subText: String,
isForAllWarehouses: False
}
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
}
]
},
preorder:
{
id: 0,
advertId: 0,
advertName: String,
imageUrl: String,
isExpired: False,
mainText: String,
subText: String,
enrolledTotalPriceHeuts: 0,
enrolledTotalPriceSlager: 0,
isForAllWarehouses: False
}
}