/hardware
Changed onCreates a new asset
post/hardware
Request
- Base URLhttps://develop.snipeitapp.com/api/v1
- URLhttps://develop.snipeitapp.com/api/v1/hardware
- Authnone required
Request body
Response
200
Example response
{
"status": "success",
"messages": "Asset created successfully. :)",
"payload": {
"model_id": 1,
"asset_tag": "SNIPE-IT-RULES",
"user_id": 2,
"archived": "0",
"physical": "1",
"depreciate": "0",
"status_id": 1,
"updated_at": "2017-10-19 08:43:45",
"created_at": "2017-10-19 08:43:45",
"id": 180,
"model": {
"id": 1,
"name": "Macbook Pro 13\"",
"model_number": "4929525240061",
"manufacturer_id": 1,
"category_id": 1,
"created_at": "2017-10-18 21:00:07",
"updated_at": "2017-10-18 21:00:07",
"depreciation_id": 1,
"eol": 36,
"notes": "Created by demo seeder"
}
}
}Changes
- info
endpoint added
- info