業務接口


提單

提單獲取List:

  • http://10.100.3.138/cag/rest/bill/
  • 參數:
    BillName 提單號或訂艙單位
    BillNo 提單號
    BookingParty 訂艙單位
    UserName 文檔人員
    Ock 是否微信新增
    pageSize 頁碼
    pageIndex 頁數

提單獲取Model

提單保存Post

微信提單新增Create

實體

  • Bill類

      public int Id { get; set; }
      public int? Cmid { get; set; }//船名航次ID
      [StringLength(10)]
      public string Bmmc { get; set; } //部門名稱
      [StringLength(50)]
      [Column("Tdh")]
      public string BillNo { get; set; }//提單號
      [StringLength(50)]
      [Column("Hztybh")]
      public string ReferenceNo { get; set; }
      [StringLength(10)]
      [Column("Hzdm")]
      public string CargoOwner { get; set; }
      [StringLength(10)]
      [Column("Dcdw")]
      public string BookingParty { get; set; }//訂艙單位
      [StringLength(10)]
      [Column("Rmbhzdm")]
      public string CargoOwnerRMB { get; set; }
      [StringLength(10)]
      [Column("Cdldm")]
      public string ShipAgent { get; set; }
      [Column("Fhr", TypeName = "text")]
      public string Shipper { get; set; }//發貨人
      [Column("Shr", TypeName = "text")]
      public string Consignee { get; set; }//收貨人
      [Column("Tzr", TypeName = "text")]
      public string Notify { get; set; }//通知人
      [StringLength(50)]
      [Column("Shdd")]
      public string ReceiptPlace { get; set; }
      [StringLength(50)]
      [Column("Zhg")]
      public string LoadingPort { get; set; }//起運港
      [StringLength(50)]
      [Column("Zzg")]
      public string TranshipPort { get; set; } //中轉港
      [StringLength(50)]
      [Column("Xhg")]
      public string DischargePort { get; set; }
      [StringLength(50)]
      [Column("Jhdd")]
      public string DeliveryPlace { get; set; }
      [StringLength(2000)]
      [Column("Mdgdl")]
      public string DestinationAgent { get; set; }
      [StringLength(50)]
      [Column("Mdd")]
      public string FinalDestination { get; set; }//目的港
      [Column("Mt", TypeName = "text")]
      public string Marks { get; set; }//嘜頭
      [Column("Ywhm", TypeName = "text")]
      public string DescriptionEn { get; set; } //英文品名
      [StringLength(2000)]
      [Column("Zwhm")]
      public string DescriptionCn { get; set; }
      [StringLength(2)]
      [Column("Hwlx")]
      public string CargoType { get; set; }//默認GC
      [Column("Js")]
      public decimal? Pcs { get; set; }//件數
      [StringLength(50)]
      [Column("Bzxsywmc")]
      public string PackagesKind { get; set; }
      //[StringLength(200)]
      //public string Bzbz { get; set; }
      [Column("Mz")]
      public decimal? GrossWeight { get; set; }//毛重
      [Column("Tj")]
      public decimal? Measurement { get; set; }//體積
      [StringLength(30)]
      [Column("Ystk")]
      public string DeliveryTerm { get; set; }//交貨條款 cy-cy
      [StringLength(50)]
      [Column("Fkfs")]
      public string PaymentTerm { get; set; }//p
      [Column("Zbs")]
      public int? OriginalNumber { get; set; }
      [Column("Fbs")]
      public int? CopysNumber { get; set; }
      [StringLength(20)]
      [Column("Xsgsdm")]
      public string Carrier { get; set; }
      //[StringLength(20)]
      //public string On_board { get; set; }
      //[Required]
      //[StringLength(1)]
      //public string Zxpx { get; set; }
      public DateTime? Srrq { get; set; }
      [StringLength(10)]
      [Column("Srry")]
      public string UserName { get; set; }   //文檔人員
      //public DateTime? Zhxgrq { get; set; }
      //[StringLength(20)]
      //public string Zhxgry { get; set; }
      [StringLength(10)]
      [Column("Ywymc")]
      public string Salesman { get; set; }
      //public DateTime? Tdyjrq { get; set; }
      //[StringLength(16)]
      //public string Tdyjh { get; set; }
      [StringLength(200)]
      [Column("Bz")]
      public string Remark { get; set; }
      //[StringLength(100)]
      //public string Bgymc { get; set; }
      //public bool? Sfqq { get; set; }
      //[StringLength(50)]
      //public string Hxdbz { get; set; }
      //[Column(TypeName = "text")]
      //public string Ec { get; set; }
      //[StringLength(20)]
      //public string Dy { get; set; }
      //public int? mtdid { get; set; }
      [StringLength(50)]
      [Column("prevw")]
      public string WorkNo { get; set; } //工作編號
      [StringLength(20)]
      [Column("hwly")]
      public string CargoSource { get; set; } //貨物來源
      [StringLength(4)]
      [Column("tdedilx")]
      public string BillType { get; set; }
      [StringLength(4)]
      [Column("ysfs")]
      public string TransportMode { get; set; }
      [StringLength(30)]
      [Column("dsfkdd")]
      public string PayableAt { get; set; }
      [StringLength(100)]
      [Column("bgdm")]
      public string CustomsUnit { get; set; }
      [StringLength(20)]
      [Column("line")]
      public string Line { get; set; }
      [StringLength(200)]
      [Column("hscode")]
      public string Hscode { get; set; }
      [StringLength(20)]
      [Column("issue")]
      public string Issue { get; set; }
      [StringLength(10)]
      [Column("kfry")]
      public string CustomerService { get; set; }
      [StringLength(5)]
      [Column("fr")]
      public string ReceiptPlaceCode { get; set; }
      [StringLength(5)]
      [Column("pol")]
      public string LoadingPortCode{ get; set; }
      [StringLength(5)]
      [Column("ts")]
      public string TranshipPortCode { get; set; }
      [StringLength(5)]
      [Column("pod")]
      public string DischargePortCode { get; set; }
      [StringLength(5)]
      [Column("pld")]
      public string DeliveryPlaceCode { get; set; }
      [StringLength(5)]
      [Column("ds")]
      public string FinalDestinationCode { get; set; }
      [StringLength(20)]
      [Column("czry")]
      public string Operator { get; set; }
      [StringLength(50)]
      [Column("fz")]
      public string Group { get; set; }
      public bool? ock { get; set; }   //微信新增標志
      [StringLength(10)]
      [Column("dldb")]
      public string BusinessModel { get; set; }
      [StringLength(50)]
      [Column("xxxcs")]
      public string CtnCount { get; set; }  //箱型箱尺數 
            
      [StringLength(20)]
      [Column("swry")]
      public string Businessman { get; set; }
      [StringLength(1)]
      public string tdlx { get; set; }
      //public int userid { get; set; }
      public int? gsid { get; set; }
      public int bmid { get; set; }
      [StringLength(4000)]
      [Column("qttk")]
      public string CargoName { get; set; }
      [StringLength(50)]
      public string dpyc { get; set; } //放行異常
     public DateTime? fjrq1 { get; set; }// 離港時間
      public DateTime? fjrq2 { get; set; }//到港時間
      //擴展字段
      public bool IsArrival { get; set; }//是否到港
      public bool IsDepart { get; set; }//是否離港
      public bool IsLoading { get; set; }//是否裝柜
      public string Tel  { get; set; } //客服電話
      public DateTime? LoadingDate { get; set; } //裝柜日期,裝箱單要求到達日期
      public DateTime? SailingDate { get; set; } //開航日期
      public string Vessel { get; set; }//船名
      public string Voyage { get; set; }//航次
    

