API接口目录

政企业务

政企商品API
政企价格API
政企库存API
政企订单API
政企物流API
政企发票API
政企售后API
政企其他API
政企易企购API
政企抽检API
异常码自查工具
suning.govbus.yqgaddress.receive 固定地址推送接口
¥免费

公共参数
请求参数
名称 类型 是否必须 示例值 描述
uidStringN123456用户编码
typeStringY1操作类型:1-新增,2-删除,3-修改,4-查询
operatorNoStringN123123操作人
sysCodeStringY12314系统编码
addressMessageStringN
addressIdStringN123123地址唯一标识
provinceIdStringN100省级地址
provinceNameStringN省级地址名称省级地址名称
cityIdStringN025市级地址
cityNameStringN市级地址名称市级地址名称
countyIdStringN02501区级地址
countyNameStringN区级地址名称区级地址名称
townIdStringN0250199镇级地址
townNameStringN镇级地址名称镇级地址名称
addressStringN苏宁大道1号详情地址
receiverStringN123收货人姓名
mobileStringN12345678900收货人手机号
telephoneStringN123收货人座机
响应参数
名称 类型 示例值 描述
isSuccessStringY成功失败
errCodeString0001错误码
errMessageString123错误信息
totalCountString1总长度
pageCountString1总页数
addressIdListString
addressIdString123地址唯一标识
provinceIdString123省级地址
provinceNameString省级地址名称省级地址名称
cityIdString123市级地址
cityNameString市级地址名称市级地址名称
countyIdString123区级地址
countyNameString区级地址名称区级地址名称
townIdString123镇级地址
townNameString镇级地址名称镇级地址名称
addressString123详情地址
receiverString123收货人姓名
mobileString12345678900收货人手机号
telephoneString123收货人座机
submitFlagStringY执行结果
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <receiveYqgaddress>
      <sysCode>12314</sysCode>
      <uid>123456</uid>
      <addressMessage>
        <townName>镇级地址名称</townName>
        <address>苏宁大道1号</address>
        <receiver>123</receiver>
        <mobile>12345678900</mobile>
        <telephone>123</telephone>
        <cityId>025</cityId>
        <townId>0250199</townId>
        <provinceId>100</provinceId>
        <addressId>123123</addressId>
        <cityName>市级地址名称</cityName>
        <countyId>02501</countyId>
        <provinceName>省级地址名称</provinceName>
        <countyName>区级地址名称</countyName>
      </addressMessage>
      <operatorNo>123123</operatorNo>
      <type>1</type>
    </receiveYqgaddress>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "receiveYqgaddress": {
        "sysCode": "12314",
        "uid": "123456",
        "addressMessage": [
          {
            "townName": "镇级地址名称",
            "address": "苏宁大道1号",
            "receiver": "123",
            "mobile": "12345678900",
            "telephone": "123",
            "cityId": "025",
            "townId": "0250199",
            "provinceId": "100",
            "addressId": "123123",
            "cityName": "市级地址名称",
            "countyId": "02501",
            "provinceName": "省级地址名称",
            "countyName": "区级地址名称"
          }
        ],
        "operatorNo": "123123",
        "type": "1"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <receiveYqgaddress>
      <pageCount>1</pageCount>
      <addressIdList>
        <townName>镇级地址名称</townName>
        <address>123</address>
        <receiver>123</receiver>
        <mobile>12345678900</mobile>
        <telephone>123</telephone>
        <cityId>123</cityId>
        <submitFlag>Y</submitFlag>
        <townId>123</townId>
        <provinceId>123</provinceId>
        <addressId>123</addressId>
        <cityName>市级地址名称</cityName>
        <countyId>123</countyId>
        <provinceName>省级地址名称</provinceName>
        <countyName>区级地址名称</countyName>
      </addressIdList>
      <errCode>0001</errCode>
      <totalCount>1</totalCount>
      <errMessage>123</errMessage>
      <isSuccess>Y</isSuccess>
    </receiveYqgaddress>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "receiveYqgaddress": {
        "pageCount": "1",
        "addressIdList": [
          {
            "townName": "镇级地址名称",
            "address": "123",
            "receiver": "123",
            "mobile": "12345678900",
            "telephone": "123",
            "cityId": "123",
            "submitFlag": "Y",
            "townId": "123",
            "provinceId": "123",
            "addressId": "123",
            "cityName": "市级地址名称",
            "countyId": "123",
            "provinceName": "省级地址名称",
            "countyName": "区级地址名称"
          }
        ],
        "errCode": "0001",
        "totalCount": "1",
        "errMessage": "123",
        "isSuccess": "Y"
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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