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

UnpublishAppService

Type
Function
Sender
HMI
Purpose
Delete a service previously published by the HMI on the module

Request

Parameters

Name Type Mandatory Additional
serviceID String true

Response

Parameters

This RPC has no additional parameter requirements

JSON Message Examples

Example Request

{
    "id": 1000,
    "jsonrpc": "2.0",
    "method": "AppService.UnpublishAppService",
    "params": {
        "serviceID": "1f89547cc0b12d5a52e896c45e141497f7af50e1e2dc8705914e75ef6fbeac03"
    }
}

Example Response

{
    "id" : 1000,
    "jsonrpc" : "2.0",
    "result" : {
        "code" : 0,
        "method" : "AppService.UnpublishAppService"
    }
}

Example Error

{
  "id" : 176,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 22,
    "message" : "Request timeout",
    "data" :
    {
      "method" : "AppService.UnpublishAppService"
    }
  }
}
View on GitHub.com
Previous Section Next Section