Messtone Devices Embedding Querying a paginated API Endpoint GET/vehicles {“pageSize”:50,”before”:”MjAyMyOwMyOxOFQxMDowODowMi4zNzNa”,”after”:” MyjAyMyOwNiOxNlQwOTowMzowMS4yNjJa”} GET/vehicles {“data”:[{“id”:”0″,”vendor”:”TESLA”,… isReachable”:true},…{“id”:”49″,”vendor”:”TESLA”,…isReachable”:true}],”pagination”:{“before”:null,”after”:” MjAyMyOwMyOxOFQxMDowODowMi4zNzNa”} GET/chargers {“data”:[{“id”:”2211e263-0362-4235-83f4-887bdf3ee414″,”vendor”:”ZAPTEC”,” lastSeen”:”2023-03-21T21:08:27.596Z”,”isReachable”:true,” locationId”:”2211e262-d6d4-d6d4-d6d4-dbdd77ec82b6″,”chargeState”:{“isPluggedIn”:true,”isCharging”:true,”powerDeliveryState”:”PLUGGED_IN:CHARGING”,”chargeRate”:6.939,”lastUpdated”:”2023-03-21T16:39:20.000Z”,”maxCurrent”:16},”information”:{“brand”:”Zaptec”,”model”:”ZAPTEC PRO”,”year”:null},”capabilities”:{”information”:{“interventionIds”:[ ],”isCapable”:true},”chargeState”:{“interventionIds”:[ ],”isCapable’:true},”startCharging’:{“interventionIds”:[ ],”isCapable”:true},”stopCharging”:{“interventionIds”:[ ],”isCapable”:true},”setMaxCurrent”:{“interventionIds”:[“dbdd77ec82b6-d6d4-d6d4-d6d4-dbdd77ec82b6″],”isCapable”:false}}}],”pagination”:{“after”:”string”,”before”:”string”}}

Leave a comment