Get an ActionIntent
get
/crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/smartActions/{assets_smartActions_Id}/enclosure/ActionIntent
Get an ActionIntent
Request
Path Parameters
-
AssetId(required): integer(int64)
The unique identifier of the asset.
-
assets_smartActions_Id(required): string
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/octet-stream
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
string(binary)
Examples
The following example shows how to get an action intent of an asset smart action by submitting a GET request on the REST resource using cURL.
cURL Command
curl -u <username:password> \ -X GET
https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/assets/{AssetId}/child/smartActions/{assets_smartActions_Id}/enclosure/ActionIntent
Example of Response Body
The following shows an example of the response body in JSON format.
For add action intent
{ "Fulfillment": "UI", "Type": "ADD", "Target": "assets.assetContacts", "isEnriched": true, "UIAttributeDefaults": [ { "SourceKey": "CustomerId", "Value": 999997550082255, "TargetKey": "CustomerId" }, { "SourceKey": "AssetId", "Value": 784997810, "TargetKey": "AssetId" } ] }