//반품요청 목록 조회 public async Task <GetReturnListResponse> GetReturnListAsync(DateTime StartDate, DateTime EndDate) { GetReturnListRequestT req = new GetReturnListRequestT(); req = Generate_GetReturnList(StartDate, EndDate); GetReturnListResponse res = await AuctionClient.GetReturnListAsync(req); return(res); }
private GetReturnListRequestT Generate_GetReturnList(DateTime StartDate, DateTime EndDate) { GetReturnListRequestT Req = new GetReturnListRequestT(); Req.SearchDateType = ReturnListSearchDateCode.Request; Req.SearchDuration = new AuctionAuctionServiceSoap.DurationT(); Req.SearchDuration.StartDate = StartDate; Req.SearchDuration.EndDate = EndDate; Req.SearchFlags = new ReturnStatus[1] { ReturnStatus.Requested }; Req.SearchDateTypeSpecified = true; Req.SearchDuration.StartDateSpecified = true; Req.SearchDuration.EndDateSpecified = true; Req.SearchTypeSpecified = false; return(Req); }