/members/{memberId}/activities
Get a collection of activities a member has been invited to participate in.
- Member Data Service
- Member Groups in the application. For more information, see Member Groups.
Resource URL
/v1/applications/{communityApiKeyName}/members/{memberId}/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 a collection of activities for a member. |
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. | /members/{memberId}/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.
Note: You must supply a system value when
filtering on
ActivityStatus ,
EventType ,
CommunicationStatus , and
CommunicationType .
|
/members/{memberId}/activities?activityStatus=open
|
Paging | The default is 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 | All of the available fields can be used to sort the response. | /members/{memberId}/activities?sort=communicationType:d
|
For more information, see Content control.
Available fields
Field | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
activityIsHidden
|
The boolean value indicating whether the activity is hidden in the member's activity feed. The default is false. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
activityLink
|
The string value for the activity URL. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
activityName
|
The string value for the name of the activity as it appears in the application. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
activityStatus
|
The string value for the current status of
the activity. Standard values include:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
activityType
|
The string name for the event type.
Standard values include:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
closedOn
|
The timestamp value of when the activity
status changed from
open to
closed .
Note:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
communicationId
|
The GUID for the communication (if
pertinent) for the given event.
This value can be null. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
communicationStatus
|
The string value for the current status of
the invitation. Possible values are:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
communicationType
|
The string value for a recruitment email
or recruitment link. Possible values are:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
createdBy
|
The GUID value for the user who created the activity. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
createDate
|
The timestamp value of the date the activity was created. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description
|
The string text of the email invitation. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
eventDate
|
The timestamp of the actual participation event. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
eventType
|
The type of member event.
Note: Some member event types in Sparq 1 are converted to the
Community equivalent when the data is mapped through the bridge. For a
complete list of the Sparq 1 events and the corresponding event in Community, see the table in
mappedMemberEvents .
For more information about Sparq 1 data, see FAQs. The following table describes the available event types and the types of activities they are associated with:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id
|
The GUID for the given activity. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
lastUpdateDate
|
The timestamp value of the date the activity was last changed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
lastUpdatedBy
|
The GUID value of for the last user who edited the activity. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
memberId
|
The GUID for the member to which this activity applies. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
openedOn
|
The timestamp value of 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.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title
|
The string text for the email subject line. |
Response format |
---|
|