Update an individual timesheet line
PUT https://api.yourpayroll.com.au/api/v2/business/{businessId}/manager/timesheet/{timesheetLineId}
Parameter name | Value | Description | Additional |
---|---|---|---|
timesheetLineId | int32 | Required | |
businessId | string | Required |
The request body takes a complete IndividualTimesheetLineModel resource, containing the following writable properties:
{
"attachmentId": "int32",
"breaks": [
{
"endTime": "date-time",
"startTime": "date-time"
}
],
"classification": "string",
"classificationId": "int32",
"comments": "string",
"employeeId": "int32",
"endTime": "date-time",
"externalId": "string",
"fullyQualifiedLocationName": "string",
"hiddenComments": "string",
"id": "int32",
"leaveCategoryId": "int32",
"locationId": "int32",
"payCategoryId": "int32",
"rate": "double",
"shiftConditionIds": [
"int32"
],
"shiftConditions": [
{
"id": "int32",
"name": "string"
}
],
"source": "string",
"startTime": "date-time",
"status": "string",
"units": "double",
"workType": "string",
"workTypeId": "int32"
}
Name | Type | Description |
---|---|---|
attachmentId | int32 |
Nullable |
breaks[] | array | |
breaks[].endTime | date-time |
Nullable |
breaks[].startTime | date-time |
Nullable |
classification | string | String |
classificationId | int32 |
Nullable |
comments | string | String |
employeeId | int32 | Int32 |
endTime | date-time |
Nullable |
externalId | string | String |
fullyQualifiedLocationName | string | String |
hiddenComments | string | String |
id | int32 | Int32 |
leaveCategoryId | int32 |
Nullable |
locationId | int32 |
Nullable |
payCategoryId | int32 |
Nullable |
rate | double |
Nullable |
shiftConditionIds[] | array of int32 | |
shiftConditions[] | array | |
shiftConditions[].id | int32 | Int32 |
shiftConditions[].name | string | String |
source | string |
ExternalService
Possible values are:
|
startTime | date-time |
Nullable |
status | string | String |
units | double |
Nullable |
workType | string | String |
workTypeId | int32 |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |