update_trailer_units

The update_trailer_units function is used to update the list of units selected for the automatic assignment of trailers.

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

Parameters

NameDescription
itemIdResource ID.
unitsThe array of unit IDs.

Returned result

Copied!
{
	"trlrun":[<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_TRAILERS).
6Failed to update or undefined error.
4Wrong input parameters.
Download PDF file
Download Word document

See also