curl --location --request POST '/OrderHistory' \
--header 'Content-Type: application/json' \
--data-raw '{
"history": [
{
"customerid": "CUSTOMER1",
"productid": "FORAPI",
"orderUnit": "CS",
"orderTypeDescription": "Single Bucket History",
"bucket": "SINGLE BUCKET",
"mainNumber": 85
}
]
}'
{
"successful": 998,
"failed": [
{
"ID": "MAR",
"Message": "A maximum of 1000 history lines is allowed per session"
},
{
"ID": "APR",
"Message": "Customer Id not found"
}
]
}