policyType
: Policy Struct for which property needs to be read. Must be a valid PolicyTable fieldproperty
: Used to request a specific property of policyType
.Name | Type | Mandatory | Additional |
---|---|---|---|
policyType | String | true | minlength: 1 maxlength: 1000 |
property | String | true | minlength: 1 maxlength: 1000 |
Name | Type | Mandatory | Additional |
---|---|---|---|
value | String | false | array: true maxlength: 1000 minsize: 1 maxsize: 100 |
Below is the example usage for GetPolicyConfigurationData request to read version
and endpoint url
for custom_vehicle_data_mapping_url
url
version for custom_vehicle_data_mapping_url
from returned json { "id" : 176, "jsonrpc" : "2.0", "method" : "SDL.GetPolicyConfigurationData", "params" : { "policyType": "module_config", "property" : "endpoints_properties" } }
{ "id" : 176, "jsonrpc" : "2.0", "result" : { "value" : [ "{\"custom_vehicle_data_mapping_url\":{\"version\":\"0.0.0\"}}" ], "code" : 0, "method" : "SDL.GetPolicyConfigurationData" } }
{ "id" : 176, "jsonrpc" : "2.0", "error" : { "code" : 11, "message" : "Invalid data", "data" : { "method" : "SDL.GetPolicyConfigurationData" } } }