POST SalesPerson/PublicGetAll?search={search}&orderBy={orderBy}&orderDirection={orderDirection}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
search | string |
Required |
|
orderBy | string |
Required |
|
orderDirection | string |
Required |
|
page | integer |
Default value is 1 |
|
pageSize | integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
ResultPaginationModelOfListOfSalesPersonModelName | Description | Type | Additional information |
---|---|---|---|
TotalRow | integer |
None. |
|
StatusCode | string |
None. |
|
StatusMessage | string |
None. |
|
Value | Collection of SalesPersonModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalRow": 1, "StatusCode": "sample string 2", "StatusMessage": "sample string 3", "Value": [ { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "DistrictID": 4, "OutletName": "sample string 5", "LeaderName": "sample string 6", "IsActive": true }, { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "DistrictID": 4, "OutletName": "sample string 5", "LeaderName": "sample string 6", "IsActive": true } ] }