POST iclock/employee_sync
Request Information
URI Parameters
None.
Body Parameters
UserSyncRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeData | Collection of EmployeeInfo |
None. |
|
| batchUID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeData": [
{
"Pin": "sample string 1",
"Name": "sample string 2",
"IsAdmin": true,
"IsDelete": true
},
{
"Pin": "sample string 1",
"Name": "sample string 2",
"IsAdmin": true,
"IsDelete": true
}
],
"batchUID": "sample string 1"
}
application/xml, text/xml
Sample:
<AttPushController.UserSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZkAttPush">
<EmployeeData>
<AttPushController.EmployeeInfo>
<IsAdmin>true</IsAdmin>
<IsDelete>true</IsDelete>
<Name>sample string 2</Name>
<Pin>sample string 1</Pin>
</AttPushController.EmployeeInfo>
<AttPushController.EmployeeInfo>
<IsAdmin>true</IsAdmin>
<IsDelete>true</IsDelete>
<Name>sample string 2</Name>
<Pin>sample string 1</Pin>
</AttPushController.EmployeeInfo>
</EmployeeData>
<batchUID>sample string 1</batchUID>
</AttPushController.UserSyncRequest>
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. |