POST api/ServiceType/LinkTechnician
Request Information
URI Parameters
None.
Body Parameters
clsServiceTypeTechnicians| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ServiceTypeID | integer |
None. |
|
| TechnicianID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ServiceTypeID": 2,
"TechnicianID": 3
}
application/xml, text/xml
Sample:
<clsServiceTypeTechnicians xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Partners"> <ID>1</ID> <ServiceTypeID>2</ServiceTypeID> <TechnicianID>3</TechnicianID> </clsServiceTypeTechnicians>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ServiceTypeTechnicianModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceTypeID | integer |
None. |
|
| TechnicianID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceTypeID": 1,
"TechnicianID": 2
},
{
"ServiceTypeID": 1,
"TechnicianID": 2
}
]
application/xml, text/xml
Sample:
<ArrayOfServiceTypeTechnicianModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO">
<ServiceTypeTechnicianModel>
<ServiceTypeID>1</ServiceTypeID>
<TechnicianID>2</TechnicianID>
</ServiceTypeTechnicianModel>
<ServiceTypeTechnicianModel>
<ServiceTypeID>1</ServiceTypeID>
<TechnicianID>2</TechnicianID>
</ServiceTypeTechnicianModel>
</ArrayOfServiceTypeTechnicianModel>