POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
create
创建审核规则
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/review/create \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '{
  "ruleName": "审核规则123",
  "rulePrompt": "审核规则提示内容",
  "classificationIdNoList": [
    123
  ],
  "fileBatchNo": "abcd",
  "workspaceIdNo": 123,
  "fields": [
    {
      "classificationIdNo": 1234,
      "classificationName": "身份证",
      "basicFields": [
        {
          "fieldId": 1234,
          "fieldName": "卡号"
        }
      ],
      "tableFields": [
        {
          "tableId": -1,
          "tableName": "Table1",
          "fields": [
            {
              "fieldId": 1234,
              "fieldName": "卡号"
            }
          ]
        }
      ]
    }
  ]
}'
{
  "code": 200,
  "data": {
    "ruleIdNo": 1234
  },
  "msg": "成功",
  "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

创建规则ReqVO

Response

200 - */*

OK

The response is of type object.