update_tag_message

The update_tag_message method 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

Name Description
resourceId Resource ID.
unitId The unit ID to change for assignment, 0 — to change for separation.
Only required for the “update” mode.
tagId Tag ID.
time Time.
callMode Mode: 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:

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

If you find a mistake in the text, please select it and press Ctrl+Enter.