public GetForecastInfo GetForecastRequest(ApiConnect.ApiConnect apiConnect, int IdRequest) { string[] Headers = new string[] { }; ForecastRequest requestResult4 = new ForecastRequest(); return(apiConnect.GetResult4(IdRequest, "", "GetForecast", ref Headers, requestResult4).Data as GetForecastInfo); }
public int CreateNewForecastRequest(ApiConnect.ApiConnect apiConnect) { string[] Headers = new string[] { }; CreateForecastReport requestResult4 = new CreateForecastReport(); return((int)apiConnect.GetResult4(paramsRequest, "", "CreateNewForecast", ref Headers, requestResult4).Data); }
public ForecastStatusInfo[] GetForecastListRequest(ApiConnect.ApiConnect apiConnect) { string[] Headers = new string[] { }; GetForecastList requestResult4 = new GetForecastList(); return(apiConnect.GetResult4(null, "", "GetForecastList", ref Headers, requestResult4).Data as ForecastStatusInfo[]); }
public int DeleteForecastReportRequest(ApiConnect.ApiConnect apiConnect, int IdRequest) { string[] Headers = new string[] { }; DeleteForecastReportId report = new DeleteForecastReportId(); return((int)apiConnect.GetResult4(IdRequest, "", "DeleteForecastReport", ref Headers, report).Data); }