Webportal v2

embedded apps

API Reference - technical.softwareRelease

Required Privacy: Data & Location
Operation:

This API allows to retrieve infotainment system software release.

Input Parameter
No input params
Output Data
Data name Description Type Unit/Values Example
version

Return a int that correspond to a vehicle manufacturer brand.

string

XX.XX.XX.XX

21.07.16.32
environment

Engineering or production environment.

Enum of strings

- production

- engineering
production
Code Example
1
2
3
4
5
6
7
8
9
10
11
12
13
webportal.get(
    /* api name */
    "technical.softwareRelease",
    /* parameters */
     null
  )
  /* callback for `REPLY` messages */
  .then((message) => {
    if (message.status === 200) {
      /* handle `REPLY` success */
    }
    else { /* handle `REPLY` error */ }
  })
1
2
3
4
5
6
{
  "id": "7372c16f-5f2f-42c9-84a7-5490e35f1be0", 
  "type": "GET", 
  "api": "technical.softwareRelease",
  "params":  null
}
1
2
3
4
5
6
7
8
9
10
11
12
13
// --- format of the `REPLY` message ---

{
  "id": "7372c16f-5f2f-42c9-84a7-5490e35f1be0",
  "type": "REPLY",
  "api": "technical.softwareRelease",
  "status": 200,
  "statusText": "OK", 
  "data":  { 
    "version": "21.07.16.32",
    "environment": "production"
  } 
}

false