Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        public int CreateNewForecastRequest(ApiConnect.ApiConnect apiConnect)
        {
            string[]             Headers        = new string[] { };
            CreateForecastReport requestResult4 = new CreateForecastReport();

            return((int)apiConnect.GetResult4(paramsRequest, "", "CreateNewForecast", ref Headers, requestResult4).Data);
        }
Esempio n. 3
0
        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[]);
        }
Esempio n. 4
0
        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);
        }