物流监管接口

函数设计

入境重箱

  • url: http://10.38.0.180/ctnf/rest/Fctn/CtnfQuery?page={page}&rows={rows}&decl_no={decl_no}&bill_no={bill_no}&ctn_no={ctn_no}
  • request: decl_no报检号/bill_no提单号/ctn_no集装箱号
  • response: List
public class Ctnf_ViewModel
    {
        /// 
        /// 报检号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 提单号
        /// 
        public string BILL_NO { get; set; }
        /// 
        /// 集装箱号
        /// 
        public string CTN_NO { get; set; }
        /// 
        /// 船名
        /// 
        public string VESSEL_NAME_EN { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 港区代码
        /// 
        public string SENDER_CODE { get; set; }
        /// 
        /// 箱尺寸
        /// 
        public string CTN_SIZE { get; set; }
        /// 
        /// 
        /// 
        public string CHECK_MARK { get; set; }
        /// 
        /// 放行状态
        /// 
        public string COMMPASS { get; set; }
        /// 
        /// EDI收讫时间
        /// 
        public DateTime? COMMPASS_TIME { get; set; }
        /// 
        /// 国检放行时间
        /// 
        public DateTime? COMMODRER_TIME { get; set; }
        /// 
        /// 查验状态
        /// 
        public string CID { get; set; }
        /// 
        /// 
        /// 
        public string DIG_FLAG { get; set; }
        /// 
        /// 
        /// 
        public string UNPACK_FLAG { get; set; }


    }
  • test: decl_no=380900115000867

入境空箱

  • url: http://10.38.0.180/ctnf/rest/Fctn/CtneQuery?page={page}&rows={rows}&check_mark={check_mark}&check_result={check_result}&ctn_no={ctn_no}
  • request: ctn_no 箱号
  • response: List
public class Ctne_ViewModel
    {
        /// 
        /// 箱号
        /// 
        public string CTN_NO { get; set; }
        /// 
        /// 船名
        /// 
        public string VESSEL_NAME { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 港区代码
        /// 
        public string DOCK { get; set; }
        /// 
        /// 集装箱尺寸类型
        /// 
        public string CTN_TYPE { get; set; }
        /// 
        /// 查验状态
        /// 
        public string CHECK_FLAG { get; set; }
        /// 
        /// 查验结果
        /// 
        public string CHECK_OUT { get; set; }
        /// 
        /// 放行时间
        /// 
        public DateTime? PASSED_TIME { get; set; }

    }
  • test: ctn_no=SUDU1149549

拼箱结果登记

  • url: http://10.38.0.180/ctnf/rest/Fctn/LclQuery?page={page}&rows={rows}&bill_no={bill_no}&ctn_no={ctn_no}
  • request: ctn_no箱号/bill_no提单号
  • response: List
public class Lcl_ViewModel
    {
        /// 
        /// 提单号
        /// 
        public string BILL_NO { get; set; }
        /// 
        /// 集装箱号
        /// 
        public string CTN_NO { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 船名
        /// 
        public string VESSEL_NAME_EN { get; set; }
        /// 
        /// 木包情况
        /// 
        public string PACK_STRING { get; set; }
        /// 
        /// 来源国
        /// 
        public string ORIGIN_COUNTRY { get; set; }
        /// 
        /// 登记时间
        /// 
        public Nullable CREATE_TIME { get; set; }
        /// 
        /// 是否放行
        /// 
        public string IS_PASS { get; set; }

    }
  • test: bill_no=PCSLICNBC1700470 / ctn_no=TEMU5190043

你可能感兴趣的:(物流监管接口)