| 输出参数 | 类型 | 参数说明 |
|---|---|---|
| errcode | string | 返回码("0000" 表示成功) |
| description | string | 操作信息描述 |
| data | object | 扩展信息,无返回数据时为 null |
| traceId | string | 请求唯一标识,用于追踪和关联一次请求的整个生命周期 |
{
"taskType": "three_way_match",
"clientId": "client_001",
"taskData": {
"supplierId": "supplier_001",
"targetDocId": "invoice_A",
"userResult": [
{
"targetItemId": "A1",
"feedbackType": "ACCEPT",
"sourceTaskId": "task_1",
"candidateItem": [
{
"candidateItemId": "C1",
"candidateDocId": "receipt_1",
"allocatedAmount": 1200,
"allocatedQuantity": 30
}
]
},
{
"targetItemId": "A2",
"feedbackType": "MODIFY",
"sourceTaskId": "task_2",
"candidateItem": []
},
{
"targetItemId": "A3",
"feedbackType": "MANUAL",
"sourceTaskId": null,
"candidateItem": [
{
"candidateItemId": "C3",
"candidateDocId": "receipt_3",
"allocatedAmount": 100,
"allocatedQuantity": 2
}
]
}
],
"extraTargetUrl": "https://files.example.com/invoice_A.csv",
"extraCandidateUrl": "https://files.example.com/receipts.csv",
"settings": {
"matchMode": "2"
}
}
}curl --location --globoff '/ai/knowledge/aiService/feedback?access_token={{access_token}}' \
--header 'client-platform: common' \
--header 'Content-Type: application/json' \
--data '{
"taskType": "three_way_match",
"clientId": "client_001",
"taskData": {
"supplierId": "supplier_001",
"targetDocId": "invoice_A",
"userResult": [
{
"targetItemId": "A1",
"feedbackType": "ACCEPT",
"sourceTaskId": "task_1",
"candidateItem": [
{
"candidateItemId": "C1",
"candidateDocId": "receipt_1",
"allocatedAmount": 1200,
"allocatedQuantity": 30
}
]
},
{
"targetItemId": "A2",
"feedbackType": "MODIFY",
"sourceTaskId": "task_2",
"candidateItem": []
},
{
"targetItemId": "A3",
"feedbackType": "MANUAL",
"sourceTaskId": null,
"candidateItem": [
{
"candidateItemId": "C3",
"candidateDocId": "receipt_3",
"allocatedAmount": 100,
"allocatedQuantity": 2
}
]
}
],
"extraTargetUrl": "https://files.example.com/invoice_A.csv",
"extraCandidateUrl": "https://files.example.com/receipts.csv",
"settings": {
"matchMode": "2"
}
}
}'{
"errcode": "0000",
"description": "Success",
"data": null,
"traceId": "7003feb05690a2b34"
}