suning.nearbycloud.getordermessage.get 数智化商品推荐业务查询订单信息
¥免费

邻里云社区团购数智化商品推荐业务,用来获取历史订单信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
itemPageStringY1页数,从1开始
itemDateStringYyyyyMMdd日期,格式yyyyMMdd
响应参数
名称 类型 示例值 描述
responseCodeString00表示成功,其它失败
responseMessageStringresponseMessage报错文案,成功时不返回
itemPageCountString999总页数
itemPageString5当前页
itemTotalCountString9999总数据量
orderMessageListString
statisDateString分区时间=付款时间
ordItemIdStringordItemIdordItemId
ordIdStringordIdordId
sbmtTimeStringsbmtTimesbmtTime
payTimeStringpayTimepayTime
billTpCdStringbillTpCdbillTpCd
trmnlTpCdStringtrmnlTpCdtrmnlTpCd
membIdStringmembIdmembId
gdsCdStringgdsCdgdsCd
strCdStringstrCdstrCd
shopIdStringshopIdshopId
brandCdStringbrandCdbrandCd
cmmdtyDetailGroupStringcmmdtyDetailGroupcmmdtyDetailGroup
cmmdtyFirstGroupStringcmmdtyFirstGroupcmmdtyFirstGroup
cmmdtySecondGroupStringcmmdtySecondGroupcmmdtySecondGroup
cmmdtyThirdGroupStringcmmdtyThirdGroupcmmdtyThirdGroup
promPrdCdStringpromPrdCdpromPrdCd
payAmtStringpayAmtpayAmt
salUnitPrcStringsalUnitPrcsalUnitPrc
salQtyStringsalQtysalQty
salUnitStringsalUnitsalUnit
payStatusCdStringpayStatusCdpayStatusCd
cityCdStringcityCdcityCd
lowAmtStringlowAmtlowAmt
gpStringgpgp
gpmStringgpmgpm
spStrCdStringspStrCdspStrCd
proMemidStringproMemidproMemid
isProOrdStringisProOrdisProOrd
bkgeRateStringbkgeRatebkgeRate
bkgeStringbkgebkge
isTestSpStrcdStringisTestSpStrcdisTestSpStrcd
proTypeStringproTypeproType
selfOpenTimeStringselfOpenTimeselfOpenTime
dirPurFlgStringdirPurFlgdirPurFlg
shopTypeStringshopTypeshopType
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <getOrderMessageReqDTO>
      <itemDate>yyyyMMdd</itemDate>
      <itemPage>1</itemPage>
    </getOrderMessageReqDTO>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "getOrderMessageReqDTO": {
        "itemDate": "yyyyMMdd",
        "itemPage": "1"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <getOrderMessageRespDTO>
      <itemTotalCount>9999</itemTotalCount>
      <orderMessageList>
        <bkgeRate>bkgeRate</bkgeRate>
        <cityCd>cityCd</cityCd>
        <proType>proType</proType>
        <promPrdCd>promPrdCd</promPrdCd>
        <payTime>payTime</payTime>
        <spStrCd>spStrCd</spStrCd>
        <dirPurFlg>dirPurFlg</dirPurFlg>
        <bkge>bkge</bkge>
        <statisDate>null</statisDate>
        <ordItemId>ordItemId</ordItemId>
        <lowAmt>lowAmt</lowAmt>
        <ordId>ordId</ordId>
        <salUnit>salUnit</salUnit>
        <trmnlTpCd>trmnlTpCd</trmnlTpCd>
        <payStatusCd>payStatusCd</payStatusCd>
        <isTestSpStrcd>isTestSpStrcd</isTestSpStrcd>
        <shopId>shopId</shopId>
        <cmmdtyDetailGroup>cmmdtyDetailGroup</cmmdtyDetailGroup>
        <cmmdtySecondGroup>cmmdtySecondGroup</cmmdtySecondGroup>
        <billTpCd>billTpCd</billTpCd>
        <proMemid>proMemid</proMemid>
        <gpm>gpm</gpm>
        <cmmdtyFirstGroup>cmmdtyFirstGroup</cmmdtyFirstGroup>
        <gp>gp</gp>
        <membId>membId</membId>
        <cmmdtyThirdGroup>cmmdtyThirdGroup</cmmdtyThirdGroup>
        <gdsCd>gdsCd</gdsCd>
        <payAmt>payAmt</payAmt>
        <selfOpenTime>selfOpenTime</selfOpenTime>
        <salUnitPrc>salUnitPrc</salUnitPrc>
        <sbmtTime>sbmtTime</sbmtTime>
        <strCd>strCd</strCd>
        <isProOrd>isProOrd</isProOrd>
        <shopType>shopType</shopType>
        <brandCd>brandCd</brandCd>
        <salQty>salQty</salQty>
      </orderMessageList>
      <responseMessage>responseMessage</responseMessage>
      <itemPageCount>999</itemPageCount>
      <responseCode>0</responseCode>
      <itemPage>5</itemPage>
    </getOrderMessageRespDTO>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "getOrderMessageRespDTO": {
        "itemTotalCount": "9999",
        "orderMessageList": [
          {
            "bkgeRate": "bkgeRate",
            "cityCd": "cityCd",
            "proType": "proType",
            "promPrdCd": "promPrdCd",
            "payTime": "payTime",
            "spStrCd": "spStrCd",
            "dirPurFlg": "dirPurFlg",
            "bkge": "bkge",
            "statisDate": "null",
            "ordItemId": "ordItemId",
            "lowAmt": "lowAmt",
            "ordId": "ordId",
            "salUnit": "salUnit",
            "trmnlTpCd": "trmnlTpCd",
            "payStatusCd": "payStatusCd",
            "isTestSpStrcd": "isTestSpStrcd",
            "shopId": "shopId",
            "cmmdtyDetailGroup": "cmmdtyDetailGroup",
            "cmmdtySecondGroup": "cmmdtySecondGroup",
            "billTpCd": "billTpCd",
            "proMemid": "proMemid",
            "gpm": "gpm",
            "cmmdtyFirstGroup": "cmmdtyFirstGroup",
            "gp": "gp",
            "membId": "membId",
            "cmmdtyThirdGroup": "cmmdtyThirdGroup",
            "gdsCd": "gdsCd",
            "payAmt": "payAmt",
            "selfOpenTime": "selfOpenTime",
            "salUnitPrc": "salUnitPrc",
            "sbmtTime": "sbmtTime",
            "strCd": "strCd",
            "isProOrd": "isProOrd",
            "shopType": "shopType",
            "brandCd": "brandCd",
            "salQty": "salQty"
          }
        ],
        "responseMessage": "responseMessage",
        "itemPageCount": "999",
        "responseCode": "0",
        "itemPage": "5"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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