subscribe
suspend fun subscribe(cohortId: String? = null, subscriptionId: String? = null): SubscriptionWithQuestionnaires
Use this function to subscribe the device to your(one of your) cohort(s).
Return
Object containing the SubscriptionWithQuestionnaires object.
Parameters
cohort Id
UUID of the cohort to subscribe tom will be assigned a random subscription ID
subscription Id
UUID of the subscription, this subscription must already exist in the cohort.