POST api/Technician
Request Information
URI Parameters
None.
Body Parameters
TechnicianModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PartnerDescription | string |
None. |
|
| PartnerID | integer |
None. |
|
| Firstname | string |
None. |
|
| Surname | string |
None. |
|
| IsActive | boolean |
None. |
|
| HoursPerDay | decimal number |
None. |
|
| UserID | integer |
None. |
|
| DailyValueGoal | decimal number |
None. |
|
| UserSalutation |
User salutation only for display -to change user, change the userid |
string |
None. |
| TechnicianIdentifier | globally unique identifier |
None. |
|
| POSEmployeeID | string |
None. |
|
| SortOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PartnerDescription": "sample string 2",
"PartnerID": 3,
"Firstname": "sample string 4",
"Surname": "sample string 5",
"IsActive": true,
"HoursPerDay": 7.1,
"UserID": 8,
"DailyValueGoal": 9.0,
"UserSalutation": "sample string 10",
"TechnicianIdentifier": "562f0d2a-39a2-477b-8e12-c478e6f69998",
"POSEmployeeID": "sample string 12",
"SortOrder": 13
}
application/xml, text/xml
Sample:
<TechnicianModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO"> <DailyValueGoal>9</DailyValueGoal> <Firstname>sample string 4</Firstname> <HoursPerDay>7.1</HoursPerDay> <ID>1</ID> <IsActive>true</IsActive> <POSEmployeeID>sample string 12</POSEmployeeID> <PartnerDescription>sample string 2</PartnerDescription> <PartnerID>3</PartnerID> <SortOrder>13</SortOrder> <Surname>sample string 5</Surname> <TechnicianIdentifier>562f0d2a-39a2-477b-8e12-c478e6f69998</TechnicianIdentifier> <UserID>8</UserID> <UserSalutation>sample string 10</UserSalutation> </TechnicianModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TechnicianModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PartnerDescription | string |
None. |
|
| PartnerID | integer |
None. |
|
| Firstname | string |
None. |
|
| Surname | string |
None. |
|
| IsActive | boolean |
None. |
|
| HoursPerDay | decimal number |
None. |
|
| UserID | integer |
None. |
|
| DailyValueGoal | decimal number |
None. |
|
| UserSalutation |
User salutation only for display -to change user, change the userid |
string |
None. |
| TechnicianIdentifier | globally unique identifier |
None. |
|
| POSEmployeeID | string |
None. |
|
| SortOrder | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"PartnerDescription": "sample string 2",
"PartnerID": 3,
"Firstname": "sample string 4",
"Surname": "sample string 5",
"IsActive": true,
"HoursPerDay": 7.1,
"UserID": 8,
"DailyValueGoal": 9.0,
"UserSalutation": "sample string 10",
"TechnicianIdentifier": "0b9cf2dd-1544-49a5-ac54-02cec855299e",
"POSEmployeeID": "sample string 12",
"SortOrder": 13
}
application/xml, text/xml
Sample:
<TechnicianModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO"> <DailyValueGoal>9</DailyValueGoal> <Firstname>sample string 4</Firstname> <HoursPerDay>7.1</HoursPerDay> <ID>1</ID> <IsActive>true</IsActive> <POSEmployeeID>sample string 12</POSEmployeeID> <PartnerDescription>sample string 2</PartnerDescription> <PartnerID>3</PartnerID> <SortOrder>13</SortOrder> <Surname>sample string 5</Surname> <TechnicianIdentifier>0b9cf2dd-1544-49a5-ac54-02cec855299e</TechnicianIdentifier> <UserID>8</UserID> <UserSalutation>sample string 10</UserSalutation> </TechnicianModel>