GET api/salesperson
Returns all Salespeople
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Salesperson| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId |
Sedona internal autonumber for Salesperson (Employee) |
integer |
None. |
| EmployeeCode |
Abbreviated Salesperson (Employee) Code |
string |
None. |
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Inactive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"EmployeeId": 1,
"EmployeeCode": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Inactive": true
},
{
"EmployeeId": 1,
"EmployeeCode": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Inactive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfSalesperson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
<Salesperson>
<EmployeeCode>sample string 2</EmployeeCode>
<EmployeeId>1</EmployeeId>
<FirstName>sample string 3</FirstName>
<Inactive>true</Inactive>
<LastName>sample string 4</LastName>
</Salesperson>
<Salesperson>
<EmployeeCode>sample string 2</EmployeeCode>
<EmployeeId>1</EmployeeId>
<FirstName>sample string 3</FirstName>
<Inactive>true</Inactive>
<LastName>sample string 4</LastName>
</Salesperson>
</ArrayOfSalesperson>