Custom Fields v2
Set values for entity
post /api/http/custom-fields-v2/values/{entity}
|
Request arguments |
|---|
entity: string in one of the formats
(Path) ( Required ) | object with fields: |
|
Get all values for entity
get /api/http/custom-fields-v2/values/{entity}
|
Request arguments |
|---|
entity: string in one of the formats
(Path) ( Required ) |
|
Set single value
post /api/http/custom-fields-v2/values/{entity}/{customField}
|
Request arguments |
|---|
entity: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | object with fields: |
|
Get single value
get /api/http/custom-fields-v2/values/{entity}/{customField}
|
Request arguments |
|---|
entity: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) |
|
Create custom field
post /api/http/custom-fields-v2/{entityType}/fields
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | object with fields: name: string ( Required )
type: CustomFieldType ( Required )
multivalued: boolean ( Optional , defaults to false)
parameters: CFCreateParameters ( Nullable and Optional , defaults to null)
required: boolean ( Optional , defaults to false)
defaultValue: CFInputValue ( Nullable and Optional , defaults to null)
constraint: CFConstraint ( Nullable and Optional , defaults to null)
description: string ( Nullable and Optional , defaults to null)
order: integer (format: int32) ( Nullable and Optional , defaults to null)
|
|
Get custom fields
get /api/http/custom-fields-v2/{entityType}/fields
Get all configured custom fields for an entity type
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | withArchived: boolean (Query) ( Optional , defaults to false)
|
|
Reorder custom fields
post /api/http/custom-fields-v2/{entityType}/fields/reorder
Re-order custom fields. Pass identifiers of the custom fields in the order you wish the custom fields to be.
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | object with fields: |
|
Archive custom field
post /api/http/custom-fields-v2/{entityType}/fields/{customField}/archive
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) |
|
Restore custom field
post /api/http/custom-fields-v2/{entityType}/fields/{customField}/restore
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) |
|
Get single custom field
get /api/http/custom-fields-v2/{entityType}/fields/{customField}
Get configured custom field
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) |
|
Update custom field
patch /api/http/custom-fields-v2/{entityType}/fields/{customField}
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | object with fields: name: string ( Nullable and Optional , defaults to null)
parameters: CFUpdateParameters ( Nullable and Optional , defaults to null)
required: boolean ( Nullable and Optional , defaults to null)
defaultValue: CFInputValue ( Nullable and Optional , defaults to null)
constraint: CFConstraint ( Nullable and Optional , defaults to null)
description: string ( Nullable and Optional , defaults to null)
|
|
Delete custom field
delete /api/http/custom-fields-v2/{entityType}/fields/{customField}
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) |
|
Create enum value
post /api/http/custom-fields-v2/{entityType}/fields/{customField}/enum-values
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | object with fields: |
|
Get enum values
get /api/http/custom-fields-v2/{entityType}/fields/{customField}/enum-values
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | query: string (Query) ( Nullable and Optional , defaults to null)
| ordering: EnumValueOrdering (Query) ( Nullable and Optional , defaults to "NAME_ASC")
| addedByProfileId: string (Query) ( Nullable and Optional , defaults to null)
| $skip: string (Query) ( Nullable and Optional , defaults to null)
| $top: integer (format: int32) (Query) ( Nullable and Optional , defaults to 100)
|
Response |
|---|
object with fields: next: string ( Required )
totalCount: integer (format: int32) ( Nullable and Optional , defaults to null)
data: array of CFEnumValue ( Required )
|
|
Update enum value
patch /api/http/custom-fields-v2/{entityType}/fields/{customField}/enum-values
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | object with fields: |
|
Bulk update enum values
post /api/http/custom-fields-v2/{entityType}/fields/{customField}/enum-values/bulk-update
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | object with fields: |
|
Delete enum value
delete /api/http/custom-fields-v2/{entityType}/fields/{customField}/enum-values/{enumValueToRemove}
|
Request arguments |
|---|
entityType: string in one of the formats
(Path) ( Required ) | customField: string in one of the formats
(Path) ( Required ) | enumValueToRemove: string in one of the formats
(Path) ( Required ) |
|
Last modified: 06 September 2023