Re: Volvo On Call SoC Schnittstelle
Verfasst: So Jul 30, 2023 10:58 pm
Ich hab mal über meine VolvoID einen Api-Key und einen Token erzeugt und dann die "Battery-Level" Anfrage gestellt. Ich bekam dann auch eine gültige Antwort vom Volvo-Server, aber die enthielt nicht die gewünschten Daten :-/
Da ist dann wohl noch mehr Authorisierung nötig?! Es müsst dann von Projekt so ein API-Key und entsprechender Token bei Volvo registriert/generiert werden. Dann sollte die Programmierung ähnlich BMW/MIni möglich sein. Als Parameter werden dann Username / Passwort beim Volvo-Server und die VIN benötigt.
Code: Alles auswählen
HTTP/1.1 200 OK
content-length: 94
content-type: application/vnd.volvocars.api.energy.vehicledata.v1+json;charset=UTF-8
date: Sun, 30 Jul 2023 22:41:32 GMT
server: vcc
cache-control: no-cache, no-store, max-age=0, must-revalidate
expires: 0
pragma: no-cache
vcc-api-operationid: 0dee2882-878f-4997-beed-0565c5dee222
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
strict-transport-security: max-age=31536000 ; includeSubDomains
x-frame-options: DENY
request-context: appId=cid-v1:d08a6ac1-4942-4ce7-a466-f3dd07fd71d1
connection: close
{
"status": 200,
"operationId": "0dee2882-878f-4997-beed-0565c5dee222",
"data": {}
}