WorkflowCardActivity
Workflow Card Activity is a record of an action performed on a card
Example Request
curl https://api.planningcenteronline.com/people/v2/people/{person_id}/workflow_cards/{workflow_card_id}/activities
View in API Explorer →
Example Object
{
"type": "WorkflowCardActivity",
"id": "1",
"attributes": {
"automation_url": "string",
"comment": "string",
"content": "string",
"content_is_html": true,
"created_at": "2000-01-01T12:00:00Z",
"form_submission_url": "string",
"person_avatar_url": "string",
"person_name": "string",
"reassigned_to_avatar_url": "string",
"reassigned_to_name": "string",
"subject": "string",
"type": "string"
},
"relationships": {
"workflow_card": {
"data": {
"type": "WorkflowCard",
"id": "1"
}
},
"workflow_step": {
"data": {
"type": "WorkflowStep",
"id": "1"
}
}
}
}
Attributes
| Name |
Type |
Description |
automation_url |
string |
|
comment |
string |
|
content |
string |
|
content_is_html |
boolean |
|
created_at |
date_time |
|
form_submission_url |
string |
|
id |
primary_key |
|
person_avatar_url |
string |
|
person_name |
string |
|
reassigned_to_avatar_url |
string |
|
reassigned_to_name |
string |
|
subject |
string |
|
type |
string |
|
Relationships
| Name |
Type |
Association Type |
Note |
| workflow_card |
WorkflowCard |
to_one |
|
| workflow_step |
WorkflowStep |
to_one |
Only available when `type` attribute is `completion`, `skip`, or `reversal`. |
Order By
| Parameter |
Value |
Type |
Description |
| order |
id |
string |
prefix with a hyphen (-id) to reverse the order |
Pagination
| Name |
Parameter |
Type |
Description |
| per_page |
per_page |
integer |
how many records to return per page (min=1, max=100, default=25) |
| offset |
offset |
integer |
get results from given offset |
Endpoints
Listing
| HTTP Method |
Endpoint |
| GET |
/people/v2/people/{person_id}/workflow_cards/{workflow_card_id}/activities |
Reading
| HTTP Method |
Endpoint |
| GET |
/people/v2/people/{person_id}/workflow_cards/{workflow_card_id}/activities/{id} |
Deleting
| HTTP Method |
Endpoint |
| DELETE |
/people/v2/people/{person_id}/workflow_cards/{workflow_card_id}/activities/{id} |
Belongs To
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/people/v2/people/{person_id}/workflow_cards/{workflow_card_id}/activities |
WorkflowCard
|
|
|