物流监管 直通放行,闸口放行单打印

以下需要登录的信息

  • entcode = 3305002323 企业号DECL_REG_NO
  • pwd = 123456

注意

*所有接口entcode必须填写,否则无法取到相关信息和通过校验
*闸口放行单打印列表 REMARK字段为当前数据是否通过校验字段,如未通过不能打印

重箱直通放行

  • type: [HTTPGET]

  • url: http://10.38.0.180/logctn/rest/directpass/fctndirectpass?declno={declno}&billno={billno}&ctnno={ctnno}&entcode={entcode}

  • request: declno 报检号/billno 提单号/ctnno 集装箱号/entcode 企业注册号

  • response: string "OK@" + decl_no; "FAIL@" + ex.Message;

  • test:

重箱直通放行列表

  • type: [HTTPGET]
  • url: http://10.38.0.180/logctn/rest/directpass/directpasslist?declno={declno}&billno={billno}&entcode={entcode}
  • request: declno 报检号/billno 提单号/entcode 企业注册号
  • response: List
public partial class DECL_MAIN
    {
    /// 
        /// 报检号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 提单号
        /// 
        public string BILL_NO { get; set; }
        /// 
        /// 报检时间
        /// 
        public Nullable DECL_DATE { get; set; }
        /// 
        /// 船舶UN
        /// 
        public string VESSEL_CODE_UN { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 船名
        /// 
        public string VESSEL_NAME_EN { get; set; }
        /// 
        /// 码头代码
        /// 
        public string SENDER_CODE { get; set; }
        /// 
        /// 码头名称
        /// 
        public string SENDER_NAME { get; set; }
        /// 
        /// 创建时间
        /// 
        public Nullable CREATE_TIME { get; set; }
    }
  • test: declno=117000008555941 billno=KKLUGOA142574 entcode=ENT3300910164

放行单打印列表

  • type: [HTTPGET]
  • url: http://10.38.0.180/logctn/rest/directpass/gatepasslist?declno={declno}&billno={billno}&entcode={entcode}
  • request: declno 报检号/billno 提单号/entcode 企业注册号
  • response: List
public partial class DECL_MAIN
    {
        /// 
        /// 报检号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 提单号
        /// 
        public string BILL_NO { get; set; }
        /// 
        /// 报检时间
        /// 
        public Nullable DECL_DATE { get; set; }
        /// 
        /// 船舶UN
        /// 
        public string VESSEL_CODE_UN { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 船名
        /// 
        public string VESSEL_NAME_EN { get; set; }
        /// 
        /// 码头代码
        /// 
        public string SENDER_CODE { get; set; }
        /// 
        /// 码头名称
        /// 
        public string SENDER_NAME { get; set; }
        /// 
        /// 是否允许打印校验信息
        /// 
        public string REMARK { get; set; }
        /// 
        /// 创建时间
        /// 
        public Nullable CREATE_TIME { get; set; }
    }
  • test: declno=117000008555941 billno=KKLUGOA142574 entcode=ENT3300910164

放行单打印详情

  • type: [HTTPGET]
  • url: http://10.38.0.180/logctn/rest/directpass/gatepassview?declno={declno}
  • request: declno 报检号
  • response: DECL_ALL_VIEW
public class DECL_ALL_VIEW
    {
        public ITF_DCL_IO_DECL Decl { set; get; }
        public List Goods { set; get; }
        public DECL_MAIN Main { set; get; }
        public List Ctns { set; get; }
        public DECL_ALL_VIEW()
        {
            Decl = new ITF_DCL_IO_DECL();
            Goods = new List();
            Ctns = new List();
            Main = new DECL_MAIN();
        }
    }
public partial class ITF_DCL_IO_DECL
    {
        /// 
        /// 报检号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 报检单位
        /// 
        public string DECL_REG_NAME { get; set; }
        /// 
        /// 联系人
        /// 
        public string CONTACTPERSON { get; set; }
        /// 
        /// 联系电话
        /// 
        public string CONT_TEL { get; set; }
    }
public partial class DECL_MAIN
    {
        /// 
        /// 报检号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 提单号
        /// 
        public string BILL_NO { get; set; }
        /// 
        /// 报检时间
        /// 
        public Nullable DECL_DATE { get; set; }
        /// 
        /// 船舶UN
        /// 
        public string VESSEL_CODE_UN { get; set; }
        /// 
        /// 航次
        /// 
        public string VOYAGE { get; set; }
        /// 
        /// 船名
        /// 
        public string VESSEL_NAME_EN { get; set; }
        /// 
        /// 码头代码
        /// 
        public string SENDER_CODE { get; set; }
        /// 
        /// 码头名称
        /// 
        public string SENDER_NAME { get; set; }
        /// 
        /// 创建时间
        /// 
        public Nullable CREATE_TIME { get; set; }
    }
 public partial class DECL_CTN
    {
        /// 
        /// 报检号
        /// 
        public string DECL_NO { get; set; }
        /// 
        /// 箱号
        /// 
        public string CTN_NO { get; set; }
        /// 
        /// 箱型
        /// 
        public string CTN_TYPE { get; set; }
        /// 
        /// 尺寸
        /// 
        public string CTN_SIZE { get; set; }
    }
  • test: declno=117000008555941

你可能感兴趣的:(物流监管 直通放行,闸口放行单打印)