GET api/ServiceTech/{id}
Returns the specified Service Technician
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceTech| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceTechId |
Sedona internal autonumber for the SV_Service_Tech record |
integer |
None. |
| EmployeeId |
Employee_Id from SY_Employee table |
integer |
None. |
| IsVendorTech |
Determines if the tech belongs to a vendor, if not the tech is an Employee. Use the EmployeeId or VendorId for exact reference |
boolean |
None. |
| ServiceTechCode |
Employee_Code from SY_Employee table; cannot change the Service Tech (must cancel and add new) |
string |
None. |
| VendorCode |
Vendor_Code from AP_Vendor; defaults to N/A if not supplied |
string |
String length: inclusive between 0 and 50 |
| ServiceCompanyCode |
Value from SV_Service_Company table; list of valid options can be retrieved from GET: api/servicecompany |
string |
None. |
| Inactive |
Indicates if the service tech has been deactivated |
boolean |
None. |
| WarehouseCode |
value from IN_Warehouse; defaults to N/A if not supplied |
string |
None. |
| FirstName |
First Name |
string |
None. |
| LastName |
Last Name |
string |
None. |
| HireDate |
Date the service tech was hired |
string |
None. |
Response Formats
application/json, text/json
{
"ServiceTechId": 1,
"EmployeeId": 2,
"IsVendorTech": true,
"ServiceTechCode": "sample string 4",
"VendorCode": "sample string 5",
"ServiceCompanyCode": "sample string 6",
"Inactive": true,
"WarehouseCode": "sample string 7",
"FirstName": "sample string 8",
"LastName": "sample string 9",
"HireDate": "sample string 10"
}
application/xml, text/xml
<ServiceTech xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <EmployeeId>2</EmployeeId> <FirstName>sample string 8</FirstName> <HireDate>sample string 10</HireDate> <Inactive>true</Inactive> <IsVendorTech>true</IsVendorTech> <LastName>sample string 9</LastName> <ServiceCompanyCode>sample string 6</ServiceCompanyCode> <ServiceTechCode>sample string 4</ServiceTechCode> <ServiceTechId>1</ServiceTechId> <VendorCode>sample string 5</VendorCode> <WarehouseCode>sample string 7</WarehouseCode> </ServiceTech>