Get an ActionIntent
/crmRestApi/resources/11.13.18.05/activities/{ActivityNumber}/child/smartActions/{activities_smartActions_Id}/enclosure/ActionIntent
Request
-
ActivityNumber(required): string
The unique number of the activity. The number can also be generated from an external source.
-
activities_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
- application/octet-stream
Default Response
string(binary)
Examples
The following example shows how to get an action intent of an activity 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/activities/{ActivityNumber}/child/smartActions/{activities_smartActions_Id}/enclosure/ActionIntent
Example of Response Body
The following shows an example of the response body in JSON format.
For create action intent
{ "Fulfillment": "UI", "Type": "CREATE", "Target": "activities", "SubType": "FOLLOWUP", "isEnriched": true, "UIAttributeDefaults": [ { "SourceKey": "ActivityId", "Value": 300100036212819, "TargetKey": "ParentActivityId" }, { "SourceKey": null, "Value": "TASK", "TargetKey": "ActivityFunctionCode" } ], "SubTarget": "TASK" }
For update action intent
{ "Fulfillment": "UI", "Type": "UPDATE", "Target": "activities", "isEnriched": true, "UIAttributeDefaults": [ { "SourceKey": "RecurSeriesId", "Value": null, "TargetKey": "RecurSeriesId" } ], "SubTarget": "APPOINTMENT" }