POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
update
更新审核规则
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/review/update \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '{
  "ruleIdNo": 12345,
  "ruleName": "规则名称",
  "rulePrompt": "规则提示",
  "fields": [
    {
      "classificationIdNo": 1234,
      "classificationName": "身份证",
      "basicFields": [
        {
          "fieldId": 1234,
          "fieldName": "卡号"
        }
      ],
      "tableFields": [
        {
          "tableId": -1,
          "tableName": "Table1",
          "fields": [
            {
              "fieldId": 1234,
              "fieldName": "卡号"
            }
          ]
        }
      ]
    }
  ]
}'
{
  "code": 200,
  "data": {
    "version": 1
  },
  "msg": "成功",
  "traceId": "12345ABC"
}

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

更新规则请求入参

Response

200 - */*

OK

The response is of type object.