Updates the employee expense category with the specified ID.

Request

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

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId string Required

Request body

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

{
    "description": "string",
    "externalId": "string",
    "externalReferenceId": "string",
    "externalTaxCodeId": "string",
    "generalLedgerMappingCode": "string",
    "id": "int32",
    "name": "string",
    "taxCode": "string",
    "taxRate": "double"
}

Properties

Name Type Description
description string String
externalId string String
externalReferenceId string String
externalTaxCodeId string String
generalLedgerMappingCode string String
id int32 Int32
name string String
taxCode string String
taxRate double Nullable

Response

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

Status code Description Resource
200 OK

OK