Updates the employer liability category with the specified ID.

Request

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

Path parameters

Parameter name Value Description Additional
id int32 Required
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",
    "isSuperannuationFund": "boolean",
    "name": "string",
    "showTotalPayments": "boolean"
}

Properties

Name Type Description
canBeDeleted boolean Boolean
externalReferenceId string String
hideFromPaySlips boolean Boolean
id int32 Int32
includeInShiftCosts boolean Boolean
isSuperannuationFund boolean Boolean
name string String
showTotalPayments boolean Boolean

Response

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

Status code Description Resource
200 OK

OK