Skip to main content

品牌方通知

电子凭证系统通知到品牌渠道

接口用途

  • 当电子凭证发生变更操作需要通知到品牌渠道时,调用该接口。

接口说明

  • 该接口为异步通知接口,电子凭证系统无需返回值,由ESB负责与外部系统交互。
  • messageType字段的值在对接时确定,默认易百标准报文格式,赋值“ebuy”;如果品牌方有规定格式,则值为“third”。
  • 队列名称:whale.core.brandNotify

请求参数,WHALE===>ESB

通知报文主体

字段 类型 是否必填 字段意义 备注
channelId String 品牌id  
notifyUrl String 通知地址  
notifyType String 通知类型  
messageType String 报文类型 ebuy:易百标准报文格式,third:第三方自定义格式
whaleMessage String 易百标准报文

易百标准报文:制码通知

  • notifyType:MakeCode
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 MakeCodeNotify
bizContent JSONString<makeCodeNotify> 制码通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:制码订单作废

  • notifyType:MakeVoid
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 MakeVoidNotify
bizContent JSONString<makeVoidNotify> 制码订单作废通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码状态更新通知

  • notifyType:UpdateCodeStatus
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 UpdateCodeStatusNotify
bizContent JSONString<updateCodeStatusNotify> 更新码状态通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码延期通知

  • notifyType:CodeDelay
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 CodeDelayNotify
bizContent JSONString<codeDelayNotify> 码延期通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码过期通知

  • notifyType:CodeExpire
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 CodeExpireNotify
bizContent JSONString<codeExpireNotify> 码过期通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:串码核销

  • notifyType:Verify
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyNotify
bizContent JSONString<verifyNotify> 核销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:串码核销撤销

  • notifyType:VerifyVoid
字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyVoidNotify
bizContent JSONString<verifyVoidNotify> 核销撤销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名