inventoryReservations - Multiple Reservations
Payload: fscmRestApi/resources/11.13.18.05/inventoryReservations
I am using below payload to create multiple reservations in single request payload but getting Bad request error.
But the payload is working fine for single reservation
Is the Rest API supports multiple reservations in single payload?
{
"parts": [
{
"id": "part1",
"path": "/inventoryReservations",
"operation": "create",
"payload": {
"ItemNumber": "7001",
"OrganizationCode": "",
"DemandSourceType": "User Defined",
"DemandSourceName": "2XXX-5",
"SupplySourceType": "On hand",
"ReservationUnitOfMeasure": "Each",
"SubinventoryCode": "MAIN",
"ReservationQuantity": 1
}
},
{
"id": "part2",
"path": "/inventoryReservations",
"operation": "create",
"payload": {
"ItemNumber": "7001",
"OrganizationCode": "7XXX",
"DemandSourceType": "User Defined",
"DemandSourceName": "2XXX-6",
"SupplySourceType": "On hand",
"ReservationUnitOfMeasure": "Each",
"SubinventoryCode": "MAIN",
"ReservationQuantity": 1
}
}
]
}