Show automation enrollments with provided ID
Changed onReturns the automation enrollments that matches the given ID.
Request
- Base URLhttps://yournation.nationbuilder.com
- AuthHTTP bearer
Query parameters
Comma-delimited list of sideloaded resources to include as part of the automation enrollment response. See guidance here about sideloading large numbers of resources and pagination.
Comma-delimited list of automation enrollment attributes to only return in the response
Response
The requested automation enrollment.
Example response
{
"data": {
"id": "1",
"type": "automation_enrollments",
"attributes": {
"automation_id": "1",
"campaign_source": "Campaign Source",
"campaign_url": "https://www.example.com",
"signup_id": "1",
"automation_step_number": 1,
"created_at": "2019-10-26T10:00:00-04:00",
"excluded_at": "2019-10-26T10:00:00-04:00",
"next_execution": "2019-10-26T10:00:00-04:00"
}
},
"included": [
{
"id": "1"
}
]
}Changes
- breaking
for the
queryrequest parameterfields[automation_enrollments], default valuewas added - breaking
for the
queryrequest parameterinclude, default valuewas added - breaking
for the
queryrequest parameterfields[automation_enrollments], the type changed fromstringtoarray - breaking
for the
queryrequest parameterinclude, the type changed fromstringtoarray - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking