Custom Field Choices are possible values for 'single'
and 'multi'
type custom fields.
Returns all possible choices for all 'single'
and 'multi'
type custom fields on the requester's account.
This endpoint returns structured Custom Field Choice objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the custom_field_choices
top-level JSON key.
Please see our Response Format section for more information.
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "custom_field_choices": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "custom_field_id": "string",
- "external_reference_ids": [
- "string"
], - "label": "string",
- "position": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "custom_field_id": "string",
- "external_reference_ids": [
- "string"
], - "label": "string",
- "position": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "external_references": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "custom_fields": {
- "property1": {
- "choice_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "custom_field_set_id": "string",
- "default_text": "string",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "read_access": 0,
- "unique_constraint": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "value_type": "string",
- "write_access": 0
}, - "property2": {
- "choice_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "custom_field_set_id": "string",
- "default_text": "string",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "read_access": 0,
- "unique_constraint": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "value_type": "string",
- "write_access": 0
}
}
}