Update an action plan action

patch

/crmRestApi/resources/11.13.18.05/actionplans/{ActionPlanId}/child/actionPlanAction/{ActionPlanActionId}

Request

Path Parameters
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Action Plan Action Relations
Type: array
Title: Action Plan Action Relations
The action plan action relations resource is used to view, create, update, and delete the relations between the actions in an action plan. An action relation may define the sequence in which the actions are to be carried out.
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : actionplans-actionPlanAction-item-response
Type: object
Show Source
Nested Schema : Action Plan Action Relations
Type: array
Title: Action Plan Action Relations
The action plan action relations resource is used to view, create, update, and delete the relations between the actions in an action plan. An action relation may define the sequence in which the actions are to be carried out.
Show Source
Nested Schema : actionplans-actionPlanAction-actionPlanActionRelation-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update an action in an action plan by submitting a PATCH request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X PATCH -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans/300100117534967/child/actionPlanAction/300100118919336

Example of Request Body

The following example shows the contents of the request body in JSON format.

{
"StatusDetails": "Not started"
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
"ActionId": 300100117527290,
"ActionPlanActionId": 300100118919336,
"ActionPlanId": 300100117534967,
"CreatedBy": "SALES_ADMIN",
"CreationDate": "2017-09-27T14:15:59+00:00",
"DelayedFlag": false,
"DeletedFlag": false,
"EndDate": null,
"ExpectedCompletionDate": null,
"ExpectedStartDate": null,
"LastUpdateDate": "2017-09-27T14:29:53+00:00",
"LastUpdateLogin": "5A2BD805BC436ED2E0538E09F20A9D1F",
"LastUpdatedBy": "SALES_ADMIN",
"LeadTime": null,
"LeadTimeUnit": null,
"MandatoryFlag": true,
"ObjectId": null,
"ObjectReferenceNumber": null,
"OrderNumber": 1,
"StartDate": null,
"StatusCd": "ORA_SVC_NOT_STARTED",
"StatusDetails": "Not started",
"TemplateId": null,
"OwnerName": null,
"Prerequisites": null,
"ObjectEntityName": "Activity",
"ObjectEntityType": "Appointment",
"VisibilityCd": "ORA_SVC_CUSTOMER_VISIBLE",
"ActionName": "action149_1",
"UpdateFlag": true,
"DeleteFlag": true,
"ActionNumber": "ACT0000043279",
"ActionDescription": null,
"EndDateReadOnlyFlag": false,
"DclActionPlan_Id_c": null,
"DclActionPlan_c": null,
"links": [
  ...
 ]
}
Back to Top