customFields

Returns custom fields for the specified project.

Changed on

Returns definitions linked directly to the project or through a workflow. <Check title="Required Permissions" icon="key">The user must have project-master-data:read permission or access to at least one task in the project.</Check>

get/projects/{projectId}/customfielddefinitions

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/projects/{projectId}/customfielddefinitions
  • Auth: HTTP bearer

Path parameters

projectIdstring uuid required

The id of the project.

Response

OK

idstring uuid

The id of the custom field definition.

namestring nullable

The name of the custom field definition.

entity'task' | 'project'

The entity the custom field definition can be linked to.

type'text' | 'number' | 'date' | 'datetime' | 'select' | 'coloredSelect' | 'link' | 'boolean' | 'user' | 'client'

The type of the custom field definition.

createdOnstring date-time

The date this entity was created.

createdBystring uuid

The id of the user who created this entity.

updatedOnstring date-time

The date this entity was last modified.

updatedBystring uuid

The id of the user who last modified this entity.

ordernumber double nullable

If it's a project custom field, it's the global order of the custom field definition. Otherwise, it's the order of the custom field definition within a project template or a project.

isExternalboolean

True if this entity is coming from an external workspace (awork Connect).

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id GetProjectCustomFieldDefinitionsByProjectId removed and replaced with customFields_GetProjectCustomFieldDefinitionsByProjectId