Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The user interface on the touch screen is PIN-protected. These REST calls can be used to check and update the PIN.

URL

http://<<ip address>>/rest/pin/check

Method

PUT

Description

Check if a given PIN code is correct

Request

Code Block
languagejson
{
  "pin": «PIN»
}

Response

HTTP204 when pin valid

HTTP401 when pin invalid

Status

Status
colourGreen
titleimplemented

URL

http://<<ip address>>/rest/pin/update

Method

PUT

Description

Check if a given PIN code is correct

Request

Code Block
languagejson
{
  "oldpin": «PIN»,
  "newpin": «PIN»
}

Response

HTTP204 when updated

HTTP401 when oldpin invalid

HTTP400 when newpin invalid (must be numeric, 6 characters)

Status

StatuscolourGreentitleimplemented