示例#1
0
        public static async Task <Recipient> CreateCollectorMessageRecipient(long collectorId, long messageId, CreateRecipient recipient)
        {
            Recipient response = await SurveyMonkeyRequest.PostRequest <Recipient>(string.Format("/collectors/{0}/messages/{1}/recipients/", collectorId, messageId), recipient);

            return(response);
        }
示例#2
0
        public static async Task <SentMessage> SendMessageToRecipients(long collectorId, long messageId)
        {
            SentMessage response = await SurveyMonkeyRequest.PostRequest <SentMessage>(string.Format("/collectors/{0}/messages/{1}/send", collectorId, messageId), new {});

            return(response);
        }
示例#3
0
        public static async Task <Message> CreateCollectorMessage(long collectorId, CreateMessage message)
        {
            Message response = await SurveyMonkeyRequest.PostRequest <Message>(string.Format("/collectors/{0}/messages/", collectorId), message);

            return(response);
        }