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
  • The unique identifier of the asset.
  • 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 Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Body ()
Root Schema : schema
Type: string(binary)
Back to Top

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"
        }
    ]
}
Back to Top