_containerList

Returns rows from the stock_container table listing stock items allocated to a selected container (i.e. a user, vehicle, or location).

Parameters

id

Integer. The ID of the container.

type

Integer. The type of the container.

Recognised types:

  • 1 - User

  • 2 - Vehicle

  • 3 - Location

Example

FM_api('Stock_containerList',
		[
			'id'=>'1234',
			'type'=>'1'
		]
	);

Result

On Success

Example result for type=1 (user):

On Failure

If no container ID provided:

If no type provided:

Last updated