POST api/ServiceType/Technicians

Request Information

URI Parameters

None.

Body Parameters

Collection of clsServiceTypeTechnicians
NameDescriptionTypeAdditional information
ID

integer

None.

ServiceTypeID

integer

None.

TechnicianID

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "ServiceTypeID": 2,
    "TechnicianID": 3
  },
  {
    "ID": 1,
    "ServiceTypeID": 2,
    "TechnicianID": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfclsServiceTypeTechnicians xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Partners">
  <clsServiceTypeTechnicians>
    <ID>1</ID>
    <ServiceTypeID>2</ServiceTypeID>
    <TechnicianID>3</TechnicianID>
  </clsServiceTypeTechnicians>
  <clsServiceTypeTechnicians>
    <ID>1</ID>
    <ServiceTypeID>2</ServiceTypeID>
    <TechnicianID>3</TechnicianID>
  </clsServiceTypeTechnicians>
</ArrayOfclsServiceTypeTechnicians>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ServiceTypeTechnicianModel
NameDescriptionTypeAdditional 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>