Check Citroen Peugeot firmware and maps available updates

PSA NAC RCC EUR MAP api

Check for available updates for firmware and maps

Enter VIN

Code:


curlurl="https://api.groupe-psa.com/applications/majesticf/v1/getAvailableUpdate?client_id=1eeecd7f-6c2b-486a-b59c-8e08fca81f54"
curlCookie="PSACountry=FR"
curlContentType="application/json"
curlAccept="application/json, text/plain, */*"

VIN=$1

data="{\"vin\":\"$VIN\",\"softwareTypes\":[{\"softwareType\":\"ovip-int-firmware-version\"},{\"softwareType\":\"rcc-firmware\"}]}";

reponse=`curl -s -H "Cookie: $curlCookie" -H "Accept: $curlAccept" -H "Content-type: $curlContentType" -X POST -d $data $curlurl`