/hardware/:id/licenses
Changed onGet the licenses checked out to an asset
get/hardware/{id}/licenses
Request
- Base URLhttps://develop.snipeitapp.com/api/v1
- URLhttps://develop.snipeitapp.com/api/v1/hardware/{id}/licenses
- Authnone required
Path parameters
idinteger required
The id (not the asset tag) of the asset you'd like to query
Response
200
Example response
{
"total": 1,
"rows": [
{
"id": 2,
"name": "Acrobat",
"manufacturer": {
"id": 9,
"name": "Adobe"
},
"product_key": "d344600b-276c-3c08-9e40-633013b6bd17",
"order_number": "4448995",
"purchase_date": {
"date": "2018-07-04",
"formatted": "2018-07-04"
},
"purchase_cost": "29.99",
"notes": "Created by DB seeder",
"expiration_date": {
"date": "2021-03-23",
"formatted": "2021-03-23"
},
"seats": 10,
"license_name": "Mr. Alvah Shanahan PhD",
"license_email": "stracke.serena@example.net",
"supplier": {
"id": 1,
"name": "Krajcik and Sons"
},
"category": {
"id": 14,
"name": "Graphics Software"
},
"created_at": {
"datetime": "2018-12-05 15:38:02",
"formatted": "2018-12-05 03:38 PM"
},
"updated_at": {
"datetime": "2018-12-05 15:38:02",
"formatted": "2018-12-05 03:38 PM"
},
"available_actions": {
"checkout": true,
"checkin": true,
"clone": true,
"update": true,
"delete": true
}
}
]
}Changes
- info
endpoint added
- info