/accessories
Changed onReturn a listing of accessories
get/accessories
Request
- Base URLhttps://develop.snipeitapp.com/api/v1
- URLhttps://develop.snipeitapp.com/api/v1/accessories
- Authnone required
Query parameters
limitinteger
Specify the number of results you wish to return
offsetinteger
Offset to use
searchstring
A text string to search the assets data for
order_numberstring
Return only assets associated with a specific order number
sortstring
Specify the column name you wish to sort by
orderstring
Specify the order (asc or desc) you wish to order by on your sort column
expandstring
Whether to include detailed information on categories, etc (true) or just the text name (false)
Response
200
Example response
{
"total": 4,
"rows": [
{
"id": 1,
"name": "USB Keyboard",
"manufacturer": {
"id": 1,
"name": "Apple"
},
"supplier": {
"id": 1,
"name": "Beier, Von and Schoen"
},
"model_number": "2033154",
"category": {
"id": 8,
"name": "Keyboards"
},
"location": {
"id": 5,
"name": "South Fred"
},
"qty": 15,
"min_qty": 2,
"remaining_qty": 15,
"created_at": {
"datetime": "2018-10-09 19:07:31",
"formatted": "2018-10-09 07:07 PM"
},
"updated_at": {
"datetime": "2018-10-09 19:07:31",
"formatted": "2018-10-09 07:07 PM"
},
"available_actions": {
"checkout": true,
"update": true,
"delete": true
},
"user_can_checkout": true
}
]
}Changes
- info
endpoint added
- info