update_tag_message

The update_tag_message function is used to update or delete the message of binding a tag. The tags are used when assigning or separating passengers.

Copied!
svc=resource/update_tag_message&params={"resourceId":<long>,
										"unitId":<long>,
										"tagId":<long>,
										"time":<uint>,
										"callMode":"<text>"}

Parameters

NameDescription
resourceIdResource ID.
unitId

The unit ID to change for assignment, 0 — to change for separation.

Only required for the "update" mode. 

tagIdTag ID.
timeTime.
callModeMode: update or delete. 

Returned result 

If the request is successful, an empty JSON is returned.

Copied!
{ }

If not, an error code is returned. Possible error codes:

CodeDescription
7Failed to fetch the resource with the desired ACL (ADF_ACL_AVL_RES_EDIT_TAGS or ADF_ACL_ITEM_VIEW).
4Wrong input parameters.
3

Failed to fetch messages.

Download PDF file
Download Word document

See also