Пример #1
0
        public SendResult SendTemplateEmail(SendTemplateParameter parameter, string attachmentName, string attachmentPath)
        {
            string json = base.CallApi(Config.SendConfig.MailSendTemplate, parameter, attachmentName, attachmentPath);

            return(JsonNet.DeserializeToString <SendResult>(json));
        }
Пример #2
0
        public LabelsResult GetLabels(LabelsParameter parameter)
        {
            string result = base.CallApi(Config.LabelConfig.LabelGetList, parameter);

            return(JsonNet.DeserializeToString <LabelsResult>(result));
        }
Пример #3
0
        public UnsubscribesResult DeleteUnsubscribe(DelUnsubscribeParameter parameter)
        {
            string result = base.CallApi(Config.UnsubscribesConfig.UnsubscribesDelete, parameter);

            return(JsonNet.DeserializeToString <UnsubscribesResult>(result));
        }
Пример #4
0
        public UnsubscribesResult GetUnsubscribes(UnsubscribesGetParameter parameter)
        {
            string result = base.CallApi(Config.UnsubscribesConfig.UnsubscribesGet, parameter);

            return(JsonNet.DeserializeToString <UnsubscribesResult>(result));
        }
Пример #5
0
        public InvalidStatsResult GetinInvalids(StatsParameter parameter)
        {
            string result = base.CallApi(Config.DataStatisticsConfig.StatiGetInvalid, parameter);

            return(JsonNet.DeserializeToString <InvalidStatsResult>(result));
        }
Пример #6
0
        public StatsResult GetByHours(StatsParameter parameter)
        {
            string result = base.CallApi(Config.DataStatisticsConfig.StatiGetHour, parameter);

            return(JsonNet.DeserializeToString <StatsResult>(result));
        }
Пример #7
0
        public LabelResult DeleteLabel(LabelParameter parameter)
        {
            string result = base.CallApi(Config.LabelConfig.LabelDelete, parameter);

            return(JsonNet.DeserializeToString <LabelResult>(result));
        }