This method will auto-generate an ID and create a new custom field. If an ID is specified for the custom field, an error will be thrown.
The custom field that you would like to be saved.
{- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all custom fields and and return them to the caller.
curl -i -X GET \ 'https://platform.api.756794052567.rhythmsoftware.com/customFields/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
]
This method will look up a custom field by the specified ID and return it back.
curl -i -X GET \ 'https://platform.api.756794052567.rhythmsoftware.com/customFields/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing custom field with the specified ID.
The updated custom field that will be saved.
{- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing custom field with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a custom field with the specified ID.
curl -i -X DELETE \ https://platform.api.756794052567.rhythmsoftware.com/customFields/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Returns a list of records with the specified service
curl -i -X GET \ 'https://platform.api.756794052567.rhythmsoftware.com/customFields/:tenantId/service/:service?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "display_order": 0,
- "service": "string",
- "name": "string",
- "form_prompt": "string",
- "type": "text",
- "acceptable_values": [
- {
- "label": "string",
- "value": "string"
}
], - "textbox_options": {
- "prepend_text": "string",
- "append_text": "string"
}, - "rating_options": {
- "maximum_rating": 0,
- "theme": "stars",
- "show_text": true,
- "meaning_of_minimum": "string",
- "meaning_of_maximum": "string"
}, - "complex_requirement_rules": {
- "all": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
], - "any": [
- {
- "any": { },
- "all": { },
- "fact": "string",
- "operator": "equal",
- "path": "string",
- "value": "string"
}
]
}, - "enable_parent_field_mapping": true,
- "parent_child_options": {
- "parent_field_id": "string",
- "field_mappings": [
- {
- "parent_field_value": "string",
- "child_field_values": [
- "string"
]
}
]
}, - "use_curated_dataset": true,
- "curated_dataset": "string",
- "enable_default_value": true,
- "default_value": { },
- "can_enter_new_values": true,
- "portal_accessibility": "write",
- "custom_object_id": "string",
- "use_first_value_as_default": true,
- "sort_values_alphabetically": true,
- "required": true,
- "optional_in_console": true,
- "number_of_decimal_places": 0,
- "maximum_number_of_words": 0,
- "help_text": "string",
- "reference_type": "string",
- "is_active": true,
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
TAllows you to perform up to 100 parallel patch/delete operations
The batch request
Array of objects |
{- "operations": [
- {
- "operation": "create",
- "id": "string",
- "patch_directives": [
- {
- "op": "add",
- "path": "string",
- "value": "string"
}
], - "object": { }
}
]
}
{- "success_count": 0,
- "error_count": 0,
- "results": [
- {
- "operation": "create",
- "id": "string",
- "outcome": "success",
- "error_message": "string",
- "object": { }
}
]
}