customFields

Sets custom field values for a project.

Changed on

Sets the submitted custom field values on the specified project. <Check title="Required Permissions" icon="key">The user must have project-master-data:write permission for the project.</Check>

post/projects/{projectId}/setcustomfields

Request

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

Path parameters

projectIdstring uuid required

The id of the project.

Request body

customFieldDefinitionIdstring uuid required

The custom field definition id.

userIdValuestring uuid nullable

The user id. The user id can be set for custom field type 'user'.

clientIdValuestring uuid nullable

The client id. The client id can be set for custom field type 'client'.

numberValuenumber double nullable

The number value. The number value can be set for custom field type 'number'.

selectionOptionIdValuestring uuid nullable

The selection option id value. The id can be set for custom field types 'select' and 'coloredSelect'.

textValuestring nullable

The text value. The text value can be set for custom field types 'text' and 'link'.

dateValuestring date-time nullable

The date value. The date value can be set for custom field types 'date' and 'datetime'.

booleanValueboolean nullable

The boolean value. The boolean value can be set for custom field type 'boolean'.

Response

No Content

object required

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PostProjectSetCustomFieldsByProjectId removed and replaced with customFields_PostProjectSetCustomFieldsByProjectId