rest/controller/[id]/tag/[id]/setid

rest/controller/[id]/tag/[id]/setid

URL

http://<<ip address>>/rest/controller/«controllerno»/tag/«tagid»/setid

Method

PUT

Description

Change the id of the tag.

controllerno is a number, tagid is an PTL ident (in the case of ATOP, this is also a number).

For the standardised PTL cabinet, controller 1 is the front, controller 2 is the back. Tag IDs are numbered from 11 upwards (left-to-right, bottom-to-top).

Request

{ "newid": «new tag id» }

newid must be a string, in the case of ATOP, allowed new tag ids are between ”1” and ”250”.

Response

HTTP204 when successful

Possible Errors

HTTP400 when request was invalid

{ "message": «human readable error» }

HTTP404 without error message if controller does not exist

Note when the cabinet sides setting is set to frontonly, controller 2 will not be available and this will result in an HTTP404.

Remarks

Added in 2.4.0