GET api/{corp}/Consumes/byLocation?location_id={location_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| corp | string |
Required |
|
| location_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Consumes| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| code | string |
String length: inclusive between 0 and 50 |
|
| item | integer |
None. |
|
| sourcelocation | integer |
None. |
|
| location | integer |
None. |
|
| num | integer |
None. |
|
| user | string |
String length: inclusive between 0 and 100 |
|
| time | date |
None. |
|
| longitude | decimal number |
None. |
|
| latitude | decimal number |
None. |
|
| succeeded | boolean |
None. |
|
| results | string |
String length: inclusive between 0 and 5000 |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"code": "sample string 2",
"item": 1,
"sourcelocation": 1,
"location": 1,
"num": 1,
"user": "sample string 3",
"time": "2026-04-05T19:23:21.4945758-05:00",
"longitude": 1.0,
"latitude": 1.0,
"succeeded": true,
"results": "sample string 4"
},
{
"id": 1,
"code": "sample string 2",
"item": 1,
"sourcelocation": 1,
"location": 1,
"num": 1,
"user": "sample string 3",
"time": "2026-04-05T19:23:21.4945758-05:00",
"longitude": 1.0,
"latitude": 1.0,
"succeeded": true,
"results": "sample string 4"
}
]