Creates an employer liability category for the business.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/employerliabilitycategory

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete EmployerLiabilityCategoryModel resource, containing the following writable properties:

{
    "canBeDeleted": "boolean",
    "externalReferenceId": "string",
    "hideFromPaySlips": "boolean",
    "id": "int32",
    "includeInShiftCosts": "boolean",
    "name": "string",
    "showTotalPayments": "boolean"
}

Properties

Name Type
canBeDeleted boolean
externalReferenceId string
hideFromPaySlips boolean
id int32
includeInShiftCosts boolean
name string
showTotalPayments boolean

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK