GET api/salesperson/{id}
Returns the specified Salesperson
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}
application/xml, text/xml
Sample:
<Salesperson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <EmployeeCode>sample string 2</EmployeeCode> <EmployeeId>1</EmployeeId> <FirstName>sample string 3</FirstName> <Inactive>true</Inactive> <LastName>sample string 4</LastName> </Salesperson>