Changes the kiosk PIN for an employee, given their old PIN.

Request

POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/kiosk/{kioskId}/changepin

Path parameters

Parameter name Value Description Additional
kioskId int32 Required
businessId string Required

Request body

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

{
    "employeeId": "int32",
    "newPin": "string",
    "oldPin": "string"
}

Properties

Name Type Description
employeeId int32 Nullable
newPin string String
oldPin string String

Response

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

Status code Description Resource
200 OK

OK