/users/:id/licenses
Changed onGet a list of licenses checked out to the user
get/users/{id}/licenses
Request
- Base URLhttps://develop.snipeitapp.com/api/v1
- URLhttps://develop.snipeitapp.com/api/v1/users/{id}/licenses
- Authnone required
Path parameters
idinteger required
User id
Response
200
Example response
{
"total": 1,
"rows": [
{
"id": 2,
"name": "Acrobat",
"manufacturer": {
"id": 9,
"name": "Adobe"
},
"product_key": "935d7ada-f202-3a50-bf26-e6955b9ef675",
"order_number": "13745264",
"purchase_date": {
"date": "2018-06-27",
"formatted": "2018-06-27"
},
"purchase_cost": "29.99",
"notes": "Created by DB seeder",
"expiration_date": {
"date": "2019-07-01",
"formatted": "2019-07-01"
},
"seats": 10,
"license_name": "Sheridan Wilderman",
"license_email": "timothy30@example.com",
"supplier": {
"id": 1,
"name": "Schimmel-Keebler"
},
"category": {
"id": 14,
"name": "Graphics Software"
},
"created_at": {
"datetime": "2018-09-29 22:43:02",
"formatted": "2018-09-29 22:43"
},
"updated_at": {
"datetime": "2019-01-21 14:24:06",
"formatted": "2019-01-21 14:24"
},
"available_actions": {
"checkout": true,
"checkin": true,
"clone": true,
"update": true,
"delete": true
}
}
]
}Changes
- info
endpoint added
- info