/activities/{id}
Get an instance of a survey or forum.
Resource URL
/v1/applications/{communityApiKeyName}/activities/{id}
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 API Access.
Available methods
Method | Description |
---|---|
GET | Returns a single instance of an activity |
Parameters
Use the following parameters to control how data is returned:
Parameter | Description | Example |
---|---|---|
Refine the response by field | To reduce the number of fields returned, specify the fields in a comma separated list. |
/activities/{id}?fields=name,closedOn
|
Available Fields
Field | Description |
---|---|
accessedOn
|
The timestamp value for the last date the activity was opened in the Activities page of the application. |
activityType
|
The string name for the event type.
Standard values include:
|
alternateId
|
The ID for an activity in an external
system.
Note: Some of activities may be missing from the
alternateId in the payload.
|
closedOn
|
The timestamp value for when the activity
status change from
open to
closed .
Note:
|
createDate
|
The timestamp value for the date the activity was created. |
createdBy
|
The GUID value for the user who created the activity. |
excludeFromParticipation
|
The boolean value indicating whether the activity statistics
are excluded from the participation metrics:
For more information, see Exclude an activity from community statistics. |
hideFromMember
|
The boolean value indicating whether the
activity is hidden in the member's activity feed. The default is
false .
|
id
|
The GUID value for the activity's unique identifier. |
isReady
|
The boolean value indicating if an activity is ready to be distributed to members. |
lastUpdateDate
|
The timestamp value for the date the activity was last changed. |
lastUpdatedBy
|
The GUID value of for the last user who edited the activity. |
name
|
The string label for the given activity |
openedOn
|
The timestamp value for when the first
email invitation or the activity link was set to Open. This value only applies
to activities where the status is either
open or
closed .
Note: This date may occur in the future.
|
panelId
|
The GUID value for the panel associated
with the community.
Note: This is a reserved field.
|
projectId
|
The GUID value for the parent project of this activity. |
projectType
|
The string value of the project type of
this activity. Possible values are:
|
sourceId
|
The GUID value of an activity that was duplicated. For example, you duplicate a survey named
|
status
|
The string value for the activity status as seen in the
Distribution page in the application.
Possible values are:
|
statusChangedOn
|
The timestamp value for the date the activity changed from one status to another. |
templateUrl
|
The URL used to create an activity based on a template. |
Example GET Response |
---|
|
Activity Summary reference
The
links
section at the end of the
/activities/{id}
response contains the summary
reference link. Click the link to see a summary of the member events for this
activity. For more information, see
Member Events.
Example: Summary link |
---|
|
Example: Summary result |
---|
|