Skip to main content

API

1.1 Get Location list by division

This API is for selecting Item Batch or known as Inventory. Select by company, location, item and document's date.

1.1.1 API Definition

FieldDetails
Endpoint/api/batch/select
MethodGET
AuthenticationRequired

1.1.2 Request

HeaderValue
AuthorizationValue
Content-typeapplication/json

1.1.3 Query Parameters:

  • None

Request Body:

  • None
    ParameterTypeRequiredDescription
    company_idintegerYesThe ID of the Company
    location_idintegerYesThe ID of the Location
    item_idintegerYesThe ID of the Item
    doc_datedateNoCan be empty

Response

Success (200):

{
"data": [
{
"id": 5069,
"code": " ABC0088      |         -         |   134  "
},
{
"id": 4251,
"code": " 18122020     |  18-12-2020  |   5000  "
},
{
"id": 3614,
"code": " ea1010       |  26-11-2021  |   5000  "
},
{
"id": 4214,
"code": " EA1020       |  08-02-2024  |   4952  "
},
{
"id": 4213,
"code": " 01062022     |  22-06-2024  |   5000  "
}
],
"success": true
}

Note/Business Logic

  • None

Permission

  • None