UpdateUserTimePunchObject Class | |
An object representing a single punch and the updates that should be made to it.
Inheritance Hierarchy SystemObject AppOne.Services.V2.ContractsUpdateUserTimePunchObject Namespace: AppOne.Services.V2.ContractsAssembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax public class UpdateUserTimePunchObject
AppOne.Services.V2.Contracts.UpdateUserTimePunchObject = function();
Type.createClass(
'AppOne.Services.V2.Contracts.UpdateUserTimePunchObject');
The UpdateUserTimePunchObject type exposes the following members.
Properties | Name | Description |
---|
| ID |
An ID specified by the API caller. This value is echoed back in the response to provide the status of the update.
* Required Property |
| OriginalPunch |
A PunchInformation object which represents the data necessary to find an existing punch in the system which will be updated.
* Required Property |
| PunchUpdates |
A TimeSlicePreModel object representing the updates that should be made to the Punch specified in the OriginalPunch object.
* Required Property |
TopExample UpdateUserTimePunchObject Object
{
"ID": 1,
"OriginalPunch": {
"TransactionDateTime": "\/Date(1689152400000)\/",
"EmpIdentifier": "adm",
"BadgeNumber": "",
"TransactionType": 2
},
"PunchUpdates": {
"LaborLevel1": "1",
"LaborLevel2": "5",
"LaborLevel3": null,
"LaborLevel4": null,
"LaborLevel5": null,
"LaborLevel6": null,
"LaborLevel7": null,
"LaborLevel8": null,
"LaborLevel9": null,
"LaborLevel10": null,
"LaborLevel11": null,
"LaborLevel12": null,
"LaborLevel13": null,
"LaborLevel14": null,
"LaborLevel15": null,
"TransactionType": 2,
"TransactionDateTime": "\/Date(1689156000000)\/"
}
}
See Also