POST Api/Employee/RestrictEmployeetoDevice
Request Information
URI Parameters
None.
Body Parameters
RestrictEmployeetoDevice| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceID | globally unique identifier |
None. |
|
| EmployeeID | globally unique identifier |
None. |
|
| RestrictKeyBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceID": "ec3e3d8f-c3ed-49a4-ac47-4bf9ede0c8d3",
"EmployeeID": "45589b1a-7f30-4c62-acd8-193e953fcc2d",
"RestrictKeyBy": "sample string 3"
}
application/xml, text/xml
Sample:
<RestrictEmployeetoDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevelAPI.Models"> <DeviceID>ec3e3d8f-c3ed-49a4-ac47-4bf9ede0c8d3</DeviceID> <EmployeeID>45589b1a-7f30-4c62-acd8-193e953fcc2d</EmployeeID> <RestrictKeyBy>sample string 3</RestrictKeyBy> </RestrictEmployeetoDevice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |