The GUID in these calls should be obtained from Login API


Endpoint URL

Based URL address depends on domain address on which the backend is deployed

Method

URL

POST{base url}/api/requisition/SaveRequisitionBatch


Example requests

https://backend/api/Requistion/SaveRequisitionBatch

body call:

{
  "supplierId"5, (optional)
  "orderDate""2021-10-21"
  "detailLines": [
    {      

         "expectedPrice"1,

        "itemId"4136,
        "supplierId"10,
        "quantity"1,
        "unitId"10,
        "warehouseId"1,
        "description""description"


      "attachedFiles": []
    }
  ]
}

Example responses:


{
   "batchRef""BATCH_REQ10837",

    "reqRef""REQ10912",
    "reqIds""50786"

}