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
TypeHTTP (bearer)
Parameters
Query Parameters
page
Typenumber
Minimum
0Default
0size
Typenumber
Minimum
1Maximum
20Default
10id
eventTypeId
name
isUnassigned
Typeboolean
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
TypeHTTP (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
TypeHTTP (bearer)
Parameters
Path Parameters
timeEntryTypeId*
Typeinteger
RequiredFormat
"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
TypeHTTP (bearer)
Parameters
Path Parameters
timeEntryTypeId*
Typeinteger
RequiredFormat
"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"
}