Skip to main content
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
getRulesByClassificationIdNo
Review Rule List
curl --request POST \
  --url https://docflow.textin.ai/api/app-api/sip/platform/v2/review/getRulesByClassificationIdNo \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '{
  "classificationIdNoList": [
    123
  ],
  "workspaceIdNo": 123,
  "fileBatchNo": "abcd"
}'
{
  "code": 200,
  "data": [
    {
      "id": 1,
      "reviewRuleIdNo": 1,
      "reviewRuleType": "single",
      "reviewRulePrompt": "Review rule prompt content",
      "fileBatchNo": "abcd",
      "reviewRuleName": "abcd",
      "workspaceIdNo": 1234,
      "classificationIdNoList": [
        1234
      ],
      "version": 1,
      "fieldInfoList": [
        {
          "fieldId": 1234,
          "fieldName": "Name",
          "blockType": 0,
          "tableId": -1,
          "tableName": "Table1",
          "classificationIdNo": 123,
          "classificationName": "ID Card"
        }
      ]
    }
  ],
  "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 task queue information list based on classification ID - Request VO

workspaceIdNo
string
required

Workspace ID

Example:

123

fileBatchNo
string
required

File batch number

Example:

"abcd"

classificationIdNoList
string[]

Classification ID list

Classification ID

Response

200 - */*

OK

code
integer

Status code

Example:

200

data
object[]
msg
string

Status message

Example:

"Success"

traceId
string

Trace ID

Example:

"1234abcd"

I