Latest News: Celebrating our 15th anniversary | MIDAS v4.27 Out Now | COVID-19 Support

MIDAS API Addon 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":"Flip chart 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"