MIDAS API

get_consumable_levels

Returns the current stock level of all consumable items
Required Parameters
This API command has no additional required parameters
Example Response
↓ Show
[
	{
	"consumable":"Flipchart Paper",
	"qty_remaining":"23",
	},
	{
	"consumable":"Permanent Marker Pens",
	"qty_remaining":"156",
	}
]
Variables ReturnedDescription
consumableThe name of the consumable
qty_remainingThe current stock level. If no stock quantity has been defined, "qty_remaining" will return "Unlimited"