public static async Task <List <Response> > GetSurveyResponses(long surveyId)
        {
            BaseResponse <Response> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Response> >(string.Format("/surveys/{0}/responses", surveyId));

            return(response.data);
        }
        public static async Task <List <Question> > GetSurveyPageQuestions(long surveyId, long pageId)
        {
            BaseResponse <Question> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Question> >(string.Format("/surveys/{0}/pages/{1}/questions", surveyId, pageId));

            return(response.data);
        }
        public static async Task <Question> GetSurveyPageQuestionDetails(long surveyId, long pageId, long questionId)
        {
            Question response = await SurveyMonkeyRequest.GetRequest <Question>(string.Format("/surveys/{0}/pages/{1}/questions/{2}", surveyId, pageId, questionId));

            return(response);
        }
        public static async Task <SurveyDetails> GetSurveyDetailsExpanded(long surveyId)
        {
            SurveyDetails response = await SurveyMonkeyRequest.GetRequest <SurveyDetails>(string.Format("/surveys/{0}/details", surveyId));

            return(response);
        }
        public static async Task <Page> GetSurveyPageDetails(long surveyId, long pageId)
        {
            Page response = await SurveyMonkeyRequest.GetRequest <Page>(string.Format("/surveys/{0}/pages/{1}", surveyId, pageId));

            return(response);
        }
Exemple #6
0
        public static async Task <Collector> GetCollectorDetails(long collectorId)
        {
            Collector response = await SurveyMonkeyRequest.GetRequest <Collector>(string.Format("/collectors/{0}", collectorId));

            return(response);
        }
        public static async Task <List <Survey> > GetSurveys()
        {
            BaseResponse <Survey> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Survey> >("/surveys");

            return(response.data);
        }
Exemple #8
0
        public static async Task <Recipient> GetCollectorMessageRecipientDetails(long collectorId, long messageId, long recipientId)
        {
            Recipient response = await SurveyMonkeyRequest.GetRequest <Recipient>(string.Format("/collectors/{0}/messages/{1}/recipients/{2}", collectorId, messageId, recipientId));

            return(response);
        }
Exemple #9
0
        public static async Task <List <Response> > GetCollectorResponses(long collectorId)
        {
            BaseResponse <Response> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Response> >(string.Format("/collectors/{0}/responses", collectorId));

            return(response.data);
        }
Exemple #10
0
        public static async Task <Message> GetCollectorMessageDetails(long collectorId, long messageId)
        {
            Message response = await SurveyMonkeyRequest.GetRequest <Message>(string.Format("/collectors/{0}/messages/{1}", collectorId, messageId));

            return(response);
        }
Exemple #11
0
        public static async Task <List <Recipient> > GetCollectorMessageRecipients(long collectorId, long messageId)
        {
            BaseResponse <Recipient> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Recipient> >(string.Format("/collectors/{0}/messages/{1}/recipients", collectorId, messageId));

            return(response.data);
        }
Exemple #12
0
        public static async Task <MemberDetail> GetGroupMemberDetails(long groupId, long memberId)
        {
            MemberDetail response = await SurveyMonkeyRequest.GetRequest <MemberDetail>(string.Format("/groups/{0}/members/{1}", groupId, memberId));

            return(response);
        }
Exemple #13
0
        public static async Task <List <Member> > GetGroupMembers(long groupId)
        {
            BaseResponse <Member> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Member> >("/groups/{0}/members");

            return(response.data);
        }
Exemple #14
0
        public static async Task <GroupDetail> GetGroupDetails(long groupId)
        {
            GroupDetail response = await SurveyMonkeyRequest.GetRequest <GroupDetail>(string.Format("/groups/{0}", groupId));

            return(response);
        }
Exemple #15
0
        public static async Task <List <Group> > GetGroups()
        {
            BaseResponse <Group> response = await SurveyMonkeyRequest.GetRequest <BaseResponse <Group> >("/groups");

            return(response.data);
        }
Exemple #16
0
        public static async Task <Me> GetSurveys()
        {
            Me response = await SurveyMonkeyRequest.GetRequest <Me>("/users/me");

            return(response);
        }