v1
latestOpenAPI 3.0.22026-07-17373198641.7 KBdocument
v1
Get info about related objects for ready-to-delete document type.
post/api/v1/document/document-types/{uid}/pre_delete/
Path parameters
uidstring required
A UUID string identifying this document type.
Request body
Example request
{
"metadata": "{}",
"code": "code",
"fields_data": [
{
"classifier_init_script": "classifier_init_script",
"vectorizer_stop_words": "vectorizer_stop_words",
"metadata": "{}",
"code": "code",
"allow_values_not_specified_in_choices": true,
"description": "description",
"modified_by__name": "modified_by__name",
"long_code": "long_code",
"title": "title",
"type": "address",
"value_regexp": "value_regexp",
"trained_after_documents_number": 314780941,
"unsure_choice_value": "unsure_choice_value",
"uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"read_only": true,
"depends_on_fields": [
"046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"046b6c7f-0b8a-43b9-b35d-6489e6daee91"
],
"value_aware": true,
"requires_text_annotations": true,
"created_by__name": "created_by__name",
"hide_until_python": "hide_until_python",
"document_type": "document_type",
"order": 19750,
"convert_decimals_to_floats_in_formula_args": true,
"dirty": true,
"confidence": "High",
"hide_until_js": "hide_until_js",
"default_value": "{}",
"value_detection_strategy_name": "value_detection_strategy_name",
"modified_date": "2000-01-23T04:56:07.000+00:00",
"unsure_thresholds_by_value": "{}",
"text_unit_type": "sentence",
"mlflow_model_uri": "mlflow_model_uri",
"document_type__title": "document_type__title",
"display_yes_no": true,
"training_finished": true,
"mlflow_detect_on_document_level": true,
"formula": "formula",
"value_detection_strategy": "disabled",
"hidden_always": true,
"created_date": "2000-01-23T04:56:07.000+00:00",
"category": {
"name": "name",
"id": 0,
"order": 441289069
},
"family": 0,
"choices": [
"choices",
"choices"
],
"is_value_detection_strategy_disabled": true
},
{
"classifier_init_script": "classifier_init_script",
"vectorizer_stop_words": "vectorizer_stop_words",
"metadata": "{}",
"code": "code",
"allow_values_not_specified_in_choices": true,
"description": "description",
"modified_by__name": "modified_by__name",
"long_code": "long_code",
"title": "title",
"type": "address",
"value_regexp": "value_regexp",
"trained_after_documents_number": 314780941,
"unsure_choice_value": "unsure_choice_value",
"uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"read_only": true,
"depends_on_fields": [
"046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"046b6c7f-0b8a-43b9-b35d-6489e6daee91"
],
"value_aware": true,
"requires_text_annotations": true,
"created_by__name": "created_by__name",
"hide_until_python": "hide_until_python",
"document_type": "document_type",
"order": 19750,
"convert_decimals_to_floats_in_formula_args": true,
"dirty": true,
"confidence": "High",
"hide_until_js": "hide_until_js",
"default_value": "{}",
"value_detection_strategy_name": "value_detection_strategy_name",
"modified_date": "2000-01-23T04:56:07.000+00:00",
"unsure_thresholds_by_value": "{}",
"text_unit_type": "sentence",
"mlflow_model_uri": "mlflow_model_uri",
"document_type__title": "document_type__title",
"display_yes_no": true,
"training_finished": true,
"mlflow_detect_on_document_level": true,
"formula": "formula",
"value_detection_strategy": "disabled",
"hidden_always": true,
"created_date": "2000-01-23T04:56:07.000+00:00",
"category": {
"name": "name",
"id": 0,
"order": 441289069
},
"family": 0,
"choices": [
"choices",
"choices"
],
"is_value_detection_strategy_disabled": true
}
],
"search_fields": [
"search_fields",
"search_fields"
],
"modified_by__name": "modified_by__name",
"title": "title",
"modified_date": "2000-01-23T04:56:07.000+00:00",
"uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"created_by__name": "created_by__name",
"created_date": "2000-01-23T04:56:07.000+00:00",
"categories": [
{
"name": "name",
"id": 5,
"order": -1158723813
},
{
"name": "name",
"id": 5,
"order": -1158723813
}
],
"fields_number": 5,
"editor_type": "save_by_field",
"managers": [
7,
7
]
}Response
object required