Add an action to a parent business object
post
/crmRestApi/resources/11.13.18.05/actionplans/action/addActionToObject
Adds action to an object and creates action plan. The action and parent business object are specified in the input by action number, object type and object number.
Request
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object
-
actionNumber: string
The alternate unique identifier of an action to be included in an action plan.
-
customAttributeValues: object
customAttributeValues
Additional Properties Allowed: additionalPropertiesCustom attribute mapping to be used while initiating the action plan.
-
objectEntityName: string
The type of the parent business object for this action plan.
-
objectNumber: string
The alternate unique identifier of the parent business object for this action plan.
Nested Schema : customAttributeValues
Type:
object
Additional Properties Allowed
Show Source
Custom attribute mapping to be used while initiating the action plan.
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): string
Returns a response body that contains the action plan id if the call is successful, or returns an error message.