Submit an update to VPP Participation State
Submit updates to VPP participation state.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Path Parameters
Flatpeak VPP Participation ID.
Body
Adds a record to the State of device's participation in a VPP programme,.
Ordered lifecycle timeline. Past states are COMPLETE, the current state is IN_PROGRESS, and expected future states are PENDING. Render in array order, do not sort by date.
1Response
Example response
A device's participation in a VPP programme, including the lifecycle timeline of states it has passed through, is in, and is expected to reach.
Unique identifier for the VPP participation.
"vpp_7c2f1a9e4b0d8f3a6e2c5d10"
Programme provider reference ID for this participation.
"AZ01346701301"
String representing the object type. Always vpp-participation.
"vpp-participation"
Whether the enrolment exists in live mode.
Identifier of the enrolled device.
"dev_63a6087272941ef077a8fd3e"
Identifier of the location the device belongs to.
"loc_641b90b758fb8e6293716e40"
The state the enrolment is currently in. Matches the single enrolment_state entry whose status is IN_PROGRESS.
ENROLMENT_REQUESTED, AWAITING_CUSTOMER_CONSENT, AWAITING_DEVICE_TELEMETRY, AWAITING_LOCATION_TELEMETRY, CHECKING_ELIGIBILITY, AWAITING_REGISTRATION, REGISTERED, INELIGIBLE, ACTIVE, SUSPENDED, UNENROLMENT_REQUESTED, WINDING_DOWN, UNENROLLED, OFFBOARDED, FAILED Set to true when the device can currently be dispatched. True only when current_state is ACTIVE.
Set to flase when device telemetry is missing for more than 24 hours.
Active suspension reasons while current_state is SUSPENDED. Empty otherwise.
AWAITING_TELEMETRY, AWAITING_DISPATCH, AWAITING_CONSENT, OPERATOR_REQUEST, CUSTOMER_REQUEST Ordered lifecycle timeline. Past states are COMPLETE, the current state is IN_PROGRESS, and expected future states are PENDING. Render in array order, do not sort by date.
1Time the enrolment was last updated.
Time the enrolment was created.
Provider information
Flatpeak Account ID.
"acc_661677911f2197045e6cf1b1"

