GET api/v2/Service/Technicians?TechId={TechId}&ActiveOnly={ActiveOnly}
Retrieves a collection of Technicians records.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TechId |
The Id for a specific Technician to retrieve. |
string |
Default value is |
| ActiveOnly |
Set to True to return only active techs. Set to False to return all techs. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of Technician| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Name | string |
None. |
|
| Password | string |
None. |
|
| Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"Name": "sample string 2",
"Password": "sample string 3",
"Active": true
},
{
"Id": "sample string 1",
"Name": "sample string 2",
"Password": "sample string 3",
"Active": true
}
]
application/xml, text/xml
Sample:
<ArrayOfTechnician xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<Technician>
<Active>true</Active>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
<Password>sample string 3</Password>
</Technician>
<Technician>
<Active>true</Active>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
<Password>sample string 3</Password>
</Technician>
</ArrayOfTechnician>