# 制码方通知
### 电子凭证系统通知到制码方
#### **接口用途**
- 当电子凭证发生变更操作需要通知到制码方时,调用该接口。
#### **接口说明**
- 该接口为异步通知接口,电子凭证系统无需返回值,由ESB负责与外部系统交互。
- messageType字段的值在对接时确定,默认易百标准报文格式,赋值“Ebuy”;如果品牌方有规定格式,则值为“Third”。
- 队列名称:`whale.core.sendChannelNotify`
**请求参数,[WHALE](https://book.e-buy.com/books/e-buy-40/page/7f100#whale "易百电子凭证4.0系统的别称")===>ESB**
**通知报文主体**
字段 | 类型 | 是否必填 | 字段意义 | 备注 |
---|
channelId | String | 是 | 品牌id | |
notifyUrl | String | 是 | 通知地址 | |
notifyType | String | 是 | 通知类型 | |
messageType | String | 是 | 报文类型 | Ebuy:易百标准报文格式,Third:第三方自定义格式 |
whaleMessage | String | 是 | 易百标准报文 |
**易百标准报文:码状态更新通知**
- notifyType:`UpdateCodeStatus`
字段 | 类型 | 是否必填 | 字段意义 | 备注 |
---|
appId | String | 是 | 电子凭证系统对接方id | |
action | String | 是 | 业务标识 | UpdateCodeStatusNotify |
bizContent | JSONString<[updateCodeStatusNotify](https://book.e-buy.com/link/325#bkmrk-json%C2%A0key%E4%B8%BAupdatecodes "updateCodeStatusNotify")> | 是 | 更新码状态通知[json](https://book.e-buy.com/books/e-buy-40/page/7f100#json "网络通信时的一种数据交互格式")字符串 | |
version | String | 是 | 版本号 |
timestamp | String | 是 | 时间戳 | |
sign | String | 是 | 签名 |