/departments
Changed onList departments
get/departments
Request
- Base URLhttps://develop.snipeitapp.com/api/v1
- URLhttps://develop.snipeitapp.com/api/v1/departments
- Authnone required
Query parameters
namestring
company_idinteger
manager_idinteger
location_idinteger
Response
200
Example response
{
"total": 6,
"rows": [
{
"id": 1,
"name": "Human Resources",
"location": {
"id": 2,
"name": "North Alanis"
},
"users_count": "8",
"created_at": {
"datetime": "2022-11-15 08:42:05",
"formatted": "Tue Nov 15, 2022 8:42AM"
},
"updated_at": {
"datetime": "2022-11-15 08:42:05",
"formatted": "Tue Nov 15, 2022 8:42AM"
},
"available_actions": {
"update": true
}
}
]
}Changes
- info
endpoint added
- info