裝箱單

裝箱單獲取List:

實體

  • Ctn類

      public int Xhid { get; set; }     
      public int Cmid { get; set; }
      [Column("Xh")]
      [StringLength(15)]
      public string CtnNo { get; set; } //箱號
      [Column("Fh")]
      [StringLength(15)]
      public string SealNo { get; set; }//封號
      [Column("Xxxc")]
      [StringLength(6)]
      public string CtnST { get; set; }//?箱型
      [StringLength(20)]
      public string Xsgsdm { get; set; }
      [Column("Js")]
      public decimal? Pcs { get; set; } 
      [StringLength(50)]
      [Column("Bzxsywmc")]
      public string Bzxsywmc { get; set; }
      //[StringLength(200)]
      //public string Bzbz { get; set; }
      [Column("Mz")]
      public decimal? GrossWeight { get; set; }
      [Column("Tj")]
      public decimal? Measurement { get; set; }
      public DateTime? Srrq { get; set; }
      [StringLength(20)]
      public string Srry { get; set; }
      public int userid { get; set; }
      public int? gsid { get; set; }
      public int bmid { get; set; }
    

運費計劃

運費計劃獲取List:

運費計劃受理:

-應收受理 http://10.100.3.138/cag/rest/freightplan/acceptar?billid=提單ID&bookingParty=x

