POST api/payroll/staff/staff-device-sync
Staff Device Sync .
Request Information
URI Parameters
None.
Body Parameters
Systemic.Model.Payroll.mlStaff+StaffSyncDetails| Name | description | Type | Additional information |
|---|---|---|---|
| StaffSysID | integer |
None. |
|
| BioID | integer |
None. |
|
| StaffID | integer |
None. |
|
| StaffName | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"StaffSysID": 1,
"BioID": 2,
"StaffID": 3,
"StaffName": "sample string 4"
}
text/xml
Sample:
<mlStaff.StaffSyncDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Payroll"> <BioID>2</BioID> <StaffID>3</StaffID> <StaffName>sample string 4</StaffName> <StaffSysID>1</StaffSysID> </mlStaff.StaffSyncDetails>
response Information
Resource description
ServerResponse.
Api.Server.ServerResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
None. |
|
| success | Api.Server.MlSuccess |
None. |
|
| failure | Api.Server.MlError |
None. |
response Formats
application/json, text/json, text/html
Sample:
{
"response": "sample string 1",
"success": null,
"failure": null
}
text/xml
Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server"> <failure i:nil="true" /> <response>sample string 1</response> <success i:nil="true" /> </ServerResponse>