批量添加第三方触点场景业务类型

更新时间:2021-11-16 12:13:11

接口说明

触点场景需要对接第三方的业务场景,并且根据不同的业务场景类型生成场景数据,该接口用于提供自定义场景类型。

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/scene-third/batch-add-scene-third-type

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
o body string retesting 对应云服务租户号
business_data body array 业务json数据
business_data.system_name body string 测试系统 第三方系统名称
business_data.business_code body string test 第三方触点业务code
business_data.business_name body string 测试类型 第三方触点业务名称
business_data.rule_name body string 完成后 规则名称
business_data.scope_type body string project 组织架构类型
business_data.sort body string 1 排序号

请求示例

{
  "o": "retesting",
  "business_data": [
    {
      "system_name": "测试系统",
      "business_code": "test",
      "business_name": "测试类型",
      "rule_name": "完成后",
      "scope_type": "project",
      "sort": "1"
    }
  ]
}

返回成功示例

{"errcode":0,"errmsg":"ok","data":true}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 0:成功;非0:失败
errmsg string 失败具体原因
data bool 描述信息

失败返回示例

{"errcode":"10015","errmsg":"o参数不能为空"}

返回参数说明(失败)

参数名 参数类型 描述
errcode string 非0:失败
errmsg string 失败原因

results matching ""

    No results matching ""