Click or drag to resize

UpdateUserTimePunchObjectPunchUpdates Property

A TimeSlicePreModel object representing the updates that should be made to the Punch specified in the OriginalPunch object. * Required Property

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public TimeSlicePreModel PunchUpdates { get; set; }

Property Value

TimeSlicePreModel
Remarks
Caution note  Caution
When creating your PunchUpdates object it is important to ensure that you only set values for properties you wish to change. With the exception of required fields, Passing a non-null value will indicate that a record should be updated. If you wish to leave the property as it already exists on the timecard set its value to null and it will be ignored.
Example
PunchUpdates Object
"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