Get a list of logged-in user's battery passports based on a specified status.
GET {{baseUrl}}/passports?state=<string>
This endpoint provides a list of battery passports.
Retrieve a list of battery passport summarised information with the given status. The default passport status is 'active'. The response list includes passport summary info. such as ID, name, status, progress (completeness info) etc.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
state | string | Parameter to filter the state of the battery passport (active, inactive). |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"id":"consectetur laboris","metadata":{"status":{"state":"active","status":"draft"},"progress":{"count":16,"total":120,"general_information":"complete","compliance":"incomplete","materials":"complete","supply_chain_due_diligence":"complete","carbon_footprint":"untouched","circularity":"untouched","performance":"incomplete"},"name":"labore in"}},{"id":"esse sunt","metadata":{"status":{"state":"active","status":"draft"},"progress":{"count":16,"total":120,"general_information":"complete","compliance":"complete","materials":"complete","supply_chain_due_diligence":"complete","carbon_footprint":"incomplete","circularity":"untouched","performance":"untouched"},"name":"qui voluptate eiusmod"}}]