Description Usage Arguments Details Value Examples
View source: R/distributions.R
Create a distribution without sending any emails. The created distribution will be of type "GeneratedInvite". The survey must be active before you can generate a distribution invite. Refer to the documentation below for further information regarding usage of this API's result.
1 2 3 4 5 6 7 8 | generate_distribution_links(
survey_id,
mailinglist_id,
description = "Generated Links",
linktype = "Individual",
action = "CreateDistribution",
expirationdate = NULL
)
|
survey_id |
the survey id |
mailinglist_id |
the mailing list id |
description |
name of the created ditribution (default is Generated Links) |
linktype |
the link type (default is Individual. Can be Multiple or Anonymous) |
action |
default is CreateDistribution. To generate transaction distribution links, value must be "CreateTransactionBatchDistribution" |
expirationdate |
the id of survey |
To retrieve the actual links, use the 'list_distribution_links' call.
The id of the created distribution
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
generate_distribution_links(
"SV_erkBAsHrvoJyeYB",
"ML_7aoriSKinHh8MfP")
generate_distribution_links(
"SV_erkBAsHrvoJyeYB",
"ML_7aoriSKinHh8MfP",
"Survey Respondents Generated Links"
"Multiple"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.