實體

  •   public int yfjhid { get; set; }
      public int? tdid { get; set; }
      [StringLength(10)]
      [Column("ysyf")]
      public string ArAp { get; set; }//應收應付
      [StringLength(10)]
      public string wlhlb { get; set; }
      [StringLength(20)]
      public string wlhdm { get; set; }
      [StringLength(50)]
      [Column("Fymc")]
      public string FeeName { get; set; }//費用名稱
      [StringLength(10)]
      [Column("Bz")]
      public string Currency { get; set; }//幣種
      [Column("jg")]
      public decimal? Price { get; set; }//價格
      [Column("bl")]
      public decimal? Rate { get; set; }//比率
      [Column("sl")]
      public decimal? Quantity { get; set; }//數量
      [Column("sjje")]
      public decimal? Amount { get; set; }//實際金額
      [StringLength(10)]
      public string xxxc { get; set; }
      [StringLength(100)]
      public string jhbz { get; set; }
      [StringLength(12)]
      public string yfbh { get; set; }
      [StringLength(20)]
      public string srry { get; set; }
      public DateTime? srsj { get; set; }
      [StringLength(20)]
      public string xgry { get; set; }
      public DateTime? xgsj { get; set; }
      [StringLength(10)]
      public string shzt { get; set; }//審核狀態
    

提單物流狀態

獲取Get

http://eas.nbeport.com/lgv/rest/logsticsFlow/getState?billno=提單號

實體

  •   public string RESULT { get; set; }   //返回結果  (T或 F)
      public string RESULTMSG { get; set; } //結果說明,最新狀態
      public string ISEMPTY { get; set; } //(0或1);提空箱
      public string ISPREMFT { get; set; }//預配艙單
      public string ISINOUT { get; set; }//重箱進港
      public string ISCUSMOV { get; set; }//海關查驗
      public string ISCUSPASS { get; set; }//海關放行
      public string ISDOCKPASS { get; set; }//碼頭放行
      public string ISMFT { get; set; }//裝載艙單
      public string ISLOAD { get; set; }//重箱裝船
      public string ISBERTH { get; set; }//開船
      public Nullable<System.DateTime> EMPTYDATE { get; set; }
      public Nullable<System.DateTime> PREMFTDATE { get; set; }
      public Nullable<System.DateTime> INOUTDATE { get; set; }
      public Nullable<System.DateTime> CUSMOVDATE { get; set; }
      public Nullable<System.DateTime> CUSPASSDATE { get; set; }
      public Nullable<System.DateTime> DOCKPASSDATE { get; set; }
      public Nullable<System.DateTime> MFTDATE { get; set; }
      public Nullable<System.DateTime> LOADDATE { get; set; }
      public Nullable<System.DateTime> BERTHDATE { get; set; }
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容