Skip to content

TimeEntryType


OpenAPI Spec

GET
/v1/time-entry-types/spec

Get OpenAPI 3.1.0 spec for TimeEntryType API

Responses

Returns OpenAPI 3.1.0 spec for TimeEntryType API

application/json
JSON
{
}

Playground

Samples

cURL
JavaScript
PHP
Python

List TimeEntryTypes

GET
/v1/time-entry-types

List TimeEntryTypes

Authorizations

apiKey
TypeHTTP (bearer)

Parameters

Query Parameters

page
Typenumber
Minimum0
Default0
size
Typenumber
Minimum1
Maximum20
Default10
id
eventTypeId
name
isUnassigned
Typeboolean
deactivatedAt
order
externalId
createdAt
updatedAt

Responses

List response

application/json
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"
}
]
}

Playground

Server
Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python

Create a new TimeEntryType

POST
/v1/time-entry-types

Create a new TimeEntryType

Authorizations

apiKey
TypeHTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 1,
"externalId": "string"
}

Responses

TimeEntryType found

application/json
JSON
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}

Playground

Server
Authorization
Body

Samples

cURL
JavaScript
PHP
Python

Get a TimeEntryType

GET
/v1/time-entry-types/{timeEntryTypeId}

Get a TimeEntryType by ID

Authorizations

apiKey
TypeHTTP (bearer)

Parameters

Path Parameters

timeEntryTypeId*
Typeinteger
Required
Format"int32"

Responses

TimeEntryType found

application/json
JSON
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}

Playground

Server
Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python

Update a TimeEntryType

PATCH
/v1/time-entry-types/{timeEntryTypeId}

Update a TimeEntryType by ID

Authorizations

apiKey
TypeHTTP (bearer)

Parameters

Path Parameters

timeEntryTypeId*
Typeinteger
Required
Format"int32"

Request Body

application/json
JSON
{
"name": "string",
"order": 1,
"deactivatedAt": "string",
"externalId": "string"
}

Responses

TimeEntryType found

application/json
JSON
{
"id": 0,
"name": "string",
"isUnassigned": true,
"eventTypeId": 0,
"order": 0,
"deactivatedAt": "string",
"externalId": "string",
"createdAt": "string",
"updatedAt": "string"
}

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python