GET api/Levels
Retrieve the Levels of the items
Request Information
URI Parameters
None.
Body Parameters
invLevelReqName | Description | Type | Additional information |
---|---|---|---|
Company |
The company name |
string |
Required String length: inclusive between 0 and 6 |
Head |
Optional to retrieve only specific level category. default 0 for all |
integer |
Range: inclusive between 0 and 9 |
LastSyncDate |
Optional to retrieve levels that were modified since LastSyncDate |
date |
None. |
PageSize |
Optional paging parameter. Return x records per page |
integer |
None. |
PageNumber |
Optional paging parameter. Number of page to return |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Company": "DEMO", "Head": 0, "LastSyncDate": null, "PageSize": 0, "PageNumber": 0 }
Response Information
Resource Description
invLevelResName | Description | Type | Additional information |
---|---|---|---|
msgControl |
Contains information about the response |
MsgControl |
None. |
invLevelList |
List of stock levels |
Collection of invStkLevel |
None. |
Response Formats
application/json, text/json
Sample:
{ "msgControl": { "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/Levels GET", "AppName": "EsoftWebApi", "EsoftUser": "ESOFT", "User": "Username", "Password": "Password", "SystemDate": "2025-01-06T22:32:15.2189577+02:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }, "invLevelList": [ { "Code": "01", "Head": "L1", "Description": "Nicosia", "RelatedCode": "", "Remarks": "Level remarks" }, { "Code": "02", "Head": "L1", "Description": "Limassol", "RelatedCode": "", "Remarks": null }, { "Code": "100", "Head": "L2", "Description": "Salesman 02", "RelatedCode": "L1", "Remarks": null } ] }