/activities
Get a complete list of live or closed activities.
Resource URL
/v1/applications/{communityApiKeyName}/activities
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 all the live or closed activities. |
Parameters
Use the following parameters to control how the data is returned:
Operation | Description | Example |
---|---|---|
Refine the response by field | To reduce the number of fields returned, specify the fields in a comma separated list. |
/activities?fields=name,id
|
Filtering by value |
By default, all the items are returned unless you specify your criteria using the variable name and value. You can filter the response on all the values in the fields
except for:
|
/activities?status=open&projectType=research
|
Paging | By default, 20 items are returned at a time and the maximum is 1000. | Use the
limit and
offset query string parameters to effectively
page through the results.
|
Sorting |
You can sort the response on all of the available
items except for:
|
/activities?sort=accessedOn:d
|
For more information, see Content control.
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 request |
---|
Get a list of activities with a status of open on January 1, 2016. https://api.{region}.alida.com/v1/applications/{communityApiKeyName}/activities?status=open&q=openedOn>="2016-01-01T00:00:00Z"
and openedOn<"2016-01-02T00:00:00Z" |
q
does not work, encode the URL. For more information,
see
HTML URL Encoding Reference.
Example: GET response |
---|
|