Fetch Supported Commands based on Asset UUID

GET /ocaapi/v2.0/asset/<asset_uuid>/command/PolicyCompliance

Get supported commands for a technology using asset UUID.

HTTP Status Code

- 200: OK

- 401: Unauthorized user

- 403: Forbidden

- 404: Not Found

Input ParametersInput Parameters

Parameter

Mandatory

/Optional

Data Type

Description

asset_uuid

Mandatory

Integer

Provide the UUID of the asset.

Header ParametersHeader Parameters

Parameter

Mandatory

/Optional

Data Type

Description

assetFlowType

 Mandatory

Text

Provide asset flow type. The default value is DEFAULT.
authorization

Mandatory

Text The token that was generated using the Fetch Authentication Token API.

SampleSample

API Request

"curl -X GET""https://<api_gateway_url>/ocaapi/v2.0/asset/<asset_uuid>/command/PolicyCompliance"" -H""assetFlowType: DEFAULT"" -H""Authorization: Bearer <token>"      
    

Response

{
   "   ""code":200,
   "   ""data":{
      "       ""items":[
         "           ""show running-config""       "
      ]"   "
   }
}