船舶服务(查询,追回)

登录信息

  • userid = 38000016003 国检用户ID

进口岸查询

  • mode: HttpGet
  • url: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipInList?userid={userid}&ent={ent}&declno={declno}&declnos={declnos}&page={page}&rows={rows}&format=xml
  • request: userid 用户id/ent 企业id/declno 报检号/declnos 批量报检号(逗号分隔)/page 页码/rows 每页条数/
  • response: T_DECL_MAIN_ViewModel
  • test: userid=38000016003,declno=SI999999994416442326,declnos=SI999999994416442326,SI999999994416442309,page=1,rows=15
  • testurl: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipInList?declnos=SI999999994416442326,SI999999994416442309&page=1&rows=10&format=xml
public class T_DECL_MAIN_ViewModel
    {
        /// 
        /// 申报单号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// IMO
        /// 
        public string IMO { get; set; }
        /// 
        /// 船名
        /// 
        public string T_TRANS_NAME { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 创建日期
        /// 
        public DateTime? CREATER_TIME { get; set; }
        /// 
        /// 创建人
        /// 
        public string CREATER { get; set; }
        /// 
        /// 受理时间
        /// 
        public DateTime? OPERATOR_TIME { get; set; }
        /// 
        /// 状态代码
        /// 
        public string STATUS { get; set; }
        /// 
        /// 状态名称
        /// 
        public string STATUS_NAME { get; set; }
        /// 
        /// 申报类型
        /// 
        public string DEC_TYPE { get; set; }
        /// 
        /// 申报人姓名
        /// 
        public string NAME { get; set; }
        /// 
        /// 操作类型
        /// 
        public string RowStatus { get; set; }
    }

出口岸查询

  • mode: HttpGet
  • url: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipOutList?userid={userid}&ent={ent}&declno={declno}&declnos={declnos}&page={page}&rows={rows}&format=xml
  • request: userid 用户id/ent 企业id/declno 报检号/declnos 批量报检号(逗号分隔)/page 页码/rows 每页条数/
  • response: T_DECL_MAIN_ViewModel
  • test: userid=38000016003,declno=SO999999990116364615,declnos=SO999999990116364615,SO999999994016364614,page=1,rows=15
  • testurl: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipOutList?declnos=SO999999990116364615,SO999999994016364614&page=1&rows=10&format=xml
public class T_DECL_MAIN_ViewModel
    {
        /// 
        /// 申报单号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// IMO
        /// 
        public string IMO { get; set; }
        /// 
        /// 船名
        /// 
        public string T_TRANS_NAME { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 创建日期
        /// 
        public DateTime? CREATER_TIME { get; set; }
        /// 
        /// 创建人
        /// 
        public string CREATER { get; set; }
        /// 
        /// 受理时间
        /// 
        public DateTime? OPERATOR_TIME { get; set; }
        /// 
        /// 状态代码
        /// 
        public string STATUS { get; set; }
        /// 
        /// 状态名称
        /// 
        public string STATUS_NAME { get; set; }
        /// 
        /// 申报类型
        /// 
        public string DEC_TYPE { get; set; }
        /// 
        /// 申报人姓名
        /// 
        public string NAME { get; set; }
        /// 
        /// 操作类型
        /// 
        public string RowStatus { get; set; }
    }

卫生证书查询

  • mode: HttpGet
  • url: http://dev.nbeport.com/tims/rest/DeclHealthCert/List?userid={userid}&ent={ent}&declno={declno}&declnos={declnos}&page={page}&rows={rows}&format=xml
  • request: userid 用户id/ent 企业id/declno 报检号/declnos 批量报检号(逗号分隔)/page 页码/rows 每页条数/
  • response: T_DECL_HEALTH_CERT_ViewModel
  • test: userid=38000016003,declno=ZS999999991316064484,declnos=ZS999999991316064484,ZS999999992116064367,page=1,rows=15
  • testurl: http://dev.nbeport.com/tims/rest/DeclHealthCert/List?declnos=ZS999999991316064484,ZS999999992116064367&page=1&rows=10&format=xml
public class T_DECL_HEALTH_CERT_ViewModel
    {
        /// 
        /// 证书申报单号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 关联船舶申报单号
        /// 
        public string TRANS_DECL_NO { get; set; }
        /// 
        /// IMO
        /// 
        public string IMO { get; set; }
        /// 
        /// 船名
        /// 
        public string T_TRANS_NAME { get; set; }
        /// 
        /// 录入日期
        /// 
        public DateTime? OPERATE_DATE { get; set; }
        /// 
        /// 录入人
        /// 
        public string OPERATOR_CODE { get; set; }
        /// 
        /// 受理时间
        /// 
        public DateTime? OPERATOR_TIME { get; set; }
        /// 
        /// 状态代码
        /// 
        public string STATE { get; set; }
        /// 
        /// 状态名称
        /// 
        public string STATE_NAME { get; set; }
        /// 
        /// 录入人姓名
        /// 
        public string NAME { get; set; }
        /// 
        /// 操作类型
        /// 
        public string RowStatus { get; set; }
    }

进口岸申报追回

  • mode: HttpPost
  • url: http://dev.nbeport.com/tims/rest/DeclMain/ShipInBack
  • request: from body
  • response: "OK"
  • test: {"DECLNO":"SI999999994416442309"}

出口岸申报追回

  • mode: HttpPost
  • url: http://dev.nbeport.com/tims/rest/DeclMain/ShipOutBack
  • request: from body
  • response: "OK"
  • test: {"DECLNO":"SO999999994016364614"}

卫生证书申报追回

  • mode: HttpPost
  • url: http://dev.nbeport.com/tims/rest/DeclHealthCert/Back
  • request: from body
  • response: "OK"
  • test: {"DECLNO":"ZS999999992116064367"}

你可能感兴趣的:(船舶服务(查询,追回))