using Microsoft.AspNetCore.Mvc; using Myshipping.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { public interface IBookingMSKAPIService { /// /// 检索海运船期详情 /// /// 请求船期详情 /// 返回船期结果 Task> SearchShipSailingSchedule(QueryShipSailingScheduleDto model); /// /// 发送马士基订舱请求 /// /// 请求订舱详情 /// 返回检索结果 Task SendMSKBooking(MSKBookingDto model); /// /// 检索商品名称 /// /// 请求详情 /// 返回检索结果 Task> SearchCommodities(QueryCommoditiesDto model); /// /// 检索始发地、目的港口信息 /// /// 请求详情 /// 返回检索结果 Task> SearchLocations(QueryLocationsDto model); /// /// 马士基API订舱台账 /// /// 查询条件 /// 返回台账列表 Task> GetPageAsync(QueryBookingDeliveryRecordDto QuerySearch); /// /// 获取马士基API订舱详情 /// /// 马士基API订舱ID /// 返回详情 Task GetInfo(long id); /// /// 保存 /// /// 请求订舱详情 /// 返回ID Task Save(MSKBookingDto model); /// /// 删除 /// /// 请求订舱ID /// Task Delete(long id); } }