Authorization: ********************
{
"prev_id": 0,
"asc": true,
"page_size": 0
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/classifier/file_templates/list' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"prev_id": 0,
"asc": true,
"page_size": 0
}'
{
"file_templates": [
{
"file_template_id": 0,
"filename": "string",
"fields": [
{
"syntax_type": "string",
"entity_type": "CET_UNKNOWN",
"name": "string",
"format": "string",
"raw_value": "string"
}
],
"parse_opts": {
"csv": {
"has_header": true,
"skip_rows": 0,
"header": [
"string"
],
"separator": "string"
}
},
"constraints": {
"forbid": {
"property1": {
"types": [
"CET_UNKNOWN"
]
},
"property2": {
"types": [
"CET_UNKNOWN"
]
}
},
"allow": {
"property1": {
"types": [
"CET_UNKNOWN"
]
},
"property2": {
"types": [
"CET_UNKNOWN"
]
}
}
},
"foid": 0,
"opts": {
"date_formats": {
"property1": "string",
"property2": "string"
},
"rename_fields": {
"property1": "string",
"property2": "string"
},
"parse_opts": {
"csv": {
"has_header": true,
"skip_rows": 0,
"header": [
"string"
],
"separator": "string"
}
},
"constraints": {
"forbid": {
"property1": {
"types": [
"CET_UNKNOWN"
]
},
"property2": {
"types": [
"CET_UNKNOWN"
]
}
},
"allow": {
"property1": {
"types": [
"CET_UNKNOWN"
]
},
"property2": {
"types": [
"CET_UNKNOWN"
]
}
}
}
}
}
]
}