API接口目录

平台业务

商品API
价格API
库存API
销售准备API
交易API
退货退款API(新)
财务API
店铺API
物流API
促销API
分销API
发票API
招商API
换货API
互动营销API
退货退款API
客服API
平台营销API
风控API
会员通API
账房API
财务记账API
异常码自查工具
suning.custom.appoint.query 查询预约信息
¥免费

查询预约信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
actionIdStringY201912030001活动编码
partNumberStringY000000000012345678商品编码
vendorIdStringY00000000000商家编码
响应参数
名称 类型 示例值 描述
resultFlagStringtrue|false处理是否成功
resultCodeString1返回编码
resultMsgString系统错误结果信息
actionIdString201912030001活动编码
actionTypeString0预约类型
adapteTerminalString1|2|3适用终端类型
otherTerminalSaleString1|0其他渠道是否可售
actionNameString活动名称活动名称
actionStartTimeString2019-12-03 09:09:09活动生效时间
actionEndTimeString2019-12-03 09:10:10活动失效时间
scheduleStartTimeString2019-12-03 09:10:10预约开始时间
scheduleEndTimeString2019-12-03 09:12:12预约结束时间
purchaseStartTimeString2019-09-14 09:00:00购买开始时间
purchaseEndTimeString2019-09-14 09:00:00购买结束时间
scalperPurchaseStartTimeString2019-12-03 09:15:09黄牛购买开始时间
supervipPurchaseStartTimeString2019-12-03 09:15:09super会员购买开始时间
partnumberString000000000012345678商品编码
partNameString商品名称商品名称
partTypeString00|01|02|03商品类型
priceString520抢购价
priceLabelString??8文本价
appointPriceString520预约价
personBuyLimitString1每人限购量
totalLimitString10限购总数
citysString021,022排除城市
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <queryAppoint>
      <actionId>201912030001</actionId>
      <vendorId>00000000000</vendorId>
      <partNumber>000000000012345678</partNumber>
    </queryAppoint>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "queryAppoint": {
        "actionId": "201912030001",
        "vendorId": "00000000000",
        "partNumber": "000000000012345678"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <queryAppoint>
      <actionEndTime>2019-12-03 09:10:10</actionEndTime>
      <resultCode>1</resultCode>
      <resultFlag>true|false</resultFlag>
      <appointPrice>520</appointPrice>
      <citys>021,022</citys>
      <partName>商品名称</partName>
      <scheduleStartTime>2019-12-03 09:10:10</scheduleStartTime>
      <adapteTerminal>1|2|3</adapteTerminal>
      <otherTerminalSale>1|0</otherTerminalSale>
      <price>520</price>
      <actionStartTime>2019-12-03 09:09:09</actionStartTime>
      <partType>00|01|02|03</partType>
      <priceLabel>??8</priceLabel>
      <scheduleEndTime>2019-12-03 09:12:12</scheduleEndTime>
      <purchaseEndTime>2019-09-14 09:00:00</purchaseEndTime>
      <supervipPurchaseStartTime>2019-12-03 09:15:09</supervipPurchaseStartTime>
      <resultMsg>系统错误</resultMsg>
      <actionType>0</actionType>
      <purchaseStartTime>2019-09-14 09:00:00</purchaseStartTime>
      <totalLimit>10</totalLimit>
      <personBuyLimit>1</personBuyLimit>
      <actionId>201912030001</actionId>
      <partnumber>000000000012345678</partnumber>
      <actionName>活动名称</actionName>
      <scalperPurchaseStartTime>2019-12-03 09:15:09</scalperPurchaseStartTime>
    </queryAppoint>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "queryAppoint": {
        "actionEndTime": "2019-12-03 09:10:10",
        "resultCode": "1",
        "resultFlag": "true|false",
        "appointPrice": "520",
        "citys": "021,022",
        "partName": "商品名称",
        "scheduleStartTime": "2019-12-03 09:10:10",
        "adapteTerminal": "1|2|3",
        "otherTerminalSale": "1|0",
        "price": "520",
        "actionStartTime": "2019-12-03 09:09:09",
        "partType": "00|01|02|03",
        "priceLabel": "??8",
        "scheduleEndTime": "2019-12-03 09:12:12",
        "purchaseEndTime": "2019-09-14 09:00:00",
        "supervipPurchaseStartTime": "2019-12-03 09:15:09",
        "resultMsg": "系统错误",
        "actionType": "0",
        "purchaseStartTime": "2019-09-14 09:00:00",
        "totalLimit": "10",
        "personBuyLimit": "1",
        "actionId": "201912030001",
        "partnumber": "000000000012345678",
        "actionName": "活动名称",
        "scalperPurchaseStartTime": "2019-12-03 09:15:09"
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.custom.queryappoint.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.custom.queryappoint.length-overlong:* 参数的值超过规定长度 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.pss 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