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 The resource doesn’t exist or the user doesn’t have the Create, edit, and delete passengers access right to it, or the unit doesn’t exist or the user doesn’t have the View object and its basic properties access right to it.
4 Wrong input parameters.
3 Failed to fetch messages.

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