Generate Map Code

Generate a map code for a given NTG/Region/version.

POST
/map/generateCode
x-api-key<token>

API key used for authentication

In: header

vinvin

17 Character VIN for your car

Match^(WDB|WDC|WDD|WDZ|WDF|4JG|55S|W1K|W1N|W1V)[A-HJ-NPR-Z0-9]{14}$
Length17 <= length <= 17
ntgntg

NTG of the car

Value in"NTG3_5" | "NTG4_5" | "NTG5_s1" | "NTG5_s2" | "NTG5_5" | "NTG6" | "NTG7" | "Gen20x"
regionregion

Region of the car

Value in"AFRICA_OR_MIDDLE_EAST" | "AUSTRALIA_OR_NEW_ZEALAND" | "CHINA" | "EUROPE" | "KOREA" | "JAPAN" | "NORTH_AMERICA" | "SOUTH_AMERICA" | "RUSSIA" | "INDIA" | "SOUTHEAST_ASIA" | "TAIWAN" | "ERASE"
versionversion

Version of the map code

Length1 <= length

Response Body

curl -X POST "https://loading/api/v1/map/generateCode" \  -H "Content-Type: application/json" \  -d '{    "vin": "WDD2130481A654321",    "ntg": "NTG5_5",    "region": "EUROPE",    "version": "V28.0"  }'
{
  "code": "EQLTQU",
  "id": "123"
}
{
  "error": "string",
  "code": "string",
  "details": {}
}
{
  "error": "string",
  "code": "string",
  "details": {}
}