suning.hgyw.nanjingcustomsresult.receive 南京口岸接收报关结果回执
¥免费

接收南京电子口岸订单审核结果,根据申报结果更新本地订单状态

公共参数
请求参数
名称 类型 是否必须 示例值 描述
useridStringYtest001账号
timestampStringYyyyy-MM-dd HH:mm:ss当前时间
signStringY签名3F8B53E1870F88A8F5E33DA3F552CE12
decltypeStringNC海关跨境统一版系统
msgStringNdGhpcyBpcyBhIGV4YW1wbGU=海关总署报文Bese64编码
msgtypeStringYCEB312Message海关报文格式
copMsgIdStringYno001用户自定义生成报文唯一序号
extrainfoStringNinfo扩展信息
响应参数
名称 类型 示例值 描述
messageString
headerString
resultStringT结果编码.T成功;F失败
resultMsgString具体错误原因结果描述
copMsgIdStringsn01用户自定义生成报文唯一序号
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <receiveNanjingcustomsresult>
      <msg>dGhpcyBpcyBhIGV4YW1wbGU=</msg>
      <copMsgId>no001</copMsgId>
      <decltype>C</decltype>
      <sign>签名</sign>
      <userid>test001</userid>
      <msgtype>CEB312Message</msgtype>
      <extrainfo>info</extrainfo>
      <timestamp>yyyy-MM-dd HH:mm:ss</timestamp>
    </receiveNanjingcustomsresult>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "receiveNanjingcustomsresult": {
        "msg": "dGhpcyBpcyBhIGV4YW1wbGU=",
        "copMsgId": "no001",
        "decltype": "C",
        "sign": "签名",
        "userid": "test001",
        "msgtype": "CEB312Message",
        "extrainfo": "info",
        "timestamp": "yyyy-MM-dd HH:mm:ss"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <receiveNanjingcustomsresult>
      <message>
        <header>
          <result>T</result>
          <copMsgId>sn01</copMsgId>
          <resultMsg>具体错误原因</resultMsg>
        </header>
      </message>
    </receiveNanjingcustomsresult>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "receiveNanjingcustomsresult": {
        "message": {
          "header": {
            "result": "T",
            "copMsgId": "sn01",
            "resultMsg": "具体错误原因"
          }
        }
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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