Appearance
AssignmentType
The kinds of assignment you define in the settings, such as maintenance or a new installation, each with its colour. They are set up in Artesa, so this API only reads them.
OpenAPI Spec
List AssignmentTypes
GET
/v2/assignment-types
List AssignmentTypes
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Query Parameters
page
Type
number
Minimum
0Default
0size
Type
number
Minimum
1Maximum
20Default
10uuid
deactivatedAt
createdAt
updatedAt
Responses
List response
application/json
JSON "page": 0, "pages": 0, "size": 10, "items": [ { "uuid": "string", "name": "string", "color": "string", "order": 0, "deactivatedAt": "string", "createdAt": "string", "updatedAt": "string" } ]
{
}
Get an AssignmentType
GET
/v2/assignment-types/{assignmentTypeUuid}
Get an AssignmentType by ID
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Path Parameters
assignmentTypeUuid*
Type
Requiredstring
Format
"uuid"Responses
AssignmentType found
application/json
JSON "uuid": "string", "name": "string", "color": "string", "order": 0, "deactivatedAt": "string", "createdAt": "string", "updatedAt": "string"
{
}