Appearance
消息和事件推送
第一步 验证消息的确来自艺天下服务器
开发者提交应用的消息推送URl信息后,每当有拍品相关事件艺天下服务器将发送POST请求到填写的消息推送地址URL上,POST请求携带参数如下表所示:
参数 | 必填 | 说明 |
---|---|---|
appid | 是 | appid |
timestamp | 是 | 时间戳 |
nonce | 是 | 随机字符串 |
sign | 是 | 加密签名,sign结合了开发者填写的token参数和请求中的timestamp参数、nonce参数。 |
data | 是 | 业务数据参数 |
type | 是 | 数据类型 |
开发者通过检验 sign 对请求进行校验(下面有校验方式)。确认请求来自艺天下服务器 加密/校验与请求Api签名方法一致
第二步 接收消息和事件
当某些特定的操作引发事件推送时(如用户出价时),艺天下服务器会将消息(或事件)的数据包以 POST 请求发送到应用配置的 URL,开发者可以依据自身业务逻辑进行响应。
服务器收到请求必须做出下述:直接回复success
公共请求参数说明
参数 | 必填 | 说明 |
---|---|---|
appid | 是 | appid |
nonce | 是 | 随机字符串 |
timestamp | 是 | 请求时间(秒) |
sign | 是 | 签名 |
type | 是 | 事件类型 |
data | 是 | 业务参数 |
同步拍品信息事件 auction_data
当在云代拍的专场列表拉取数据时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_data",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_info": {
"album_id": 1,
"album_name": "青花瓷瓶专场(一)",
"album_image": "http://dummyimage.com/100x100",
"start_time": 1637740800,
"end_time": 1637745480,
"album_status": 3,
"auction_num": 20,
"album_type": 3,
"reset_time": "60,100",
"is_live": 0,
"bond_type": 1,
"bond_bid_ratio": 0,
"bond_price": 10000,
"bond_status": 1,
"commission": {
"commission_ratio": 10,
"commission_time": 0,
"after_commission_ratio": 0
}
},
"auction_list": [
{
"auction_id": 3,
"auction_name": "朱恒 山水《李白诗意图》",
"auction_image": "http://dummyimage.com/100x100",
"auction_slider_image": [
"http://dummyimage.com/100x100",
"http://dummyimage.com/100x100"
],
"start_time": 1637740800,
"end_time": 1637745480,
"start_price": 1,
"plus_price": 0,
"top_price": 0,
"retain_price": 0,
"auction_status": 4,
"time_status": 3,
"lot": 16,
"sort": 16,
"album_id": 1,
"bond_price": 0,
"bid_type": 2,
"bid_range": [
{
"min": "0",
"max": "1000000",
"price": 0,
"type": 2
},
{
"min": "1000000",
"max": "10000000",
"price": 100000,
"type": 1
},
{
"min": "10000000",
"max": "∞",
"price": 500000,
"type": 1
}
]
}
],
"venue_info": {
"venue_id": 4912,
"venue_name": "保利秋季在线拍卖会",
"venue_image": "http://dummyimage.com/100x100",
"preview_start_time": 1585396800,
"preview_end_time": 1620981612,
"address_name": "北京大饭店"
}
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_data",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_info": {
"album_id": 1,
"album_name": "青花瓷瓶专场(一)",
"album_image": "http://dummyimage.com/100x100",
"start_time": 1637740800,
"end_time": 1637745480,
"album_status": 3,
"auction_num": 20,
"album_type": 3,
"reset_time": "60,100",
"is_live": 0,
"bond_type": 1,
"bond_bid_ratio": 0,
"bond_price": 10000,
"bond_status": 1,
"commission": {
"commission_ratio": 10,
"commission_time": 0,
"after_commission_ratio": 0
}
},
"auction_list": [
{
"auction_id": 3,
"auction_name": "朱恒 山水《李白诗意图》",
"auction_image": "http://dummyimage.com/100x100",
"auction_slider_image": [
"http://dummyimage.com/100x100",
"http://dummyimage.com/100x100"
],
"start_time": 1637740800,
"end_time": 1637745480,
"start_price": 1,
"plus_price": 0,
"top_price": 0,
"retain_price": 0,
"auction_status": 4,
"time_status": 3,
"lot": 16,
"sort": 16,
"album_id": 1,
"bond_price": 0,
"bid_type": 2,
"bid_range": [
{
"min": "0",
"max": "1000000",
"price": 0,
"type": 2
},
{
"min": "1000000",
"max": "10000000",
"price": 100000,
"type": 1
},
{
"min": "10000000",
"max": "∞",
"price": 500000,
"type": 1
}
]
}
],
"venue_info": {
"venue_id": 4912,
"venue_name": "保利秋季在线拍卖会",
"venue_image": "http://dummyimage.com/100x100",
"preview_start_time": 1585396800,
"preview_end_time": 1620981612,
"address_name": "北京大饭店"
}
}
}
专场信息数据模型
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
album_name | 专场名称 | string |
album_image | 专场封面图片 | string |
start_time | 开始时间 (时间戳 秒) | int |
end_time | 结束时间 (时间戳 秒) | int |
album_type | 专场类型 1限时拍 2即时拍 3同步拍 4即刻拍 | int |
auction_num | 拍品数量 | int |
album_status | 专场状态 1未开始 2进行中 3已结束 | int |
reset_time | 重置时间逗号分隔(120,10)最后120秒内出价延时10秒 | string |
is_live | 是否直播 0不直播 1直播 | int |
bond_type | 保证金类型 1固定金额 2比例保证金 | int |
bond_price | 固定保证金金额 单位:元(bond_type为1生效) | float |
bond_bid_ratio | 出价抵扣比例 1:10 (bond_type为2生效) | int |
bond_status | 保证金状态 0 未缴纳 1免保证金 | int |
commission | 佣金配置 | 佣金数据模型 |
佣金数据模型
参数 | 说明 | 类型 |
---|---|---|
commission_ratio | 佣金(百分比) | float |
commission_time | 佣金时间(秒级时间戳) | int |
after_commission_ratio | 到佣金时间之后的比例 | float |
拍品信息数据模型
参数 | 说明 | 类型 |
---|---|---|
auction_id | 拍品id | int |
auction_name | 拍品名称 | string |
auction_image | 拍品封面图片 | string |
auction_status | 拍品状态 1进行中 2 预展中 3拍品结束有保留价待确认 4 流拍 5成交 | int |
auction_slider_image | 拍品轮播图 | list |
start_time | 开始时间 (时间戳 秒) | int |
end_time | 结束时间 (时间戳 秒) | int |
start_price | 起拍价格 | float |
plus_price | 加价幅度 | float |
top_price | 封顶价格 | float |
retain_price | 保留价格 | float |
time_status | 时间状态 1预展中 2进行中 3拍品结束 | int |
lot | 图录号 | float |
sort | 排序(从小到大) | int |
album_id | 专场id | int |
bond_price | 单件拍品保证金(单位 元) | float |
bid_type | 出价规则 1固定幅度 2竞价阶梯 | float |
bid_range | 竞价阶梯 | array 竞价阶梯数据模型 |
old_auction_id | 重新上拍复用的拍品id(只有添加拍品事件会携带此参数) | int |
竞价阶梯数据模型
参数 | 说明 | 类型 |
---|---|---|
min | 阶梯最小金额 | string |
max | 阶梯最大金额 (∞为无穷大) | string |
price | 固定加价金额(当type为1时生效) | float |
type | 阶梯类型 1 固定加价金额 2 2580 3 三位2580 | int |
拍卖会信息数据模型
参数 | 说明 | 类型 |
---|---|---|
venue_id | 拍卖会id | int |
venue_name | 拍卖会名称 | string |
venue_image | 拍卖会图片 | string |
preview_start_time | 预展开始时间 | int |
preview_end_time | 预展结束时间 | int |
address_name | 拍卖会地址 | string |
专场开始事件 album_start
当专场开始时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_start",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"start_time": 1694603924
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_start",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"start_time": 1694603924
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
start_time | 开始时间 | int |
专场结束事件 album_end
当专场结束时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_end",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"end_time": 1694603924
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_end",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"end_time": 1694603924
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
end_time | 结束时间 | int |
专场数据更新事件 album_data_update
当专场数据发送修改时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_data_update",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"album_name": "青花瓷瓶专场(一)",
"album_image": "http://dummyimage.com/100x100",
"start_time": 1637740800,
"end_time": 1637745480,
"album_status": 3,
"auction_num": 20,
"album_type": 3,
"reset_time": "60,100",
"is_live": 0,
"bond_type": 1,
"bond_bid_ratio": 0,
"bond_price": 10000,
"commission": {
"commission_ratio": 10,
"commission_time": 0,
"after_commission_ratio": 0
},
"auction": [
{
"auction_id": 15,
"start_time": 1637740800,
"end_time": 1637740800
}
]
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_data_update",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"album_name": "青花瓷瓶专场(一)",
"album_image": "http://dummyimage.com/100x100",
"start_time": 1637740800,
"end_time": 1637745480,
"album_status": 3,
"auction_num": 20,
"album_type": 3,
"reset_time": "60,100",
"is_live": 0,
"bond_type": 1,
"bond_bid_ratio": 0,
"bond_price": 10000,
"commission": {
"commission_ratio": 10,
"commission_time": 0,
"after_commission_ratio": 0
},
"auction": [
{
"auction_id": 15,
"start_time": 1637740800,
"end_time": 1637740800
}
]
}
}
专场的拍品排序更新事件 album_auction_sort_update
当专场下的拍品排序发生改变时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_auction_sort_update",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction": [
{
"auction_id": 15,
"start_time": 1637740800,
"end_time": 1637740800,
"sort": 1
}
]
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_auction_sort_update",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction": [
{
"auction_id": 15,
"start_time": 1637740800,
"end_time": 1637740800,
"sort": 1
}
]
}
}
拍品数据添加事件 auction_data_add
当拍品数据发送修改时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_data_add",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"auction_id": 3,
"auction_name": "朱恒 山水《李白诗意图》",
"auction_image": "http://dummyimage.com/100x100",
"auction_slider_image": [
"http://dummyimage.com/100x100",
"http://dummyimage.com/100x100"
],
"start_time": 1637740800,
"end_time": 1637745480,
"start_price": 1,
"plus_price": 0,
"top_price": 0,
"retain_price": 0,
"auction_status": 4,
"time_status": 3,
"lot": 16,
"sort": 16,
"album_id": 1,
"bond_price": 0,
"bid_type": 2,
"old_auction_id": 0,
"bid_range": [
{
"min": 0,
"max": "1000000",
"price": "0",
"type": 2
},
{
"min": "1000000",
"max": "10000000",
"price": 100000,
"type": 1
},
{
"min": "10000000",
"max": "∞",
"price": 500000,
"type": 1
}
]
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "album_data_add",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"auction_id": 3,
"auction_name": "朱恒 山水《李白诗意图》",
"auction_image": "http://dummyimage.com/100x100",
"auction_slider_image": [
"http://dummyimage.com/100x100",
"http://dummyimage.com/100x100"
],
"start_time": 1637740800,
"end_time": 1637745480,
"start_price": 1,
"plus_price": 0,
"top_price": 0,
"retain_price": 0,
"auction_status": 4,
"time_status": 3,
"lot": 16,
"sort": 16,
"album_id": 1,
"bond_price": 0,
"bid_type": 2,
"old_auction_id": 0,
"bid_range": [
{
"min": 0,
"max": "1000000",
"price": "0",
"type": 2
},
{
"min": "1000000",
"max": "10000000",
"price": 100000,
"type": 1
},
{
"min": "10000000",
"max": "∞",
"price": 500000,
"type": 1
}
]
}
}
拍品数据更新事件 auction_data_update
当拍品数据发送修改时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_data_update",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"auction_id": 3,
"auction_name": "朱恒 山水《李白诗意图》",
"auction_image": "http://dummyimage.com/100x100",
"auction_slider_image": [
"http://dummyimage.com/100x100",
"http://dummyimage.com/100x100"
],
"start_time": 1637740800,
"end_time": 1637745480,
"start_price": 1,
"plus_price": 0,
"top_price": 0,
"retain_price": 0,
"auction_status": 4,
"time_status": 3,
"lot": 16,
"sort": 16,
"album_id": 1,
"bond_price": 0,
"bid_type": 2,
"bid_range": [
{
"min": 0,
"max": "1000000",
"price": "0",
"type": 2
},
{
"min": "1000000",
"max": "10000000",
"price": 100000,
"type": 1
},
{
"min": "10000000",
"max": "∞",
"price": 500000,
"type": 1
}
]
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_data_update",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"auction_id": 3,
"auction_name": "朱恒 山水《李白诗意图》",
"auction_image": "http://dummyimage.com/100x100",
"auction_slider_image": [
"http://dummyimage.com/100x100",
"http://dummyimage.com/100x100"
],
"start_time": 1637740800,
"end_time": 1637745480,
"start_price": 1,
"plus_price": 0,
"top_price": 0,
"retain_price": 0,
"auction_status": 4,
"time_status": 3,
"lot": 16,
"sort": 16,
"album_id": 1,
"bond_price": 0,
"bid_type": 2,
"bid_range": [
{
"min": 0,
"max": "1000000",
"price": "0",
"type": 2
},
{
"min": "1000000",
"max": "10000000",
"price": 100000,
"type": 1
},
{
"min": "10000000",
"max": "∞",
"price": 500000,
"type": 1
}
]
}
}
拍品开始事件 auction_start
当已同步的拍品到达开始时间后,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_start",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"start_time": 1637740800,
"start_price": 100
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_start",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"start_time": 1637740800,
"start_price": 100
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
start_time | 开始时间 | int |
start_time | 起拍价 | int |
拍品结束事件 auction_end
当已同步的拍品到达结束时间后,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_end",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"end_time": 1637740800,
"auction_status": 5,
"bid_id": 1,
"bid_price": 1000
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_end",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"end_time": 1637740800,
"auction_status": 5,
"bid_id": 1,
"bid_price": 1000
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
end_time | 结束时间 | int |
auction_status | 拍品状态 1进行中 2 预展中 3拍品结束有保留价待确认 4 流拍 5成交 | int |
bid_id | 最后一次出价id | int |
bid_price | 拍品价格 | float |
拍品保留价确认事件 auction_retain_confirm
当已结束的拍品被确认保留价后,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_retain_confirm",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"auction_status": 5,
"bid_id": 1,
"bid_price": 1000
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_retain_confirm",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"auction_status": 5,
"bid_id": 1,
"bid_price": 1000
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
auction_status | 拍品状态 1进行中 2 预展中 3拍品结束有保留价待确认 4 流拍 5成交 | int |
bid_id | 最后一次出价id | int |
bid_price | 拍品价格 | float |
拍品出价事件 bid_price
当已同步的拍品到达结束时间后,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "bid_price",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"bid_id": 154,
"bid_price": 100,
"is_confirm": 1,
"end_time": 1637740800,
"next_bid_price": 500,
"source_type": 3,
"source_platform_proxy_id": 12
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "bid_price",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"bid_id": 154,
"bid_price": 100,
"is_confirm": 1,
"end_time": 1637740800,
"next_bid_price": 500,
"source_type": 3,
"source_platform_proxy_id": 12
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
bid_id | 出价唯一ID | int |
bid_price | 出价金额(单位元) | float |
is_confirm | 是否确认(0未确认1已确认(只有同步拍的拍品需要确认)-1出价被取消) | int |
end_time | 结束时间 (需要跟接入方系统的现有拍品时间对比判断是否一致,如果不一致则更新) | int |
next_bid_price | 下一口价格 | float |
source_type | 出价来源 1网络出价 2 现场出价 3 代理平台出价 | int |
source_platform_proxy_id | 代理平台id | int |
拍品出价确认事件 bid_price_confirm
当拍卖师确认出价有效后,艺天下服务器会把这个事件推送到应用URL
- 只有同步拍会发送此事件
- 开发者需要根据bid_id参数确认出价信息
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "bid_price_confirm",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"bid_id": 154,
"status": 1
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "bid_price_confirm",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"bid_id": 154,
"status": 1
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
bid_id | 出价唯一ID | int |
status | 确认状态 1确认出价 -1出价无效 | int |
拍品重拍事件 auction_remake
当拍品重新拍卖时,艺天下服务器会把这个事件推送到应用URL
- 只有同步拍会发送此事件
- 只有专场当前没有进行中的拍品才会触发此事件
- 开发者需要根据bid_id参数确认出价信息
- 如果after_auction_id有值 auction_id插入到指定after_auction_id的后面
- 如果is_jump=1 auction_id跳转到当前待开拍的拍品前面
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_remake",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"after_auction_id": 154,
"is_jump": 0
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_remake",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"after_auction_id": 154,
"is_jump": 0
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
after_auction_id | 插入到指定拍品ID后面拍卖 | int |
is_jump | 是否跳拍(0不是 1是) | int |
拍品删除出价事件 auction_delbidprice
当拍品的最高出价被删除时,艺天下服务器会把这个事件推送到应用URL
- 只有同步拍会发送此事件
- 只有拍品的最高价可以删除
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_delbidprice",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"bid_id": 21,
"next_bid_id": 12
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_delbidprice",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"bid_id": 21,
"next_bid_id": 12
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
bid_id | 出价id(删除的出价记录id) | int |
next_bid_id | 下一口出价id(删除后的最高价记录id) | int |
拍品撤拍事件 auction_revoke
当拍品被撤拍时,艺天下服务器会把这个事件推送到应用URL
- 只有同步拍会发送此事件
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_revoke",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "auction_revoke",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
拍品订单发货 order_delivery
当拍品订单发货时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "order_delivery",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"delivery_type": 1,
"delivery_id": "SF1041184111",
"delivery_name": "顺丰快递"
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "order_delivery",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"delivery_type": 1,
"delivery_id": "SF1041184111",
"delivery_name": "顺丰快递"
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
delivery_type | 运输方式 1快递 2买家自提 3 委托他人自提 | int |
delivery_id | 快递单号 | string |
delivery_name | 快递公司 | string |
拍品订单取消 order_cancel
当拍品订单被取消时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "order_cancel",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"cancel_type": 1,
"bond_deduct_price": 500
}
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "fFChqz",
"type": "order_cancel",
"sign": "1F1CE68FFBC4E677B13629037915CBB3",
"data": {
"album_id": 1,
"auction_id": 1,
"cancel_type": 1,
"bond_deduct_price": 500
}
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
cancel_type | 取消类型 1 扣除保证金 2 解冻保证金 | int |
bond_deduct_price | 保证金扣除金额 | float |
修改拍品竞价规则 auction_edit_bidRange
当拍品修改竞价规则时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "yISTQn",
"type": "auction_edit_bidRange",
"data": {
"album_id": 27676,
"auction_id": 881788,
"bid_type": 2,
"plus_price": 0,
"bid_range": [
{
"min": "0",
"max": "∞",
"price": 20000,
"type": 1
}
]
},
"sign": "49B0010A7991CD8102A8824B1389BF45"
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "yISTQn",
"type": "auction_edit_bidRange",
"data": {
"album_id": 27676,
"auction_id": 881788,
"bid_type": 2,
"plus_price": 0,
"bid_range": [
{
"min": "0",
"max": "∞",
"price": 20000,
"type": 1
}
]
},
"sign": "49B0010A7991CD8102A8824B1389BF45"
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
auction_id | 拍品id | int |
bid_type | 出价规则 1固定幅度 2竞价阶梯 | int |
plus_price | 加价幅度 | float |
bid_range | 竞价阶梯 | array 竞价阶梯数据模型 |
直播流状态改变事件 live_stream_status
当直播的推流状态发生改变时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "yISTQn",
"type": "live_stream_status",
"data": {
"album_id": 27676,
"live_id": 1,
"status": 1
},
"sign": "49B0010A7991CD8102A8824B1389BF45"
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "yISTQn",
"type": "live_stream_status",
"data": {
"album_id": 27676,
"live_id": 1,
"status": 1
},
"sign": "49B0010A7991CD8102A8824B1389BF45"
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
album_id | 专场id | int |
live_id | 直播id | int |
status | 0直播断流 1直播推流中 2直播推流地址更新(请求获取专场直播播放地址更新推流地址) | int |
修改竞价阶梯 edit_bidRange
当商户修改竞价阶梯时,艺天下服务器会把这个事件推送到应用URL
完整消息示例
json
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "yISTQn",
"type": "edit_bidRange",
"data": {
"auction_list": [
{
"album_id": 1,
"auction_id": 2
}
],
"bid_range": [
{
"min": "0",
"max": "∞",
"price": 20000,
"type": 1
}
]
},
"sign": "49B0010A7991CD8102A8824B1389BF45"
}
{
"appid": "DeBk",
"timestamp": 1694603924,
"nonce": "yISTQn",
"type": "edit_bidRange",
"data": {
"auction_list": [
{
"album_id": 1,
"auction_id": 2
}
],
"bid_range": [
{
"min": "0",
"max": "∞",
"price": 20000,
"type": 1
}
]
},
"sign": "49B0010A7991CD8102A8824B1389BF45"
}
参数说明
参数 | 说明 | 类型 |
---|---|---|
auction_list | 要修改的拍品列表 | array |
bid_range | 竞价阶梯 | array 竞价阶梯数据模型 |