注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 千牛业务API

qimen.taobao.qianniu.autotask.remindpay.strategy.get (查询催付策略)

查询催付策略

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
options Options 可选 options
  • └ traceId
  • String
  • 可选
  • xxxxxxx
  • traceId
  • └ elementId
  • String
  • 可选
  • xxxx
  • 流程实例节点ID
  • └ instId
  • String
  • 可选
  • 968977121092217359
  • 流程实例ID
  • └ processKey
  • String
  • 可选
  • auto_task_remind_pay
  • 流程KEY
  • └ scene
  • String
  • 可选
  • remind_pay
  • 业务场景
bizData BizData 可选 业务数据
  • └ sellerId
  • Number
  • 可选
  • 12345
  • 商家ID
  • └ bizOrderId
  • String
  • 可选
  • "123456789"
  • 订单ID
  • └ onSilentOrder
  • Boolean
  • 可选
  • false
  • 是否静默单
  • └ buyerId
  • Number
  • 可选
  • 123456
  • 买家ID
  • └ buyer_open_uid
  • String
  • 可选
  • 1
  • 替代买家id作为唯一标识

响应参数

名称 类型 示例值 描述
data Data data
  • options
  • Options
  • options
  • └ sync
  • Boolean
  • true
  • 是否同步,设置为true
  • bizData
  • BizData
  • 业务数据
  • └ failedToRemindTimeoutMs
  • Number
  • 10000
  • 催付失败超时时间,催付消息发送后超过该时间没有支付认为催付失败;
  • └ processFailedToRemindAccountId
  • Number
  • 12345
  • 催付失败跟进账号,如果该账号在线由该账号跟进,如果不在线由分流系统返回在线账号跟进;
  • └ processFailedToRemindGroupId
  • Number
  • 12345
  • 催付失败跟进组,由分流系统返回的该组内在线账号跟进;
  • └ remindDelayMs
  • Number
  • 1000
  • 催付消息延迟发送时间
  • └ onAccountId
  • Number
  • 12345
  • 催付消息发送账号
  • └ remindMsg
  • String
  • xxxx
  • 催付消息文案
  • └ send
  • Boolean
  • false
  • 是否发送催付消息
  • └ processFailedToRemind
  • Boolean
  • false
  • 催付失败是否跟进,配合 processFailedToRemindAccountId、processFailedToRemindGroupId使用;
sucess Boolean true 调用是否成功
errorCode String xxx 错误code
errorMsg String xxxx 错误文案

请求示例

{"options":{"traceId":"xxxxxxx","elementId":"xxxx","instId":"968977121092217359","processKey":"auto_task_remind_pay","scene":"remind_pay"},"bizData":{"buyer_open_uid":"1","sellerId":12345,"bizOrderId":"\"123456789\"","onSilentOrder":false,"buyerId":123456}}

响应示例

{
    "data":{
        "options":{
            "sync":true
        },
        "bizData":{
            "failedToRemindTimeoutMs":10000,
            "processFailedToRemindAccountId":12345,
            "processFailedToRemindGroupId":12345,
            "remindDelayMs":1000,
            "onAccountId":12345,
            "remindMsg":"xxxx",
            "send":false,
            "processFailedToRemind":false
        }
    },
    "sucess":true,
    "errorCode":"xxx",
    "errorMsg":"xxxx"
}

验签示例

{"sucess":"false","errorCode":"sign-check-failure","errorMsg":"Illegal request"}

错误码解释

错误码 错误描述 解决方案
isp.http-read-timeout
response-body-parse-error

API工具

FAQ

返回
顶部