Click or drag to resize

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.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public class UpdateUserTimePunchObject

The UpdateUserTimePunchObject type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleID An ID specified by the API caller. This value is echoed back in the response to provide the status of the update. * Required Property
Public propertyCode exampleOriginalPunch A PunchInformation object which represents the data necessary to find an existing punch in the system which will be updated. * Required Property
Public propertyCode examplePunchUpdates A TimeSlicePreModel object representing the updates that should be made to the Punch specified in the OriginalPunch object. * Required Property
Top
Example
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