Time entry template

get template fields

get

/api/2.0/templates/timeEntry

Authorizations
Responses
curl -L \
  --url 'https://tracket.dev/api/2.0/templates/timeEntry'
{
  "id": "text",
  "fields": [
    {
      "id": "text",
      "label": "text",
      "isRequired": true,
      "defaultOption": "text",
      "type": "single-select"
    }
  ],
  "_links": {
    "self": {
      "href": "text"
    }
  }
}

Retrieve custom field options

get

/api/2.0/templates/timeEntry/fields/{customFieldId}/options

Authorizations
Path parameters
customFieldIdstringrequired
Query parameters
afterstring
beforestring
searchstring
includeArchivedboolean
sizeinteger · int64 · min: 1
Responses
curl -L \
  --url 'https://tracket.dev/api/2.0/templates/timeEntry/fields/{customFieldId}/options'
{
  "size": 1,
  "total": 1,
  "next-cursor": "text",
  "items": [
    {
      "fieldId": "text",
      "optionId": "text",
      "label": "text",
      "isArchived": true
    }
  ],
  "_links": {
    "self": {
      "href": "text"
    },
    "prev": {
      "href": "text"
    },
    "next": {
      "href": "text"
    }
  }
}

Last updated

Was this helpful?