登录信息
- userid = 38000016003 国检用户ID
进口岸查询
- mode: HttpGet
- url: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipInList?userid={userid}&ent={ent}&declno={declno}&declnos={declnos}&page={page}&rows={rows}&format=xml
- request: userid 用户id/ent 企业id/declno 报检号/declnos 批量报检号(逗号分隔)/page 页码/rows 每页条数/
- response: T_DECL_MAIN_ViewModel
- test: userid=38000016003,declno=SI999999994416442326,declnos=SI999999994416442326,SI999999994416442309,page=1,rows=15
- testurl: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipInList?declnos=SI999999994416442326,SI999999994416442309&page=1&rows=10&format=xml
public class T_DECL_MAIN_ViewModel
{
/// <summary>
/// 申报单号
/// </summary>
public string DECL_NO { get; set; }
/// <summary>
/// IMO
/// </summary>
public string IMO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string T_TRANS_NAME { get; set; }
/// <summary>
/// 航次
/// </summary>
public string VOYAGE { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime? CREATER_TIME { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CREATER { get; set; }
/// <summary>
/// 受理时间
/// </summary>
public DateTime? OPERATOR_TIME { get; set; }
/// <summary>
/// 状态代码
/// </summary>
public string STATUS { get; set; }
/// <summary>
/// 状态名称
/// </summary>
public string STATUS_NAME { get; set; }
/// <summary>
/// 申报类型
/// </summary>
public string DEC_TYPE { get; set; }
/// <summary>
/// 申报人姓名
/// </summary>
public string NAME { get; set; }
/// <summary>
/// 操作类型
/// </summary>
public string RowStatus { get; set; }
}
出口岸查询
- mode: HttpGet
- url: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipOutList?userid={userid}&ent={ent}&declno={declno}&declnos={declnos}&page={page}&rows={rows}&format=xml
- request: userid 用户id/ent 企业id/declno 报检号/declnos 批量报检号(逗号分隔)/page 页码/rows 每页条数/
- response: T_DECL_MAIN_ViewModel
- test: userid=38000016003,declno=SO999999990116364615,declnos=SO999999990116364615,SO999999994016364614,page=1,rows=15
- testurl: http://dev.nbeport.com/tims/rest/DeclMain/DeclShipOutList?declnos=SO999999990116364615,SO999999994016364614&page=1&rows=10&format=xml
public class T_DECL_MAIN_ViewModel
{
/// <summary>
/// 申报单号
/// </summary>
public string DECL_NO { get; set; }
/// <summary>
/// IMO
/// </summary>
public string IMO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string T_TRANS_NAME { get; set; }
/// <summary>
/// 航次
/// </summary>
public string VOYAGE { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime? CREATER_TIME { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CREATER { get; set; }
/// <summary>
/// 受理时间
/// </summary>
public DateTime? OPERATOR_TIME { get; set; }
/// <summary>
/// 状态代码
/// </summary>
public string STATUS { get; set; }
/// <summary>
/// 状态名称
/// </summary>
public string STATUS_NAME { get; set; }
/// <summary>
/// 申报类型
/// </summary>
public string DEC_TYPE { get; set; }
/// <summary>
/// 申报人姓名
/// </summary>
public string NAME { get; set; }
/// <summary>
/// 操作类型
/// </summary>
public string RowStatus { get; set; }
}
卫生证书查询
- mode: HttpGet
- url: http://dev.nbeport.com/tims/rest/DeclHealthCert/List?userid={userid}&ent={ent}&declno={declno}&declnos={declnos}&page={page}&rows={rows}&format=xml
- request: userid 用户id/ent 企业id/declno 报检号/declnos 批量报检号(逗号分隔)/page 页码/rows 每页条数/
- response: T_DECL_HEALTH_CERT_ViewModel
- test: userid=38000016003,declno=ZS999999991316064484,declnos=ZS999999991316064484,ZS999999992116064367,page=1,rows=15
- testurl: http://dev.nbeport.com/tims/rest/DeclHealthCert/List?declnos=ZS999999991316064484,ZS999999992116064367&page=1&rows=10&format=xml
public class T_DECL_HEALTH_CERT_ViewModel
{
/// <summary>
/// 证书申报单号
/// </summary>
public string DECL_NO { get; set; }
/// <summary>
/// 关联船舶申报单号
/// </summary>
public string TRANS_DECL_NO { get; set; }
/// <summary>
/// IMO
/// </summary>
public string IMO { get; set; }
/// <summary>
/// 船名
/// </summary>
public string T_TRANS_NAME { get; set; }
/// <summary>
/// 录入日期
/// </summary>
public DateTime? OPERATE_DATE { get; set; }
/// <summary>
/// 录入人
/// </summary>
public string OPERATOR_CODE { get; set; }
/// <summary>
/// 受理时间
/// </summary>
public DateTime? OPERATOR_TIME { get; set; }
/// <summary>
/// 状态代码
/// </summary>
public string STATE { get; set; }
/// <summary>
/// 状态名称
/// </summary>
public string STATE_NAME { get; set; }
/// <summary>
/// 录入人姓名
/// </summary>
public string NAME { get; set; }
/// <summary>
/// 操作类型
/// </summary>
public string RowStatus { get; set; }
}
进口岸申报追回
- mode: HttpPost
- url: http://dev.nbeport.com/tims/rest/DeclMain/ShipInBack
- request: from body
- response: "OK"
- test: {"DECLNO":"SI999999994416442309"}
出口岸申报追回
- mode: HttpPost
- url: http://dev.nbeport.com/tims/rest/DeclMain/ShipOutBack
- request: from body
- response: "OK"
- test: {"DECLNO":"SO999999994016364614"}
卫生证书申报追回
- mode: HttpPost
- url: http://dev.nbeport.com/tims/rest/DeclHealthCert/Back
- request: from body
- response: "OK"
- test: {"DECLNO":"ZS999999992116064367"}