Adds or updates a qualification for an employee.

Request

POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/qualification

Path parameters

Parameter name Value Description Additional
businessId string Required
employeeId string Required

Request body

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

{
    "documents": [
        {
            "dateCreated": "date-time",
            "id": "int32",
            "name": "string",
            "visible": "boolean"
        }
    ],
    "expiryDate": "date-time",
    "name": "string",
    "qualificationId": "int32",
    "referenceNumber": "string"
}

Properties

Name Type Description
documents[] array
documents[].dateCreated date-time DateTime
documents[].id int32 Int32
documents[].name string String
documents[].visible boolean Boolean
expiryDate date-time Nullable
name string String
qualificationId int32 Int32
referenceNumber string String

Response

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

Status code Description Resource
200 OK

OK