GET api/StockTotalAvailability

Retrieve the total availability of items

Request Information

URI Parameters

None.

Body Parameters

TotalAvailStockReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

ItemCode

The item code. Optional: return all items if not given

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Company": "DEMO",
  "ItemCode": "1250024303093"
}

Response Information

Resource Description

ItemTotalAvailStockRes
NameDescriptionTypeAdditional information
msgControl

Contains information about the response

MsgControl

None.

ItemTotalAvailStockList

List of the total availability of requested items

Collection of ItemTotalAvailStock

None.

Response Formats

application/json, text/json

Sample:
{
  "msgControl": {
    "result": 0,
    "Message": "Corresponding success and error message",
    "MethodName": "api/StockTotalAvailability GET",
    "AppName": "EsoftWebApi",
    "EsoftUser": "ESOFT",
    "User": "Username",
    "Password": "Password",
    "SystemDate": "2025-01-06T22:32:15.2189577+02:00",
    "GenList": [],
    "GenMsg1": "",
    "GenMsg2": "",
    "GenMsg3": ""
  },
  "ItemTotalAvailStockList": [
    {
      "ItemCode": "1250024303093",
      "AvailQty": 10
    },
    {
      "ItemCode": "1250024303093",
      "AvailQty": 50
    }
  ]
}