美文网首页
云平台订舱

云平台订舱

作者: baggio555 | 来源:发表于2016-06-14 15:15 被阅读0次

    云平台订舱webapi

    1.船司订舱查询

    QueryString 说明
    SENDER_NAME -
    RECEIVER_NAME -
    VESSEL -
    BILLOFLADINGNO -
    CARRIER -
    REFER_NO -
    DEAL_TIMEE_START 开始受理时间
    DEAL_TIME_END 结束受理时间
    STATUS 状态:已受理-已发送-已接收
    *USERID 用户
    • 获取Model
      url:http://dev.nbeport.com/xde/rest/WebQuery/GetModel/{MSG_GID}
      case:http://dev.nbeport.com/xde/rest/WebQuery/GetModel/f1ebdcf7-c40e-4b0f-9fa7-8d1ce7069217

    • GetModelByBillNo
      url:http://dev.nbeport.com/xde/rest/WebQuery/GetModelByBillNo
      case:http://dev.nbeport.com/xde/rest/WebQuery/GetModelByBillNo?BillNo=578549789

        /// <summary>
        /// ID
        /// </summary>
        public string MSG_GID { get; set; }
        /// <summary>
        /// 提单号
        /// </summary>
        public string BILLOFLADINGNO { get; set; }
        /// <summary>
        /// 托运号
        /// </summary>
        public string REFER_NO { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string OPERATOR { get; set; }
        /// <summary>
        /// 发送方 部门
        /// </summary>
        public string SENDER { get; set; }
        /// <summary>
        /// 接收方 部门
        /// </summary>
        public string RECEIVER { get; set; }
        /// <summary>
        /// 内部类型,entrust1
        /// </summary>
        public string MSG_TYPE { get; set; }
        /// <summary>
        /// 船名
        /// </summary>
        public string VESSEL { get; set; }
        /// <summary>
        /// 航次
        /// </summary>
        public string VOYNO { get; set; }
        /// <summary>
        /// 装货港
        /// </summary>
        public string LOAD { get; set; }
        /// <summary>
        /// 卸货港
        /// </summary>
        public string DISCHARGE { get; set; }
        /// <summary>
        /// 受理时间
        /// </summary>
        public DateTime? DEAL_TIME { get; set; }
        public string DEAL_RESULT { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime? SEND_TIME { get; set; }
        /// <summary>
        /// 接收时间
        /// </summary>
        public DateTime? RECV_TIME { get; set; }
        /// <summary>
        /// 接收消息
        /// </summary>
        public string RECV_MESSAGE { get; set; }
        public string OTHER { get; set; }
        /// <summary>
        /// edi类型,IFTMBF船司订舱等
        /// </summary>
        public string EDITYPE { get; set; }
        public DateTime? RECEIVETIME { get; set; }
        /// <summary>
        /// 船公司
        /// </summary>
        public string CARRIER { get; set; }
        public string ACCEPT_STATE { get; set; }
        public DateTime? RECVTIME { get; set; }
        public DateTime? APK_TIME { get; set; }
        public DateTime? SHIPAGENT_RECV_TIME { get; set; }
        public string SHIPAGENT_RECV_MESSAGE { get; set; }
        public DateTime? CUSTOMS_RECV_TIME { get; set; }
        public string CUSTOMS_RECV_MESSAGE { get; set; }
        public string SHIPPINGORDERNUMBER { get; set; }
        public string DEPARTUREDATE { get; set; }
        /// <summary>
        /// 为空时关联直发否
        /// </summary>
        public string SHIPPER_REFNO { get; set; }
        /// <summary>
        /// 发送通道
        /// </summary>
        public string MSG_SOURCE { get; set; }
        /// <summary>
        /// 发送方名称
        /// </summary>
        public string SENDER_NAME { get; set; }
        /// <summary>
        /// 接收方名称
        /// </summary>
        public string RECEIVER_NAME { get; set; }
        /// <summary>
        /// 是否直联
        /// </summary>
        public string ISREF { get; set; }
      

    2.货代间订舱查询

    QueryString 说明
    SENDER_NAME -
    RECEIVER_NAME -
    VESSEL -
    BILLOFLADINGNO -
    CARRIER -
    REFER_NO -
    DE_REC_TIME_START 开始受理时间
    DE_REC_TIME_END 结束受理时间
    STATUS 状态:已受理-已发送-已接收
    * USERID 用户
    • 获取Model
      url:http://dev.nbeport.com/xde/rest/ShpordQuery/GetModel/{MSG_GID}
      case:http://dev.nbeport.com/xde/rest/ShpordQuery/GetModel/59f18138-7689-463f-8397-33ca71020032

    • GetModelByBillNo
      url:http://dev.nbeport.com/xde/rest/ShpordQuery/GetModelByBillNo
      case:http://dev.nbeport.com/xde/rest/ShpordQuery/GetModelByBillNo?BillNo=AF121203154

        /// <summary>
        /// ID
        /// </summary>
        public string MSG_GID { get; set; }
        public string MSG_FILENAME { get; set; }
        /// <summary>
        /// 提单号
        /// </summary>
        public string BILLOFLADINGNO { get; set; }
        /// <summary>
        /// 托运号
        /// </summary>
        public string REFER_NO { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string OPERATOR { get; set; }
        public string REFERENCE { get; set; }
        /// <summary>
        /// 工作编号
        /// </summary>
        public string WORKNO { get; set; }
        /// <summary>
        /// 发送单位
        /// </summary>
        public string SENDER { get; set; }
        /// <summary>
        /// 发送方名称
        /// </summary>
        public string SENDER_NAME { get; set; }
        /// <summary>
        /// 操作员电话
        /// </summary>
        public string OPERATORTEL { get; set; }
        /// <summary>
        /// 接收单位
        /// </summary>
        public string RECEIVER { get; set; }
        /// <summary>
        /// 接收方名称
        /// </summary>
        public string RECEIVER_NAME { get; set; }
        /// <summary>
        /// 报文类型
        /// </summary>
        public string MSG_TYPE { get; set; }
        /// <summary>
        /// 船公司代码
        /// </summary>
        public string CARRIER { get; set; }
        /// <summary>
        /// 船名
        /// </summary>
        public string VESSEL { get; set; }
        /// <summary>
        /// 航次
        /// </summary>
        public string VOYNO { get; set; }
        /// <summary>
        /// 启运港
        /// </summary>
        public string LOAD { get; set; }
        /// <summary>
        /// 卸货港
        /// </summary>
        public string DISCHARGE { get; set; }
        /// <summary>
        /// 交货地
        /// </summary>
        public string DELIVERY { get; set; }
        /// <summary>
        /// 目地地
        /// </summary>
        public string FINALDESTINATIO { get; set; }
        /// <summary>
        /// 开航日期
        /// </summary>
        public string ETD { get; set; }
        /// <summary>
        /// 最晚确认日期
        /// </summary>
        public string LASTDATE { get; set; }
        /// <summary>
        /// 订舱备注
        /// </summary>
        public string MEMO { get; set; }
        /// <summary>
        /// DE接收时间
        /// </summary>
        public DateTime? DE_REC_TIME { get; set; }
        /// <summary>
        /// DE处理状态及错误信息
        /// </summary>
        public string DE_REC_MSG { get; set; }
        /// <summary>
        /// DE发送时间
        /// </summary>
        public DateTime? DE_SED_TIME { get; set; }
        /// <summary>
        /// 下载时间
        /// </summary>
        public DateTime? LOAD_TIME { get; set; }
        /// <summary>
        /// 下载状态
        /// </summary>
        public string LOAD_MSG { get; set; }
        /// <summary>
        /// 货代处理时间(业务回执)
        /// </summary>
        public DateTime? FWD_DEAL_TIME { get; set; }
        /// <summary>
        /// 货代处理结果(业务回执)
        /// </summary>
        public string FWD_DEAL_MSG { get; set; }
        /// <summary>
        /// 分票对应的主ID
        /// </summary>
        public string MSG_UID { get; set; }
        /// <summary>
        /// 船公司名称
        /// </summary>
        public string CARRIER_NAME { get; set; }
        /// <summary>
        /// 船公司提单号
        /// </summary>
        public string CAR_BILLOFLADIN { get; set; }
        /// <summary>
        /// 发送通道
        /// </summary>
        public string MSG_SOURCE { get; set; }
        /// <summary>
        /// 发送报文帐号
        /// </summary>
        public string USER_ID { get; set; }
        /// <summary>
        /// 货代处理结果(业务回执)代码
        /// </summary>
        public string FWD_DEAL_CODE { get; set; }
      

    3.订舱详情

    • 获取Model
      url:http://dev.nbeport.com/xde/rest/HeadOut/GetModel/{MSG_GID}
      case:http://dev.nbeport.com/xde/rest/HeadOut/GetModel/59f18138-7689-463f-8397-33ca71020032

       /// <summary>
       /// id
       /// </summary>
       public string MSG_GID { get; set; }
       public string UID_OUT { get; set; }
       /// <summary>
       /// 发送方 公司
       /// </summary>
       public string SNDCOM { get; set; }
       /// <summary>
       /// 发送方 部门
       /// </summary>
       public string SENDER { get; set; }
       /// <summary>
       /// 发送方 操作员 user
       /// </summary>
       public string FROMOP { get; set; }
       /// <summary>
       /// 发送方 操作员 tele
       /// </summary>
       public string FROMTELE { get; set; }
       /// <summary>
       /// 发送方 操作员 fax
       /// </summary>
       public string FROMFAX { get; set; }
       /// <summary>
       /// 发送方 操作员 mail
       /// </summary>
       public string FROMMAIL { get; set; }
       /// <summary>
       /// 发送方 操作员 chinese name
       /// </summary>
       public string FROMOPC { get; set; }
       /// <summary>
       /// 发送方 操作员 eglish name
       /// </summary>
       public string FROMOPE { get; set; }
       /// <summary>
       /// 接收方 公司
       /// </summary>
       public string ACCOM { get; set; }
       public string ACCEPTER { get; set; }
       public string TOOP { get; set; }
       /// <summary>
       /// EDI发送时间
       /// </summary>
       public string SENDTIME { get; set; }
       /// <summary>
       /// EDI类型 IFTMBF船司订舱等
       /// </summary>
       public string EDITYPE { get; set; }
       /// <summary>
       /// 客户端报文编号
       /// </summary>
       public string EDIID { get; set; }
       /// <summary>
       /// 客户端报文名称
       /// </summary>
       public string EDINAME { get; set; }
       /// <summary>
       /// 收发参数 报文格式HYXML
       /// </summary>
       public string EDIMODE { get; set; }
       /// <summary>
       /// 收方账号
       /// </summary>
       public string EDIRECEIVER { get; set; }
       /// <summary>
       /// 发方账号
       /// </summary>
       public string EDISENDER { get; set; }
       public string EDIFORWARDFMT { get; set; }
       public string EDIFORWARDTYPE { get; set; }
       public string EDIFORWARDURL { get; set; }
       public string EDIFORWARDID { get; set; }
       public string EDIFORWARDPASS { get; set; }
       public string EDIFORWARDREFE1 { get; set; }
       public string EDIFORWARDREFE2 { get; set; }
       public string EDIFORWARDREFE3 { get; set; }
       public string EDIFORWARDREFE4 { get; set; }
       public string EDIFORWARDREFE5 { get; set; }
       /// <summary>
       /// 订舱操作 Original:新建  Change:修改 Cancellation:取消
       /// </summary>
       public string BLFREIGHT { get; set; }
       /// <summary>
       /// 客户端系统托单ID 自增序列数
       /// </summary>
       public string REFID { get; set; }
       public string FREID { get; set; }
       /// <summary>
       /// 托运编号
       /// </summary>
       public string REFERENCENO { get; set; }
       /// <summary>
       /// 订舱编号
       /// </summary>
       public string BOOKINGNO { get; set; }
       /// <summary>
       /// 工作编号
       /// </summary>
       public string WORKNO { get; set; }
       /// <summary>
       /// 销售业务员
       /// </summary>
       public string SALE { get; set; }
       /// <summary>
       /// 提单号
       /// </summary>
       public string BILLOFLADINGNO { get; set; }
       public string MF_REFID { get; set; }
       public string MF_FREID { get; set; }
       public string MF_REFERENCENO { get; set; }
       public string MF_BOOKINGNO { get; set; }
       public string MF_WORKNO { get; set; }
       public string MF_BILLOFLADINGNO { get; set; }
       public string FF_REFID { get; set; }
       public string FF_FREID { get; set; }
       public string FF_REFERENCENO { get; set; }
       public string FF_BOOKINGNO { get; set; }
       public string FF_WORKNO { get; set; }
       public string FF_BILLOFLADINGNO { get; set; }
       /// <summary>
       /// 订舱单位
       /// </summary>
       public string ORDERMAN { get; set; }
       /// <summary>
       /// 货物来源
       /// </summary>
       public string SOURCE { get; set; }
       /// <summary>
       /// 结算货主及币种 USD
       /// </summary>
       public string USDACCOUNTSHIPPER { get; set; }
       /// <summary>
       /// 保关货主及币种 RMB
       /// </summary>
       public string CUSTOMSHIPPER { get; set; }
       /// <summary>
       /// 结算货主及币种 RMB
       /// </summary>
       public string RMBACCOUNTSHIPPER { get; set; }
       /// <summary>
       /// 付款方式代码 P/C
       /// </summary>
       public string PAYMENTTERMCODE { get; set; }
       /// <summary>
       /// 付款方式
       /// </summary>
       public string PAYMENTTERM { get; set; }
       /// <summary>
       /// 第三地付款地点
       /// </summary>
       public string PAYABLEAT { get; set; }
       /// <summary>
       /// 运费条款
       /// </summary>
       public string SHIPPINGITEM { get; set; }
       /// <summary>
       /// 提单类型
       /// </summary>
       public string BILLOFLADINGTYPE { get; set; }
       /// <summary>
       /// 提单货主 (发货人)
       /// </summary>
       public string SHIPPER { get; set; }
       /// <summary>
       /// 收货人
       /// </summary>
       public string CONSIGNEE { get; set; }
       /// <summary>
       /// 通知人
       /// </summary>
       public string NOTIFYPARTY { get; set; }
       /// <summary>
       /// 通知人2
       /// </summary>
       public string NOTIFYPARTY2 { get; set; }
       /// <summary>
       /// 订舱说明
       /// </summary>
       public string ORDERMEMO { get; set; }
       /// <summary>
       /// 提单正本数
       /// </summary>
       public string NUMBEROFORIGINALS { get; set; }
       /// <summary>
       /// 提单副本数
       /// </summary>
       public string NUMBEROFCOPYS { get; set; }
       /// <summary>
       /// 签单地代码
       /// </summary>
       public string PLACEOFISSUECODE { get; set; }
       /// <summary>
       /// 签单地
       /// </summary>
       public string PLACEOFISSUE { get; set; }
       /// <summary>
       /// 签单时间
       /// </summary>
       public string TIMEOFISSUE { get; set; }
       /// <summary>
       /// 询价单位
       /// </summary>
       public string APPLICANT { get; set; }
       /// <summary>
       /// 签协议的单位代码
       /// </summary>
       public string BOKKINGPARTY { get; set; }
       /// <summary>
       /// 国外订舱单位
       /// </summary>
       public string FOBPARTY { get; set; }
       /// <summary>
       /// 美线服务合同号
       /// </summary>
       public string SCNO { get; set; }
       /// <summary>
       /// 检疫代码
       /// </summary>
       public string QUARANTINECODING { get; set; }
       /// <summary>
       /// 美海关批准的NVOCC号
       /// </summary>
       public string SCACCODE { get; set; }
       /// <summary>
       /// 运费协议号
       /// </summary>
       public string QUOTATIONNO_C { get; set; }
       /// <summary>
       /// 费率本代码
       /// </summary>
       public string CHARGETYPE { get; set; }
       /// <summary>
       /// NVOCC HBLNO
       /// </summary>
       public string NVOCCHBLNO { get; set; }
       /// <summary>
       /// 真实提单货主
       /// </summary>
       public string REALSHIPPER { get; set; }
       /// <summary>
       /// 真实收货人
       /// </summary>
       public string REALCONSIGNEE { get; set; }
       /// <summary>
       /// 真实通知人
       /// </summary>
       public string REALNOTIFYPARTY { get; set; }
       /// <summary>
       /// 真实通知人2
       /// </summary>
       public string REALNOTIFYPARTY2 { get; set; }
       public string SHIPMENTDATE { get; set; }
       public string EXPIRYDATE { get; set; }
       public string TRANSHIP { get; set; }
       public string BATCH { get; set; }
       public string QUOTATIONNO { get; set; }
       /// <summary>
       /// 整箱拼箱 固定为 FCL LCL 等
       /// </summary>
       public string FL { get; set; }
       /// <summary>
       /// 要求配舱日期
       /// </summary>
       public string REQUESTDATE { get; set; }
       /// <summary>
       /// 最晚配舱日期
       /// </summary>
       public string LASTDATE { get; set; }
       /// <summary>
       /// 要求到达日期
       /// </summary>
       public string ARRIVEDATE { get; set; }
       /// <summary>
       /// 收货地点 货代收货地点 shdd
       /// </summary>
       public string PLACEOFRECEIPT { get; set; }
       /// <summary>
       /// 装货港  zhg
       /// </summary>
       public string PORTOFLOADING { get; set; }
       /// <summary>
       /// 转运港口 二程启运港口 zzg
       /// </summary>
       public string PORTOFTRANSHIP { get; set; }
       /// <summary>
       /// 卸货港  最后一个港口 xhg
       /// </summary>
       public string PORTOFDISCHARGE { get; set; }
       /// <summary>
       /// 交货地点 船司负责到的最后地点 jhdd
       /// </summary>
       public string PLACEOFDELIVERY { get; set; }
       /// <summary>
       /// 目的地 船司负责到的最后地点
       /// </summary>
       public string FINALDESTINATION { get; set; }
       /// <summary>
       /// code of 收货地点
       /// </summary>
       public string CO_PLACEOFRECEIPT { get; set; }
       /// <summary>
       /// code of 装货港
       /// </summary>
       public string CO_PORTOFLOADING { get; set; }
       /// <summary>
       /// code of 转运港口
       /// </summary>
       public string CO_PORTOFTRANSHIP { get; set; }
       /// <summary>
       /// code of 卸货港
       /// </summary>
       public string CO_PORTOFDISCHARGE { get; set; }
       /// <summary>
       /// code of 交货地点
       /// </summary>
       public string CO_PLACEOFDELIVERY { get; set; }
       /// <summary>
       /// code of 目的地
       /// </summary>
       public string CO_FINALDESTINATIO { get; set; }
       /// <summary>
       /// 船公司
       /// </summary>
       public string CARRIER { get; set; }
       /// <summary>
       /// 船名
       /// </summary>
       public string OCEANVESSEL { get; set; }
       /// <summary>
       /// 航次
       /// </summary>
       public string VOYNO { get; set; }
       /// <summary>
       /// 预计离港日期
       /// </summary>
       public string ETD { get; set; }
       /// <summary>
       /// 运输方式
       /// </summary>
       public string DELIVERYMODE { get; set; }
       public string I2CARRIER { get; set; }
       public string I2OCEANVESSEL { get; set; }
       public string I2VOYNO { get; set; }
       public string I2ETD { get; set; }
       public string I2ETA { get; set; }
       public string I2REMARKS { get; set; }
       /// <summary>
       /// 唛头
       /// </summary>
       public string MARKSANDNUMBERS { get; set; }
       /// <summary>
       /// 包装件数
       /// </summary>
       public string NOOFPKGS { get; set; }
       /// <summary>
       /// 包装类型-代码
       /// </summary>
       public string PACKAGINGCODE { get; set; }
       /// <summary>
       /// 包装类型
       /// </summary>
       public string PACKAGING { get; set; }
       /// <summary>
       /// 货物类型
       /// </summary>
       public string CARGOID { get; set; }
       /// <summary>
       /// HSCODE
       /// </summary>
       public string HSCODE { get; set; }
       /// <summary>
       /// 货物描述 英文货名
       /// </summary>
       public string DESCRIPTION { get; set; }
       /// <summary>
       /// 货物描述 中文货名
       /// </summary>
       public string CDESCRIPTION { get; set; }
       /// <summary>
       /// 毛重
       /// </summary>
       public string GROSSWEIGHT { get; set; }
       /// <summary>
       /// 计费体积
       /// </summary>
       public string CBM { get; set; }
       /// <summary>
       /// 特殊货物说明
       /// </summary>
       public string SPECIALGOODS { get; set; }
       /// <summary>
       /// 危险品分类
       /// </summary>
       public string CLASS { get; set; }
       /// <summary>
       /// 危险品页号
       /// </summary>
       public string PAGE { get; set; }
       /// <summary>
       /// -联合国危险品编号
       /// </summary>
       public string UNDGNO { get; set; }
       public string TECNAME { get; set; }
      
       public string PACKGROUP { get; set; }
       /// <summary>
       /// 危险品标签
       /// </summary>
       public string LABEL { get; set; }
       /// <summary>
       /// 危险货物闪点
       /// </summary>
       public string FLASHPOINT { get; set; }
       /// <summary>
       /// 闪点温度计量单位 C=摄氏 F=华氏
       /// </summary>
       public string FLASHUNIT { get; set; }
       public string EMSNO { get; set; }
       public string MFAGNO { get; set; }
       public string MPT { get; set; }
       /// <summary>
       /// 紧急联系人 EMS CONTACT应急联系
       /// </summary>
       public string ELINKMAN { get; set; }
       /// <summary>
       /// 危险品信息 DNG REMARKS危险品备注
       /// </summary>
       public string DANGEROUS { get; set; }
       /// <summary>
       /// 冷藏品温度要求
       /// </summary>
       public string TEMPERATURE { get; set; }
       /// <summary>
       /// 冷藏温度计量单位 C=摄氏 F=华氏
       /// </summary>
       public string TEMPERATUREUNIT { get; set; }
       public string MINTEMPERATURE { get; set; }
       public string MAXTEMPERATURE { get; set; }
       public string ALLCOLDTORAGE { get; set; }
       public string VENTI { get; set; }
       /// <summary>
       /// 冷藏信息
       /// </summary>
       public string REEFER { get; set; }
       /// <summary>
       /// 进仓编号
       /// </summary>
       public string ENTRYNO { get; set; }
       /// <summary>
       /// 仓库
       /// </summary>
       public string WAREHOUSE { get; set; }
       /// <summary>
       /// 车队
       /// </summary>
       public string LANDCARRIER { get; set; }
       /// <summary>
       /// 装箱时间
       /// </summary>
       public string STUFFDATE { get; set; }
       /// <summary>
       /// 装箱方式
       /// </summary>
       public string STUFFMODE { get; set; }
       /// <summary>
       /// 装箱地点
       /// </summary>
       public string STUFFADDRESS { get; set; }
       /// <summary>
       /// 装箱备注
       /// </summary>
       public string STUFFMEMO { get; set; }
       /// <summary>
       /// 托运声明
       /// </summary>
       public string ANNOUNCE { get; set; }
       /// <summary>
       /// 备注信息
       /// </summary>
       public string REMARKS { get; set; }
       public string ENFREIGHT { get; set; }
       public string MASTERLCLNO { get; set; }
       public string CHKRESA { get; set; }
       public string CHKRESB { get; set; }
       public string CHKRESC { get; set; }
       public string CHKRESD { get; set; }
       public string CHKTMP { get; set; }
       public string ERRS { get; set; }
       public string BM { get; set; }
       /// <summary>
       /// 箱型箱尺
       /// </summary>
       public string CTNSTR { get; set; }
       public string STATE { get; set; }
       public DateTime? LOGICTIME { get; set; }
       public string SHIPAGENT { get; set; }
       public string CO_SHIPAGENT { get; set; }
       public string DESCRIPTION1 { get; set; }
       public string MARKSANDNUMBERS1 { get; set; }

    相关文章

      网友评论

          本文标题:云平台订舱

          本文链接:https://www.haomeiwen.com/subject/kbqudttx.html