update_tag_units

The update_tag_units function is used to update the list of units selected for the automatic assignment of tags in a resource. The tags are used when assigning or separating passengers.

Copied!
svc=resource/update_tag_units&params={"itemId":<long>,
				      				  "units":[<long>]}

Parameters

NameDescription
itemIdResource ID.
unitsThe array of unit IDs.

Returned result

Copied!
{
	"tagrun":[<long>]	/* array of units for automatic assignment */
}

Possible error codes:

CodeDescription
7Failed to fetch the resource with the desired ACL (ADF_ACL_AVL_RES_EDIT_TAGS).
6Failed to update.
4Wrong input parameters.
Download PDF file
Download Word document

See also