提單
提單獲取List:
- http://10.100.3.138/cag/rest/bill/
- 參數(shù):
BillName 提單號(hào)或訂艙單位
BillNo 提單號(hào)
BookingParty 訂艙單位
UserName 文檔人員
Ock 是否微信新增
pageSize 頁(yè)碼
pageIndex 頁(yè)數(shù)
提單獲取Model
提單保存Post
-
http://10.100.3.138/cag/rest/bill/
- 傳入Bill
- 返回
微信提單新增Create
-
http://10.100.3.138/cag/rest/bill/create
- 傳入Bill
- 返回
實(shí)體
-
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; }//提單號(hào) [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; }//發(fā)貨人 [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; }//起運(yùn)港 [StringLength(50)] [Column("Zzg")] public string TranshipPort { get; set; } //中轉(zhuǎn)港 [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; }//默認(rèn)GC [Column("Js")] public decimal? Pcs { get; set; }//件數(shù) [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; } //工作編號(hào) [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; } //微信新增標(biāo)志 [StringLength(10)] [Column("dldb")] public string BusinessModel { get; set; } [StringLength(50)] [Column("xxxcs")] public string CtnCount { get; set; } //箱型箱尺數(shù) [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; }// 離港時(shí)間 public DateTime? fjrq2 { get; set; }//到港時(shí)間 //擴(kuò)展字段 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; } //裝柜日期,裝箱單要求到達(dá)日期 public DateTime? SailingDate { get; set; } //開航日期 public string Vessel { get; set; }//船名 public string Voyage { get; set; }//航次
裝箱單
裝箱單獲取List:
- http://10.100.3.138/cag/rest/ctn/
- 參數(shù):
BillId 提單ID
CtnNo
SealNo
pageSize 頁(yè)碼
pageIndex 頁(yè)數(shù)
實(shí)體
-
Ctn類
public int Xhid { get; set; } public int Cmid { get; set; } [Column("Xh")] [StringLength(15)] public string CtnNo { get; set; } //箱號(hào) [Column("Fh")] [StringLength(15)] public string SealNo { get; set; }//封號(hào) [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; }
運(yùn)費(fèi)計(jì)劃
運(yùn)費(fèi)計(jì)劃獲取List:
- http://10.100.3.138/cag/rest/freightplan
- 參數(shù):
BillId 提單ID
ArAp 應(yīng)收應(yīng)付
BookingParty
pageSize 頁(yè)碼
pageIndex 頁(yè)數(shù)
運(yùn)費(fèi)計(jì)劃受理:
-應(yīng)收受理 http://10.100.3.138/cag/rest/freightplan/acceptar?billid=提單ID&bookingParty=x
實(shí)體
-
類
public int yfjhid { get; set; } public int? tdid { get; set; } [StringLength(10)] [Column("ysyf")] public string ArAp { get; set; }//應(yīng)收應(yīng)付 [StringLength(10)] public string wlhlb { get; set; } [StringLength(20)] public string wlhdm { get; set; } [StringLength(50)] [Column("Fymc")] public string FeeName { get; set; }//費(fèi)用名稱 [StringLength(10)] [Column("Bz")] public string Currency { get; set; }//幣種 [Column("jg")] public decimal? Price { get; set; }//價(jià)格 [Column("bl")] public decimal? Rate { get; set; }//比率 [Column("sl")] public decimal? Quantity { get; set; }//數(shù)量 [Column("sjje")] public decimal? Amount { get; set; }//實(shí)際金額 [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; }//審核狀態(tài)
提單物流狀態(tài)
獲取Get
http://eas.nbeport.com/lgv/rest/logsticsFlow/getState?billno=提單號(hào)
實(shí)體
-
類
public string RESULT { get; set; } //返回結(jié)果 (T或 F) public string RESULTMSG { get; set; } //結(jié)果說明独旷,最新狀態(tài) public string ISEMPTY { get; set; } //(0或1);提空箱 public string ISPREMFT { get; set; }//預(yù)配艙單 public string ISINOUT { get; set; }//重箱進(jìn)港 public string ISCUSMOV { get; set; }//海關(guān)查驗(yàn) public string ISCUSPASS { get; set; }//海關(guān)放行 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; }