List Models
Returns a list of models.
Basic Parameters
Parameter | Description |
---|---|
Return All Pages | Automatically fetch all resources, page by page. |
Search | Search string. |
Advanced Parameters
Parameter | Description |
---|---|
Limit | Number of records to return. |
Offset | Offset to use when retrieving results (useful in pagination). |
Order | Sort order (asc or desc). |
Sort | Field to order by. |
Example Output
{
"total": 18,
"rows": [
{
"id": 1,
"name": "Macbook Pro 13"",
"manufacturer": null,
"image": "https://develop.snipeitapp.com/uploads/models/mbp.jpg",
"model_number": "2433661381679820",
"depreciation": {
"id": 1,
"name": "Computer Depreciation"
},
"assets_count": 0,
"category": {
"id": 1,
"name": "Laptops"
},
"fieldset": null,
"default_fieldset_values": [],
"eol": "36 months",
"requestable": false,
"notes": "Created by demo seeder",
"created_at": {
"datetime": "2023-02-23 03:42:04",
"formatted": "Thu Feb 23, 2023 3:42AM"
},
"updated_at": {
"datetime": "2023-02-23 03:42:04",
"formatted": "Thu Feb 23, 2023 3:42AM"
},
"deleted_at": null,
"available_actions": {
"update": true,
"delete": true,
"clone": true,
"restore": false
}
},
{
"id": 2,
"name": "Macbook Air",
"manufacturer": {
"id": 1,
"name": "Apple"
},
"image": "https://develop.snipeitapp.com/uploads/models/macbookair.jpg",
"model_number": "4556440633089683",
"depreciation": {
"id": 1,
"name": "Computer Depreciation"
},
"assets_count": 0,
"category": {
"id": 1,
"name": "Laptops"
},
"fieldset": null,
"default_fieldset_values": [],
"eol": "36 months",
"requestable": false,
"notes": "Created by demo seeder",
"created_at": {
"datetime": "2023-02-23 03:42:04",
"formatted": "Thu Feb 23, 2023 3:42AM"
},
"updated_at": {
"datetime": "2023-02-23 03:42:04",
"formatted": "Thu Feb 23, 2023 3:42AM"
},
"deleted_at": null,
"available_actions": {
"update": true,
"delete": true,
"clone": true,
"restore": false
}
}
]
}
Workflow Library Example
List Models with Snipe It and Send Results Via Email