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); }
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); }
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); }