PUT 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": "cd57d5a7-4bb2-474f-984f-b2163a16d412",
"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>cd57d5a7-4bb2-474f-984f-b2163a16d412</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": "2ad77932-84de-484a-a78c-e3b1e2c523d1",
"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>2ad77932-84de-484a-a78c-e3b1e2c523d1</TechnicianIdentifier> <UserID>8</UserID> <UserSalutation>sample string 10</UserSalutation> </TechnicianModel>