//취소요청 목록 조회 public async Task <GetCancelApprovalListResponse> GetCancelListAsync(DateTime StartDate, DateTime EndDate) { GetCancelApprovalRequestT req = new GetCancelApprovalRequestT(); req = Generate_GetCancelList(StartDate, EndDate); GetCancelApprovalListResponse res = await AuctionClient.GetCancelApprovalListAsync(req); return(res); }
private GetCancelApprovalRequestT Generate_GetCancelList(DateTime StartDate, DateTime EndDate) { GetCancelApprovalRequestT Req = new GetCancelApprovalRequestT(); Req.SearchDateType = CancelApprovalListSearchDateCode.CancelRequestDate; Req.SearchDateTypeSpecified = true; Req.FromDate = StartDate.ToString("yyyy-MM-dd"); Req.ToDate = EndDate.ToString("yyyy-MM-dd"); Req.SearchType = CancelApprovalListSearchCode.None; Req.SearchTypeSpecified = true; return(Req); }