Versions Compared

Key

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

...

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
colourYellowGreen
titlependingimplemented

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, 4 6 characters)

Status

Status
colourYellowGreen
titlependingimplemented