You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

inventoryReservations - Multiple Reservations

Received Response
11
Views
1
Comments

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

      }

    }

  ]

}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!