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
| Field | Details |
|---|---|
| Endpoint | /api/batch/select |
| Method | GET |
| Authentication | Required |
1.1.2 Request
| Header | Value |
|---|---|
| Authorization | Value |
| Content-type | application/json |
1.1.3 Query Parameters:
- None
Request Body:
- None
Parameter Type Required Description company_id integer Yes The ID of the Company location_id integer Yes The ID of the Location item_id integer Yes The ID of the Item doc_date date No Can 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