更新成本中心通知
消息说明:当更新成本中心时,推送此类消息
参数说明:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
messageId | String | Y | 唯一标识一条消息 |
type | String | Y | 消息类型,固定为cost_center_update |
sendtime | Long | Y | 消息推送时间戳(精确到秒) |
data | CostCenterUpdatePushMsg | Y | 推送消息 |
CostCenterUpdatePushMsg
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
costId | String | Y | 成本中心id |
parentId | String | Y | 上一级id |
name | String | Y | 成本中心名称 |
code | String | Y | 成本中心编码 |
expenseType | String | Y | 费用类型 |
expenseCode | String | Y | 费用编码 |
customFields | Map<String,String> | N | 自定义字段 |
消息样例:
{
"messageId":"1b7793ed066445cb929e50d3b492b28e",
"type":"cost_center_update",
"data":{
"costId":"51b52fe9b8a64b73aa420bfe73ac4a85",
"parentId":"0",
"name":"测试成本中心",
"code":"testcostcenter",
"expenseType":"1",
"expenseCode":"1",
"customFields":{
"测试自定义字段2":"23",
"测试自定义字段1":"测试",
"测试城市":"北京市"
}
},
"sendtime":1643194500
}