GET api/SalesPerson
Request Information
URI Parameters
None.
Body Parameters
SalesPersonReqName | Description | Type | Additional information |
---|---|---|---|
Company |
The company name |
string |
Required String length: inclusive between 0 and 6 |
Code |
Optional to retrieve only specific SalesPerson Code. |
string |
String length: inclusive between 0 and 5 |
Request Formats
application/json, text/json
Sample:
{ "Company": "DEMO", "Code": "001" }
Response Information
Resource Description
SalesPersonResName | Description | Type | Additional information |
---|---|---|---|
msgControl |
Contains information about the response |
MsgControl |
None. |
SalesPersonList |
List of SalesPerson |
Collection of SalesPerson |
None. |
Response Formats
application/json, text/json
Sample:
{ "msgControl": { "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/SalesPerson GET", "AppName": "EsoftWebApi", "EsoftUser": "ESOFT", "User": "Username", "Password": "Password", "SystemDate": "2025-01-06T22:32:15.2189577+02:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }, "SalesPersonList": [ { "Code": "001", "Name": "Name1", "Store": "100" }, { "Code": "002", "Name": "Name2", "Store": "100" } ] }