演出及商品信息查询

该接口用于演出及商品信息同步,会包含演出的场次、票档以及对应商品的价格、库存等信息。
该接口只返回在售的演出,如果已同步的演出不再出现在接口中,请对该演出进行下架。

GET /openapi/v2/activities{?pageIndex,pageSize,cityId,sign,appId,timeStamp}

参数 :

name 意义 取值
pageIndex 页数,从1开始 1
pageSize 每页大小,最大100 50
sign 签名 923E7DC7513AFBB7F3A22171063663D7
appId 代理商的唯一id 1
cityId 城市Id,见城市列表 1(上海)
timeStamp 时间戳,请取发送请求的当前时间 有效期10分钟 1482991236008
请求示例(测试环境):
   curl 'http://openapi.beta.piaoniu.com/openapi/v2/activities?pageIndex=1&pageSize=10&cityId=1&sign=923E7DC7513AFBB7F3A22171063663D7&appId=10000&timeStamp=1482991236008'

返回值 :

示例:
    {
    "totalNum": 307,
    "pageIndex": 1,
    "pageSize": 10,
    "data": [
        {
            "id": 3167,
            "status": 1,  //演出状态 0: "已删除",1: "售卖中",2: "暂停售卖",3: "已过期",4: "预订中",5: "退票中",6:"待开售"
            "name": "奇迹— 女子十二乐坊2017上海专场音乐会",
            "poster": "http://7xllta.com1.z0.glb.clouddn.com/perform/project/977/97797_n.jpg",
            "venueId": 101,  //场馆id
            "categoryId":2, //类目id
            "star":8, // 评分,分数为1-10分,0表示数据不足无评分
            "venue": {
                "id": 1,
                "name": "人民大舞台",
                "address": "上海黄浦区九江路663号",
                "cityId": 1
            },
            "details": [
                {
                    "type": 2,  //类型 1: "简介",2: "详情",4: "一句话简介",5"购买须知"
                    "detailDesc": "演出详情"
                },
                {
                    "type": 1,
                    "detailDesc": "演出简介"
                },
                {
                    "type": 4,
                    "detailDesc": "一句话简述"
                },
                {
                    "type":5,
                    "detailDesc":"购买须知:只可大人使用"
                }
            ],
            "activityEvents": [
                {
                    "id": 19469,
                    "specification": "2017年03月04日 星期六 19:30",
                    "start": 1488627000000,
                    "end": 1488634200000,
                    "status": 1,   //0: "已删除",1: "售卖中",2: "暂停售卖",3, "已过期"
                    "ticketCategories": [
                        {
                            "id": 119873,
                            "originPrice": 800,   //票档原价
                            "specification": "800",
                            "activityEventId": 19469,
                            "status": 1, //1有效
                            "ticketGroup": {
                                "ticketCategoryId": 0,
                                "ticketGroupId": 86847, //商品id
                                "salePrice": 808,  //售价
                                "isPremium":1,//1 溢价,2 平价,3 折扣
                                "premiumPrice":8,//表示票档溢价部分的价格,默认0
                                "selling": 2,  //在卖数量
                                "eticketProvider":1, //1 :票牛方发券,2:供应商发券 
                                "priceList":[
                                   808,1280 //
                                ]
                                "deliverTypes": [{
                                   "type": 1 //快递
                                },{
                                   "type": 3 //现场自取
                                }]
                            }
                        },
                        {
                            "id": 119874,
                            "originPrice": 180,
                            "specification": "180",
                            "activityEventId": 19469,
                            "status": 1,
                            "ticketGroup": {
                                "ticketCategoryId": 0,
                                "ticketGroupId": 86848,
                                "salePrice": 182,
                                "isPremium":1,//1 溢价,2 平价,3 折扣
                                "premiumPrice":2,//表示票档溢价部分的价格,默认0
                                "selling": 6,
                                "eticketProvider":1, //1 :票牛方发券,2:供应商发券
                                "priceList":[
                                    182,364,546,728,910,1092 //组合报价,详情见[商品库存及价格查询]
                                ]
                                "deliverTypes": [{
                                   "type": 1 //快递
                                },{
                                   "type": 3 //现场自取
                                }]
                            }
                        }

                    ]
                }
            ],
            "needIdCard":true, //是否需要身份证
            "idCardLimitType":1, //1一单一证,2一票一证
            "idCardUseTime":1 //一张身份证在这个场次可以买几张票(需要身份证的时候才需要消费)
        }
      ]
    }

变更历史

name 时间 内容
v1.1 2019-10-25 渠道定制字段

results matching ""

    No results matching ""