ファイルカテゴリのフィールド一覧を取得
curl --request GET \
--url https://docflow.textin.com/api/app-api/sip/platform/v2/category/fields/list \
--header 'x-ti-app-id: <api-key>' \
--header 'x-ti-secret-code: <api-key>'{
"code": 200,
"msg": "<string>",
"result": {
"fields": [
{
"name": "インボイスコード",
"description": "インボイスコードの説明",
"prompt": "<string>",
"use_prompt": true,
"alias": [
"インボイス No.",
"請求書番号"
],
"identity": "invoice_number",
"multi_value": true,
"duplicate_value_distinct": true,
"transform_settings": {
"datetime_settings": {
"format": "yyyy-MM-dd"
},
"enumerate_settings": {
"items": [
"VAT 専用インボイス",
"VAT 一般インボイス",
"電子インボイス"
]
},
"regex_settings": {
"match": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"replace": "$1/$2/$3"
},
"mismatch_action": {
"default_value": "N/A"
}
},
"id": "1234567890",
"extract_model": "Model 1"
}
],
"tables": [
{
"id": "1234567890",
"name": "Table 1",
"description": "テーブルの説明",
"prompt": "各行から品目名、数量、金額を抽出します",
"collect_from_multi_table": true,
"extract_model": "Model 1",
"fields": [
{
"name": "インボイスコード",
"description": "インボイスコードの説明",
"prompt": "<string>",
"use_prompt": true,
"alias": [
"インボイス No.",
"請求書番号"
],
"identity": "invoice_number",
"multi_value": true,
"duplicate_value_distinct": true,
"transform_settings": {
"datetime_settings": {
"format": "yyyy-MM-dd"
},
"enumerate_settings": {
"items": [
"VAT 専用インボイス",
"VAT 一般インボイス",
"電子インボイス"
]
},
"regex_settings": {
"match": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"replace": "$1/$2/$3"
},
"mismatch_action": {
"default_value": "N/A"
}
},
"id": "1234567890",
"extract_model": "Model 1"
}
]
}
]
}
}ファイルカテゴリ
ファイルカテゴリのフィールド一覧を取得
ファイルカテゴリのフィールド一覧を取得します。通常フィールドとテーブル(テーブルフィールドを含む)を含みます
GET
/
api
/
app-api
/
sip
/
platform
/
v2
/
category
/
fields
/
list
ファイルカテゴリのフィールド一覧を取得
curl --request GET \
--url https://docflow.textin.com/api/app-api/sip/platform/v2/category/fields/list \
--header 'x-ti-app-id: <api-key>' \
--header 'x-ti-secret-code: <api-key>'{
"code": 200,
"msg": "<string>",
"result": {
"fields": [
{
"name": "インボイスコード",
"description": "インボイスコードの説明",
"prompt": "<string>",
"use_prompt": true,
"alias": [
"インボイス No.",
"請求書番号"
],
"identity": "invoice_number",
"multi_value": true,
"duplicate_value_distinct": true,
"transform_settings": {
"datetime_settings": {
"format": "yyyy-MM-dd"
},
"enumerate_settings": {
"items": [
"VAT 専用インボイス",
"VAT 一般インボイス",
"電子インボイス"
]
},
"regex_settings": {
"match": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"replace": "$1/$2/$3"
},
"mismatch_action": {
"default_value": "N/A"
}
},
"id": "1234567890",
"extract_model": "Model 1"
}
],
"tables": [
{
"id": "1234567890",
"name": "Table 1",
"description": "テーブルの説明",
"prompt": "各行から品目名、数量、金額を抽出します",
"collect_from_multi_table": true,
"extract_model": "Model 1",
"fields": [
{
"name": "インボイスコード",
"description": "インボイスコードの説明",
"prompt": "<string>",
"use_prompt": true,
"alias": [
"インボイス No.",
"請求書番号"
],
"identity": "invoice_number",
"multi_value": true,
"duplicate_value_distinct": true,
"transform_settings": {
"datetime_settings": {
"format": "yyyy-MM-dd"
},
"enumerate_settings": {
"items": [
"VAT 専用インボイス",
"VAT 一般インボイス",
"電子インボイス"
]
},
"regex_settings": {
"match": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"replace": "$1/$2/$3"
},
"mismatch_action": {
"default_value": "N/A"
}
},
"id": "1234567890",
"extract_model": "Model 1"
}
]
}
]
}
}⌘I

