文档中心 > API类目 > 天猫奢品中心

tmall.luxury.video.plan.queryplanlist (查询指定商家可预约时间段列表)

查询指定商家可预约时间段列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
video_plan_query_request SellerVideoPlanIsvQueryRequest 可选 查询排班参数
  • └ seller_id
  • Number
  • 可选
  • 123456
  • 商家ID

响应参数

名称 类型 示例值 描述
result MlhResult 结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ err_code
  • String
  • B101
  • 错误码
  • └ err_msg
  • String
  • demo
  • 错误信息
  • value
  • TmallLuxurySellerVideoPlanList []
  • 结果集
  • └ is_can_modified
  • Boolean
  • true
  • 是否可修改
  • └ origin_end_time
  • Date
  • 1666096200000
  • 场次结束时间
  • └ left_slots
  • Number
  • 0
  • 剩余容量
  • └ origin_begin_time
  • Date
  • 1666094400000
  • 场次开始时间
  • └ is_can_choose
  • Boolean
  • false
  • 是否可选择
  • └ slots
  • Number
  • 2
  • 总容量
  • └ seller_id
  • Number
  • 2211722788831
  • 店铺ID
  • └ week_day
  • Number
  • 2
  • 场次日期周几
  • └ begin_time
  • String
  • 20:00
  • 开始时间时分
  • └ end_time
  • String
  • 20:30
  • 结束时间时分
  • └ id
  • Number
  • 26450
  • 场次ID
  • └ appointment_date
  • String
  • 2022-10-18
  • 场次日期
  • └ status
  • String
  • 0
  • 场次状态 0:有效 1:无效

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallLuxuryVideoPlanQueryplanlistRequest req = new TmallLuxuryVideoPlanQueryplanlistRequest();
TmallLuxuryVideoPlanQueryplanlistRequest.SellerVideoPlanIsvQueryRequest obj1 = new TmallLuxuryVideoPlanQueryplanlistRequest.SellerVideoPlanIsvQueryRequest();
obj1.setSellerId(123456L);
req.setVideoPlanQueryRequest(obj1);
TmallLuxuryVideoPlanQueryplanlistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_luxury_video_plan_queryplanlist_response>
    <result>
        <success>true</success>
        <err_code>B101</err_code>
        <err_msg>demo</err_msg>
        <value>
            <tmall_luxury_seller_video_plan_list>
                <is_can_modified>true</is_can_modified>
                <origin_end_time>1666096200000</origin_end_time>
                <left_slots>0</left_slots>
                <origin_begin_time>1666094400000</origin_begin_time>
                <is_can_choose>false</is_can_choose>
                <slots>2</slots>
                <seller_id>2211722788831</seller_id>
                <week_day>2</week_day>
                <begin_time>20:00</begin_time>
                <end_time>20:30</end_time>
                <id>26450</id>
                <appointment_date>2022-10-18</appointment_date>
                <status>0</status>
            </tmall_luxury_seller_video_plan_list>
        </value>
    </result>
</tmall_luxury_video_plan_queryplanlist_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部