cURL
curl --request GET \ --url https://agents.textin.com/doc-agent/api/v1/claims/{claimId}/materials/category-mappings \ --header 'x-api-key: <x-api-key>'
{ "materials": [ { "category": "费用与结算", "confidence_status": 2, "file_name": "发票.jpg", "file_size": "1133773", "file_type": ".jpg", "material_id": "material-1234", "material_type": "纸质住院发票", "status": 2 } ], "status": "2" }
获取材料分类
案件ID
材料ID 不传材料ID时,获取案件下所有材料的分类结果
OK
材料分类结果
Show child attributes
[ { "category": "费用与结算", "confidence_status": 2, "file_name": "发票.jpg", "file_size": "1133773", "file_type": ".jpg", "material_id": "material-1234", "material_type": "纸质住院发票", "status": 2 }]
status 0 未开始 1 进行中 2 成功 3 失败
"2"