Retrieve information about a specific activity in your community.
Prerequisite
- Obtain the
datasetId/activityIdby making a request to /datasets/activity.
Resource URL
/v2/applications/{communityApiKeyName}/datasets/activity/{datasetId}
Note:
Use the appropriate regional endpoint to ensure that you comply with your organization's privacy policy, and applicable laws and regulations. For details about the available regional endpoints, and how to identify your organization's region, see Shared responsibility.
Available methods
| Method | Description |
|---|---|
| GET | Get information about an activity in your community. |
Available fields
| Element | Description |
|---|---|
id
|
The string GUID of the activity. |
meta
|
The
meta element is a property container with the
following elements:
|
name
|
The name of the activity. |
Example
{
"id": <GUID of the activity>,
"name": <string name of the activity>,
"meta":{
"datasetType": <survey|sparq1survey>
"createdById": <GUID of the user that created the activity>,
"createdDate": <date-time (UTC) the survey was created>,
"closedDate":<date-time (UTC) the survey closed>,
"status": <Open|Closed>,
"allowMultipleResponses": <True|False>
}
}