Description
Returns the list of categories of an organization.
The current user must have administrator rights.
URL
https://api.skriv.com/v1/organization/getCategories/orgId
| Field | Type | Description |
|---|---|---|
| orgId | int | Organization ID |
Response
List of categories (see below).
Category
| Field | Type | Description |
|---|---|---|
| id | int | Category ID |
| dateCreation | datetime | Creation date |
| name | string | Category name |
| color | enum | Category color: 'red', 'pink', 'purple', 'blue', 'green', 'amber', 'deeporange', 'gray', 'black' |