Get accessories, optionally narrowed to stock and to one type
Return the list of accessories for your company. Pass unassigned: true to see only what is in stock — nobody owns it, so it can be handed out — and type to keep only one kind of accessory, so a request for a spare keyboard does not page through the whole inventory. The two combine: unassigned: true with type: "KEYBOARD" answers “is there a keyboard available?” in one call, and pagination.totalElements is how many there are. unassigned: false returns only accessories someone already holds. An accessory can have custom fields (see getAccessoryCustomFields).
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Query Parameters
Page number
1 <= x <= 9007199254740991Number of items per page (max 100)
1 <= x <= 100Narrow to stock: true returns only accessories with no owner, false only those currently assigned. Omit to return both.
Return only accessories of this type.
MONITOR, KEYBOARD, MOUSE, MOUSEPAD, WEBCAM, HEADSET, SPEAKER, CABLE_ADAPTER, HUB, CHARGER, STORAGE_DEVICE, LAPTOP_CASE, ERGONOMIC, SHIPPING_MATERIAL, FIDO_KEY, ACCESS_CARD, NETWORK_DEVICE, FIREWALL, ROUTER, SWITCH, OTHER