物流监管接口
2017-08-18 本文已影响0人
kira_lun
函数设计
入境重箱
- 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<Ctnf_ViewModel>
public class Ctnf_ViewModel
{
/// <summary>
/// 报检号
/// </summary>
public string DECL_NO { get; set; }
/// <summary>
/// 提单号
/// </summary>
public string BILL_NO { get; set; }
/// <summary>
/// 集装箱号
/// </summary>
public string CTN_NO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL_NAME_EN { get; set; }
/// <summary>
/// 航次
/// </summary>
public string VOYAGE { get; set; }
/// <summary>
/// 港区代码
/// </summary>
public string SENDER_CODE { get; set; }
/// <summary>
/// 箱尺寸
/// </summary>
public string CTN_SIZE { get; set; }
/// <summary>
///
/// </summary>
public string CHECK_MARK { get; set; }
/// <summary>
/// 放行状态
/// </summary>
public string COMMPASS { get; set; }
/// <summary>
/// EDI收讫时间
/// </summary>
public DateTime? COMMPASS_TIME { get; set; }
/// <summary>
/// 国检放行时间
/// </summary>
public DateTime? COMMODRER_TIME { get; set; }
/// <summary>
/// 查验状态
/// </summary>
public string CID { get; set; }
/// <summary>
///
/// </summary>
public string DIG_FLAG { get; set; }
/// <summary>
///
/// </summary>
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<Ctne_ViewModel>
public class Ctne_ViewModel
{
/// <summary>
/// 箱号
/// </summary>
public string CTN_NO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL_NAME { get; set; }
/// <summary>
/// 航次
/// </summary>
public string VOYAGE { get; set; }
/// <summary>
/// 港区代码
/// </summary>
public string DOCK { get; set; }
/// <summary>
/// 集装箱尺寸类型
/// </summary>
public string CTN_TYPE { get; set; }
/// <summary>
/// 查验状态
/// </summary>
public string CHECK_FLAG { get; set; }
/// <summary>
/// 查验结果
/// </summary>
public string CHECK_OUT { get; set; }
/// <summary>
/// 放行时间
/// </summary>
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<Lcl_ViewModel>
public class Lcl_ViewModel
{
/// <summary>
/// 提单号
/// </summary>
public string BILL_NO { get; set; }
/// <summary>
/// 集装箱号
/// </summary>
public string CTN_NO { get; set; }
/// <summary>
/// 航次
/// </summary>
public string VOYAGE { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL_NAME_EN { get; set; }
/// <summary>
/// 木包情况
/// </summary>
public string PACK_STRING { get; set; }
/// <summary>
/// 来源国
/// </summary>
public string ORIGIN_COUNTRY { get; set; }
/// <summary>
/// 登记时间
/// </summary>
public Nullable<System.DateTime> CREATE_TIME { get; set; }
/// <summary>
/// 是否放行
/// </summary>
public string IS_PASS { get; set; }
}
- test: bill_no=PCSLICNBC1700470 / ctn_no=TEMU5190043