Creates a new work type for the business.
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/worktype
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete AuWorkTypeModel resource, containing the following writable properties:
{
"accruesLeave": "boolean",
"awardPackageId": "int32",
"awardPackageName": "string",
"employmentTypes": [
"string"
],
"externalId": "string",
"id": "int32",
"leaveCategoryId": "int32",
"mappingType": "string",
"name": "string",
"payCategoryId": "int32",
"shortCode": "string",
"source": "string"
}
Name | Type | Description |
---|---|---|
accruesLeave | boolean | Boolean |
awardPackageId | int32 |
Nullable |
awardPackageName | string | String |
employmentTypes[] | array of string |
Possible values are:
|
externalId | string | String |
id | int32 | Int32 |
leaveCategoryId | int32 |
Nullable |
mappingType | string |
Nullable Possible values are:
|
name | string | String |
payCategoryId | int32 |
Nullable |
shortCode | string | String |
source | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
AuWorkTypeModel |
Powered by DapperDox