Appearance
TimeEntryType
API to manage time entry types. Time entry types can be used to categorize time entries.
OpenAPI Spec
List TimeEntryTypes
GET
/v1/time-entry-types
List TimeEntryTypes
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Query Parameters
page
Type
number
Minimum
0Default
0size
Type
number
Minimum
1Maximum
20Default
10id
eventTypeId
name
isUnassigned
deactivatedAt
order
externalId
createdAt
updatedAt
Responses
List response
application/json
{
"page": 0,
"pages": 0,
"size": 10,
"items": [
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}
Create a new TimeEntryType
POST
/v1/time-entry-types
Create a new TimeEntryType
Authorizations
apiKey
Type
HTTP (bearer)
Request Body
application/json
{
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 1,
"externalId": "string"
}
Responses
TimeEntryType found
application/json
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
Get a TimeEntryType
GET
/v1/time-entry-types/{timeEntryTypeId}
Get a TimeEntryType by ID
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Path Parameters
timeEntryTypeId*
Type
Requiredinteger
Format
"int32"Responses
TimeEntryType found
application/json
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}
Update a TimeEntryType
PATCH
/v1/time-entry-types/{timeEntryTypeId}
Update a TimeEntryType by ID
Authorizations
apiKey
Type
HTTP (bearer)
Parameters
Path Parameters
timeEntryTypeId*
Type
Requiredinteger
Format
"int32"Request Body
application/json
{
"name": "string",
"order": 1,
"deactivatedAt": "string",
"externalId": "string"
}
Responses
TimeEntryType found
application/json
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}