Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

GetAppServiceRecords

Type
Request
Sender
HMI
Purpose
Get service records of a specific service type.
Note

If serviceType is not included in request, all service records will be returned

Request

Parameters

Name Type Mandatory Additional
serviceType String false

Response

Parameters

Name Type Mandatory Additional
serviceRecords Common.AppServiceRecord true array: true

Sequence Diagrams

Example Request

{
  "id": 1003,
  "jsonrpc": "2.0",
  "method": "AppService.GetAppServiceRecords",
  "params": {
    "serviceType": "MEDIA"
  }
}

Example Response

{
  "id": 1003,
  "jsonrpc": "2.0",
  "result": {
    "code": 0,
    "method": "AppService.GetAppServiceRecords",
    "serviceRecords": [
      {
        "serviceActive": false,
        "serviceID": "c9503a4f983e3dd31a7a14564d405cdf84769c9b9a71cae9cc211a0b74e93629",
        "serviceManifest": {
          "allowAppConsumers": true,
          "rpcSpecVersion": {
            "majorVersion": 5,
            "minorVersion": 1,
            "patchVersion": 0
          },
          "serviceName": "Mobile Media Service",
          "serviceType": "MEDIA"
        },
        "servicePublished": true
      },
      {
        "serviceActive": true,
        "serviceID": "d6d8d2fb2bfcc00033804fb19e9fb7d6070d2c166f49881563276f17478c39f8",
        "serviceManifest": {
          "allowAppConsumers": true,
          "rpcSpecVersion": {
            "majorVersion": 5,
            "minorVersion": 1,
            "patchVersion": 0
          },
          "serviceName": "Waze Music",
          "serviceType": "MEDIA"
        },
        "servicePublished": true
      }
    ]
  }
}
View on GitHub.com
Previous Section Next Section