POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
listReviewRuleAndTask
Review Rule Task List
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/review/listReviewRuleAndTask \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '{
  "workspaceIdNo": 1234,
  "fileBatchNo": "abcd",
  "classificationIdNoList": [
    1234
  ]
}'
{
  "code": 200,
  "data": [
    {
      "reviewRule": {
        "id": 1,
        "reviewRuleIdNo": 123,
        "reviewRuleType": "single",
        "reviewRulePrompt": "Review rule prompt content",
        "fileBatchNo": "abcd",
        "reviewRuleName": "Review rule name",
        "workspaceIdNo": 123456,
        "classificationIdNoList": [
          1234
        ],
        "version": 1,
        "fieldInfoList": [
          {
            "fieldId": 1234,
            "fieldName": "Name",
            "blockType": 0,
            "tableId": -1,
            "tableName": "Table1",
            "classificationIdNo": 123,
            "classificationName": "ID Card"
          }
        ]
      },
      "latestReviewRuleTask": {
        "gmtCreate": "<string>",
        "gmtModified": "<string>",
        "creatorId": 1,
        "operatorId": 1,
        "deleted": 0,
        "id": 1,
        "reviewRuleIdNo": 1,
        "reviewRuleVersion": 1,
        "processStatus": 1,
        "thinkOutput": "Thinking output content",
        "evalOutput": "Evaluation output content",
        "bindingTaskIds": [
          1234
        ],
        "resultHighlights": [
          {
            "fileId": 12345,
            "taskId": 1234,
            "text": "Text content",
            "position": [
              1
            ],
            "page": 0,
            "angel": 0,
            "startPos": 0,
            "endPos": 100
          }
        ],
        "evalResult": true,
        "duration": 100,
        "eval": false,
        "manualAuditStatus": 0,
        "manualAuditMessage": "Manual annotation content"
      }
    }
  ],
  "msg": "Success",
  "traceId": "1234abcd"
}

Authorizations

x-ti-app-id
string
header
required
x-ti-secret-code
string
header
required

Headers

x-ti-app-id
string
required

x-ti-app-id

Example:

"1234abcd"

x-ti-secret-code
string
required

x-ti-secret-code

Example:

"1234abcd"

Body

application/json

Return review rule and task list Request VO

Response

200 - */*

OK

The response is of type object.