Complete path journey with provided ID
Changed onMarks the path journey as completed, optionally recording a completion reason.
Request
- Base URLhttps://yournation.nationbuilder.com
- AuthHTTP bearer
Path parameters
id
Query parameters
ID of the path journey status change reason to record for this status transition.
Comma-delimited list of sideloaded resources to include as part of the path journey response. See guidance here about sideloading large numbers of resources and pagination.
Comma-delimited list of path journey attributes to only return in the response
Response
The completed path journey.
Example response
{
"data": {
"id": "1",
"type": "path_journeys",
"attributes": {
"current_step_due_date": "2019-10-26T10:00:00-04:00",
"current_step_id": "1",
"current_step_point_person_id": "1",
"description": "Added by API",
"due_date": "2019-10-26T10:00:00-04:00",
"path_id": "1",
"point_person_id": "1",
"signup_id": "1",
"value_amount": "5.00",
"created_at": "2019-10-26T10:00:00-04:00",
"ended_at": "2019-10-26T10:00:00-04:00",
"journey_status": "active",
"last_moved_at": "2019-10-26T10:00:00-04:00",
"path_journey_status_change_id": "1",
"updated_at": "2019-10-26T10:00:00-04:00"
}
},
"included": [
{
"id": "1"
}
]
}Changes
- breaking
for the
queryrequest parameterfields[path_journeys], default valuewas added - breaking
for the
queryrequest parameterinclude, default valuewas added - breaking
for the
queryrequest parameterfields[path_journeys], 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
- info
added the non-success response with the status
- breaking