Create an action plan
post
/crmRestApi/resources/11.13.18.05/actionplans
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
ActionId: integer
(int64)
Title:
Action ID
The unique identifier of the action. -
ActionNumber: string
Title:
Action Number
The reference number of the action. -
ActionObjectId: integer
(int64)
Title:
Action Object ID
The unique object identifier associated with the action. -
ActionObjectReferenceNumber: string
Title:
Action Object Reference Number
Maximum Length:100
The reference number of the object associated with the action. -
actionPlanAction: array
Action Plan Actions
Title:
Action Plan Actions
The actions plan actions resource is used to view, create, update, and delete the actions in an action plan. An action is a step or a sequence in an action plan. -
ActionPlanNumber: string
Title:
Action Plan Number
Maximum Length:30
The alternate unique identifier of an action plan. -
ActionPlanTypeCd: string
Title:
Action Plan Type Code
Maximum Length:30
Default Value:ORA_SVC_TEMPLATE
Lookup code that indicates the type of action plan, such as Template based Action Plan, or PCS process based Action Plan. -
ActionStatusCd: string
Title:
Action Status Code
Maximum Length:30
The status of the action. -
ActionStatusCdMeaning: string
Title:
Action Status Code Meaning
Maximum Length:255
The display value corresponding to the status lookup code for the action. -
ActualCompletionDate: string
(date-time)
Title:
Actual Completion Date
The date and time when the action plan was actually completed. -
AdditionalInformation: string
Title:
Additional Information
Maximum Length:1000
The additional information about the action plan record. -
CalendarId: integer
(int64)
Title:
Calendar ID
The unique identifier of the calendar associated with the action plan. -
DeletedFlag: boolean
Title:
Deleted
Maximum Length:1
Default Value:false
Indicates whether the action plan is deleted. The default value is false. -
ExpectedCompletionDate: string
(date-time)
Title:
Projected Completion Date
The date when the action plan is to be completed. -
InitialCompletionDate: string
(date-time)
Title:
Initial Expected Completion Date
The initial date when the action plan was expected to be completed. -
LastRefreshedDate: string
(date-time)
Title:
Last Refreshed Date
The date when the action plan status was last refreshed. -
Name: string
Title:
Name
Maximum Length:400
The name of the user who last updated the action plan. -
ObjectEntityName(required): string
Title:
Object Entity Name
Maximum Length:400
The name of the parent entity object associated with the action plan. -
ObjectEntityNameMeaning: string
Title:
Object Entity Name Value
Maximum Length:255
The display value corresponding to the object entity name lookup code for the action plan. -
ObjectId(required): integer
(int64)
Title:
Object ID
The unique identifier of the object associated with the action plan. -
ObjectNumber: string
The object reference number of the action plan.
-
OrderNumber: integer
(int64)
Title:
Order Number
The order of the action plan in the list of action plans. -
ProcessInstanceId: string
Title:
Process Instance ID
Maximum Length:500
The process instance identifier from of an external process. -
ProcessStatus: string
Title:
Process Status
Maximum Length:100
The status of the external process. -
StartDate: string
(date-time)
Title:
Start Date
The date when the action plan starts. -
StatusCd: string
Title:
Status Code
Maximum Length:30
The code indicating the status of the action, such as ORA_SVC_CREATE, ORA_SVC_IN_PROGRESS, ORA_SVC_COMPLETED, or ORA_SVC_ERROR. The ORA_SVC_CREATE status indicates that the required child records for the action plan based on its assigned template is created, and the status changes to ORA_SVC_CREATED. The ORA_SVC_CREATED status indicates that all the child action plan actions are created but the overall plan is not yet started. The ORA_SVC_INITIATE status indicates that the action plan is initiated, and if successful, the status is changed to ORA_SVC_IN_PROGRESS. The ORA_SVC_CREATE_AND_INITIATE status indicates that the child plan actions are created and action plan is initiated. The ORA_SVC_CREATE_AND_INITIATE status skips the intermediate ORA_SVC_CREATED status. The ORA_SVC_INITIATING status indicates that the action plan initiate process has started. The action plan status changes to ORA_SVC_IN_PROGRESS if it is able to successfully create underlying objects. If there is a failure in creating underlying objects, then the status changes to ORA_SVC_ERROR. For the ORA_SVC_ERROR status, the error details are stored in 'Status Details??? attribute of either 'action plan' object or its child ???action plan action' object. The ORA_SVC_COMPLETED status indicates that all actions in the action plan are complete. -
StatusCdMeaning: string
Title:
Status Value
Maximum Length:255
The display value corresponding to the status lookup code for the action plan. -
StatusDetails: string
Title:
Status Details
Maximum Length:1000
The explanation of the error status of the action plan. -
TemplateId: integer
(int64)
Title:
Template ID
The unique identifier of the action plan template from which the action plan is created. -
TemplateNumber: string
Title:
Template Number
Maximum Length:30
The reference number of the action plan template.
Nested Schema : Action Plan Actions
Type:
array
Title:
Action Plan Actions
The actions plan actions resource is used to view, create, update, and delete the actions in an action plan. An action is a step or a sequence in an action plan.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
ActionId(required): integer
(int64)
Title:
Action ID
The unique identifier of the action. -
ActionNumber: string
Title:
Action Number
The reference number of the action in an action plan. -
ActionPlanActionNumber: string
Title:
Action Plan Action Number
Maximum Length:30
The alternate unique identifier of an action plan action. -
actionPlanActionRelation: array
Action Plan Action Relations
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. -
ActionPlanId(required): integer
(int64)
Title:
Action Plan ID
The unique identifier of the action plan. -
ActionPlanNumber(required): string
Title:
Action Plan Number
Maximum Length:30
The action plan reference number. -
DeletedFlag: boolean
Title:
Deleted
Maximum Length:1
Default Value:false
Indicates whether the action in an action plan is deleted. The default value is false. -
EndDate: string
(date-time)
Title:
End Date
The date when an action in the action plan ends. -
ExpectedCompletionDate: string
(date-time)
Title:
Expected Completion Date
The date when the action in an action plan is to be completed. -
ExpectedStartDate: string
(date-time)
Title:
Expected Start Date
The date when an action in the action plan is expected to start. -
LeadTime: integer
(int64)
Title:
Duration
The estimated time required to complete the action. -
LeadTimeUnit: string
Title:
Duration Unit
Maximum Length:30
The unit of measurement of the lead time, such as minutes, hours, or days. -
LeadTimeUnitMeaning: string
Title:
Lead Time Unit Value
Maximum Length:255
The display value corresponding to the lead time unit lookup code for the action plan action. -
MandatoryFlag: boolean
Title:
Mandatory
Maximum Length:1
Default Value:true
Indicates whether the action in an action plan is mandatory. The default value is false. -
ObjectEntityNameMeaning: string
Title:
Object Entity Name Value
Maximum Length:255
The display value corresponding to the object entity name lookup code for the action plan action. -
ObjectEntityTypeMeaning: string
Title:
Object Entity Type Value
Maximum Length:255
The display value corresponding to the object entity type lookup code for the action plan action. -
ObjectId: integer
(int64)
Title:
Object ID
The unique identifier of the object associated with the action. -
ObjectReferenceNumber: string
Title:
Object Reference Number
Maximum Length:100
The reference number of the object associated with the action. -
OrderNumber: integer
(int64)
Title:
Step
The order of the action in an action plan. -
ProcessInstanceId: string
Title:
Process Instance ID
Maximum Length:500
Indicates the process instance identifier of an external process. -
ProcessStatus: string
Title:
Process Status
Maximum Length:100
The status of the external process. -
SkipFlag: boolean
Title:
Skip
Maximum Length:1
Default Value:false
Indicates whether the action for the action plan can be skipped. -
StartDate: string
(date-time)
Title:
Start Date
The date when an action in the action plan begins. -
StatusCd: string
Title:
Status
Maximum Length:30
The code indicating the status of the action. A list of valid values is defined in the lookup ORA_SVC_AP_STATUS_CD. -
StatusCdMeaning: string
Title:
Status Value
Maximum Length:255
The display value corresponding to the status lookup code for the action plan action. -
StatusDetails: string
Title:
Status Details
Maximum Length:1000
The details of the status of an action in an action plan. -
TemplateId: integer
(int64)
Title:
Template ID
The unique identifier of the action plan template from which the action is created. -
TemplateNumber: string
Title:
Template Number
Maximum Length:30
The reference number of the action plan template. -
VisibilityCdMeaning: string
Title:
Visibility Value
Maximum Length:255
The display value corresponding to the visibility lookup code for the action plan action.
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-post-request
Type:
Show Source
object
-
ActionPlanActionId: integer
(int64)
Title:
Action Plan Action ID
The unique identifier of the action in an action plan. -
ActionPlanActionNumber: string
Title:
Action Plan Action Number
Maximum Length:30
The action plan reference number. -
ActionStatusCd: string
Title:
Action Status
Maximum Length:30
Default Value:ORA_SVC_COMPLETED
The code indicating the status of the dependency condition of the action relation. -
DeletedFlag: boolean
Title:
Deleted
Maximum Length:1
Default Value:false
Indicates whether the action dependency is deleted. The default value is false. -
DepActionPlanActionId: integer
(int64)
Title:
Dependent Action Plan Action ID
The unique identifier of the dependent action in an action plan. -
DepActionPlanActionNumber: string
Title:
Dependent Action Plan Action Number
Maximum Length:30
The dependent action plan reference number.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : actionplans-item-response
Type:
Show Source
object
-
ActionId: integer
(int64)
Title:
Action ID
The unique identifier of the action. -
ActionNumber: string
Title:
Action Number
The reference number of the action. -
ActionObjectEntitySubtype: string
Title:
Object Entity Subtype
Read Only:true
Maximum Length:400
Indicates the object entity subtype of the action. -
ActionObjectEntityType: string
Title:
Type
Read Only:true
Maximum Length:400
Indicates the object entity type of the action. -
ActionObjectId: integer
(int64)
Title:
Action Object ID
The unique object identifier associated with the action. -
ActionObjectReferenceNumber: string
Title:
Action Object Reference Number
Maximum Length:100
The reference number of the object associated with the action. -
actionPlanAction: array
Action Plan Actions
Title:
Action Plan Actions
The actions plan actions resource is used to view, create, update, and delete the actions in an action plan. An action is a step or a sequence in an action plan. -
ActionPlanId: integer
(int64)
Title:
Action Plan ID
Read Only:true
The unique identifier of the action plan. -
ActionPlanNumber: string
Title:
Action Plan Number
Maximum Length:30
The alternate unique identifier of an action plan. -
ActionPlanTypeCd: string
Title:
Action Plan Type Code
Maximum Length:30
Default Value:ORA_SVC_TEMPLATE
Lookup code that indicates the type of action plan, such as Template based Action Plan, or PCS process based Action Plan. -
ActionPlanTypeCdMeaning: string
Title:
Action Plan Type Value
Read Only:true
Maximum Length:255
The display value corresponding to the action plan type lookup code for the action plan. -
ActionStatusCd: string
Title:
Action Status Code
Maximum Length:30
The status of the action. -
ActionStatusCdMeaning: string
Title:
Action Status Code Meaning
Maximum Length:255
The display value corresponding to the status lookup code for the action. -
ActualCompletionDate: string
(date-time)
Title:
Actual Completion Date
The date and time when the action plan was actually completed. -
AdditionalInformation: string
Title:
Additional Information
Maximum Length:1000
The additional information about the action plan record. -
CalendarId: integer
(int64)
Title:
Calendar ID
The unique identifier of the calendar associated with the action plan. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the action plan. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date and time when the action plan was created. -
DeletedFlag: boolean
Title:
Deleted
Maximum Length:1
Default Value:false
Indicates whether the action plan is deleted. The default value is false. -
DeleteFlag: boolean
Read Only:
true
Indicates whether the action plan can be deleted. -
ExpectedCompletionDate: string
(date-time)
Title:
Projected Completion Date
The date when the action plan is to be completed. -
InitialCompletionDate: string
(date-time)
Title:
Initial Expected Completion Date
The initial date when the action plan was expected to be completed. -
LastRefreshedDate: string
(date-time)
Title:
Last Refreshed Date
The date when the action plan status was last refreshed. -
LastUpdateDate: string
(date-time)
Title:
Last Updated Date
Read Only:true
The date and time when the action plan was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user who last updated the action plan. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
The login details of the user who last updated the action plan. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Title:
Name
Maximum Length:400
The name of the user who last updated the action plan. -
ObjectEntityName: string
Title:
Object Entity Name
Maximum Length:400
The name of the parent entity object associated with the action plan. -
ObjectEntityNameMeaning: string
Title:
Object Entity Name Value
Maximum Length:255
The display value corresponding to the object entity name lookup code for the action plan. -
ObjectId: integer
(int64)
Title:
Object ID
The unique identifier of the object associated with the action plan. -
ObjectNumber: string
The object reference number of the action plan.
-
OrderNumber: integer
(int64)
Title:
Order Number
The order of the action plan in the list of action plans. -
ProcessInstanceId: string
Title:
Process Instance ID
Maximum Length:500
The process instance identifier from of an external process. -
ProcessStatus: string
Title:
Process Status
Maximum Length:100
The status of the external process. -
SchedulePuid: string
Title:
Schedule PUID
Read Only:true
Maximum Length:120
The public unique identifier of a standard coverage schedule. -
StartDate: string
(date-time)
Title:
Start Date
The date when the action plan starts. -
Status: string
Read Only:
true
The status of the action plan, such as ORA_SVC_CREATE, ORA_SVC_IN_PROGRESS, ORA_SVC_COMPLETED, or ORA_SVC_ERROR. The ORA_SVC_CREATE status indicates that the required child records for the action plan based on its assigned template is created, and the status changes to ORA_SVC_CREATED. The ORA_SVC_CREATED status indicates that all the child action plan actions are created but the overall plan is not yet started. The ORA_SVC_INITIATE status indicates that the action plan is initiated, and if successful, the status is changed to ORA_SVC_IN_PROGRESS. The ORA_SVC_CREATE_AND_INITIATE status indicates that the child plan actions are created and action plan is initiated. The ORA_SVC_CREATE_AND_INITIATE status skips the intermediate ORA_SVC_CREATED status. The ORA_SVC_INITIATING status indicates that the action plan initiate process has started. The action plan status changes to ORA_SVC_IN_PROGRESS if it is able to successfully create underlying objects. If there is a failure in creating underlying objects, then the status changes to ORA_SVC_ERROR. For the ORA_SVC_ERROR status, the error details are stored in 'Status Details??? attribute of either 'action plan' object or its child ???action plan action' object. The ORA_SVC_COMPLETED status indicates that all actions in the action plan are complete. -
StatusCd: string
Title:
Status Code
Maximum Length:30
The code indicating the status of the action, such as ORA_SVC_CREATE, ORA_SVC_IN_PROGRESS, ORA_SVC_COMPLETED, or ORA_SVC_ERROR. The ORA_SVC_CREATE status indicates that the required child records for the action plan based on its assigned template is created, and the status changes to ORA_SVC_CREATED. The ORA_SVC_CREATED status indicates that all the child action plan actions are created but the overall plan is not yet started. The ORA_SVC_INITIATE status indicates that the action plan is initiated, and if successful, the status is changed to ORA_SVC_IN_PROGRESS. The ORA_SVC_CREATE_AND_INITIATE status indicates that the child plan actions are created and action plan is initiated. The ORA_SVC_CREATE_AND_INITIATE status skips the intermediate ORA_SVC_CREATED status. The ORA_SVC_INITIATING status indicates that the action plan initiate process has started. The action plan status changes to ORA_SVC_IN_PROGRESS if it is able to successfully create underlying objects. If there is a failure in creating underlying objects, then the status changes to ORA_SVC_ERROR. For the ORA_SVC_ERROR status, the error details are stored in 'Status Details??? attribute of either 'action plan' object or its child ???action plan action' object. The ORA_SVC_COMPLETED status indicates that all actions in the action plan are complete. -
StatusCdMeaning: string
Title:
Status Value
Maximum Length:255
The display value corresponding to the status lookup code for the action plan. -
StatusDetails: string
Title:
Status Details
Maximum Length:1000
The explanation of the error status of the action plan. -
TemplateId: integer
(int64)
Title:
Template ID
The unique identifier of the action plan template from which the action plan is created. -
TemplateNumber: string
Title:
Template Number
Maximum Length:30
The reference number of the action plan template. -
UpdateFlag: boolean
Read Only:
true
Indicates whether the action plan can be updated.
Nested Schema : Action Plan Actions
Type:
array
Title:
Action Plan Actions
The actions plan actions resource is used to view, create, update, and delete the actions in an action plan. An action is a step or a sequence in an action plan.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : actionplans-actionPlanAction-item-response
Type:
Show Source
object
-
ActionDescription: string
Title:
Description
Read Only:true
Maximum Length:1000
The description of an action in an action plan. -
ActionId: integer
(int64)
Title:
Action ID
The unique identifier of the action. -
ActionName: string
Title:
Action
Read Only:true
Maximum Length:400
The name of the action. -
ActionNumber: string
Title:
Action Number
The reference number of the action in an action plan. -
ActionPlanActionId: integer
(int64)
Title:
Action Plan Action ID
Read Only:true
The unique identifier of the action in an action plan. -
ActionPlanActionNumber: string
Title:
Action Plan Action Number
Maximum Length:30
The alternate unique identifier of an action plan action. -
actionPlanActionRelation: array
Action Plan Action Relations
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. -
ActionPlanId: integer
(int64)
Title:
Action Plan ID
The unique identifier of the action plan. -
ActionPlanNumber: string
Title:
Action Plan Number
Maximum Length:30
The action plan reference number. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the action in an action plan. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date and time when the action was created in an action plan. -
DelayedFlag: boolean
Read Only:
true
Indicates whether the action in an action plan is delayed. -
DeletedFlag: boolean
Title:
Deleted
Maximum Length:1
Default Value:false
Indicates whether the action in an action plan is deleted. The default value is false. -
DeleteFlag: boolean
Read Only:
true
Indicates whether the action in an action plan can be deleted. -
EndDate: string
(date-time)
Title:
End Date
The date when an action in the action plan ends. -
EndDateReadOnlyFlag: boolean
Read Only:
true
Indicates whether the end date should be read only. -
ExpectedCompletionDate: string
(date-time)
Title:
Expected Completion Date
The date when the action in an action plan is to be completed. -
ExpectedStartDate: string
(date-time)
Title:
Expected Start Date
The date when an action in the action plan is expected to start. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
The date and time when the action was last updated in an action plan. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user who last updated the action in an action plan. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
The login details of the user who last updated the action in an action plan. -
LeadTime: integer
(int64)
Title:
Duration
The estimated time required to complete the action. -
LeadTimeUnit: string
Title:
Duration Unit
Maximum Length:30
The unit of measurement of the lead time, such as minutes, hours, or days. -
LeadTimeUnitMeaning: string
Title:
Lead Time Unit Value
Maximum Length:255
The display value corresponding to the lead time unit lookup code for the action plan action. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MandatoryFlag: boolean
Title:
Mandatory
Maximum Length:1
Default Value:true
Indicates whether the action in an action plan is mandatory. The default value is false. -
ObjectEntityName: string
Title:
Entity Name
Read Only:true
Maximum Length:400
The name of the parent entity object on which the action is based. -
ObjectEntityNameMeaning: string
Title:
Object Entity Name Value
Maximum Length:255
The display value corresponding to the object entity name lookup code for the action plan action. -
ObjectEntitySubtype: string
Title:
Object Entity Subtype
Read Only:true
Maximum Length:400
Indicates the object entity subtype of the action in the action plan. -
ObjectEntityType: string
Title:
Type
Read Only:true
Maximum Length:400
The type of the parent entity object on which the action is based. -
ObjectEntityTypeMeaning: string
Title:
Object Entity Type Value
Maximum Length:255
The display value corresponding to the object entity type lookup code for the action plan action. -
ObjectId: integer
(int64)
Title:
Object ID
The unique identifier of the object associated with the action. -
ObjectReferenceNumber: string
Title:
Object Reference Number
Maximum Length:100
The reference number of the object associated with the action. -
OrderNumber: integer
(int64)
Title:
Step
The order of the action in an action plan. -
OwnerName: string
Title:
Owner
Read Only:true
The name of the owner of the action. -
Prerequisites: string
Title:
Prerequisites
Read Only:true
The prerequisite steps required to initiate the action. -
ProcessInstanceId: string
Title:
Process Instance ID
Maximum Length:500
Indicates the process instance identifier of an external process. -
ProcessStatus: string
Title:
Process Status
Maximum Length:100
The status of the external process. -
SkipFlag: boolean
Title:
Skip
Maximum Length:1
Default Value:false
Indicates whether the action for the action plan can be skipped. -
StartDate: string
(date-time)
Title:
Start Date
The date when an action in the action plan begins. -
StatusCd: string
Title:
Status
Maximum Length:30
The code indicating the status of the action. A list of valid values is defined in the lookup ORA_SVC_AP_STATUS_CD. -
StatusCdMeaning: string
Title:
Status Value
Maximum Length:255
The display value corresponding to the status lookup code for the action plan action. -
StatusDetails: string
Title:
Status Details
Maximum Length:1000
The details of the status of an action in an action plan. -
TemplateId: integer
(int64)
Title:
Template ID
The unique identifier of the action plan template from which the action is created. -
TemplateNumber: string
Title:
Template Number
Maximum Length:30
The reference number of the action plan template. -
TemplateTemplateId: integer
(int64)
Title:
Template ID
Read Only:true
The unique identifier of a template. -
UpdateFlag: boolean
Read Only:
true
Indicates whether the action in an action plan can be updated. -
VisibilityCd: string
Title:
Visibility
Read Only:true
Maximum Length:30
Default Value:ORA_SVC_NOT_PUBLISHED
The code indicating the visibility level of the action. A list of valid values is defined in the lookup ORA_SVC_AP_VISIBILITY_CD. -
VisibilityCdMeaning: string
Title:
Visibility Value
Maximum Length:255
The display value corresponding to the visibility lookup code for the action plan action.
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 : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : actionplans-actionPlanAction-actionPlanActionRelation-item-response
Type:
Show Source
object
-
ActionPlanActionId: integer
(int64)
Title:
Action Plan Action ID
The unique identifier of the action in an action plan. -
ActionPlanActionNumber: string
Title:
Action Plan Action Number
Maximum Length:30
The action plan reference number. -
ActionStatusCd: string
Title:
Action Status
Maximum Length:30
Default Value:ORA_SVC_COMPLETED
The code indicating the status of the dependency condition of the action relation. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the dependencies of an action. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date and time when the action dependency was created. -
DeletedFlag: boolean
Title:
Deleted
Maximum Length:1
Default Value:false
Indicates whether the action dependency is deleted. The default value is false. -
DeleteFlag: boolean
Read Only:
true
Indicates whether the action dependency can be deleted. -
DepActionPlanActionId: integer
(int64)
Title:
Dependent Action Plan Action ID
The unique identifier of the dependent action in an action plan. -
DepActionPlanActionNumber: string
Title:
Dependent Action Plan Action Number
Maximum Length:30
The dependent action plan reference number. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
The date and time when the action dependency was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user who last updated the dependencies of action. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
The login details of the user who last updated the dependencies of action. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RelationId: integer
(int64)
Title:
Relation ID
Read Only:true
The unique identifier of the relation between actions in an action plan. -
UpdateFlag: boolean
Read Only:
true
Indicates whether the action dependency can be updated.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- ActionPlanTypeLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_ACTION_PLAN_TYPE
The list of values Indicating whether the action plan is of type template, or process cloud process.
The following properties are defined on the LOV link relation:- Source Attribute: ActionPlanTypeCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- ActionStatusCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_AP_STATUS_CD
The list of values indicating the status of the action.
The following properties are defined on the LOV link relation:- Source Attribute: ActionStatusCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- ObjectEntityNameLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_AP_PARENT_ENTITY_NAME
The list of values Indicating whether the parent entity name of the action plan object is either Case or Service Request.
The following properties are defined on the LOV link relation:- Source Attribute: ObjectEntityName; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- StatusCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_AP_PROCESS_CD
The list of values indicating the status of the action plan.
The following properties are defined on the LOV link relation:- Source Attribute: StatusCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- YesNoLookup
-
Parameters:
- finder:
LookupTypeFinder
The list of values indicating whether the action plan is deleted.
The following properties are defined on the LOV link relation:- Source Attribute: DeletedFlag; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- actionPlanAction
-
Parameters:
- ActionPlanId:
$request.path.ActionPlanId
The actions plan actions resource is used to view, create, update, and delete the actions in an action plan. An action is a step or a sequence in an action plan. - ActionPlanId:
Examples
The following example shows how to create an action plan by submitting a POST request on the REST resource using cURL.
cURL Command
curl -u <username:password> \ -X POST https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans
Example of Request Body
The following shows an example of the request body in JSON format.
{ "ObjectId":"300100188591067", "Name":"AP ", "ObjectEntityName":"ServiceRequest", "TemplateId":"300100187846487" }
Example of Response Body
The following shows an example of the response body in JSON format.
{ "ActionPlanId": 300100188600890, "ActualCompletionDate": null, "ActionPlanTypeCd": "ORA_SVC_TEMPLATE", "CalendarId": 300100181817528, "CreatedBy": "SALES_ADMIN", "CreationDate": "2020-06-12T08:58:20+00:00", "DeletedFlag": false, "ExpectedCompletionDate": null, "InitialCompletionDate": null, "StartDate": null, "LastUpdateDate": "2020-06-12T08:58:20.076+00:00", "LastUpdateLogin": "A7622BD04B9A0553E053773AF80AC4CC", "LastUpdatedBy": "SALES_ADMIN", "Name": "AP ", "ObjectEntityName": "ServiceRequest", "ObjectId": 300100188591067, "UpdateFlag": true, "DeleteFlag": true, "LastRefreshedDate": "2020-06-12T08:58:20.960+00:00", "ActionPlanNumber": "CDRM_17124", "OrderNumber": 2, "Status": "ORA_SVC_CREATE", "TemplateId": 300100187846487, "StatusCd": "ORA_SVC_CREATE", "StatusDetails": null, "TemplateNumber": "CDRM_11002", "ObjectEntityNameMeaning": null, "StatusCdMeaning": null, "AdditionalInformation": null, "ProcessInstanceId": null, "ProcessStatus": null, "ActionPlanTypeCdMeaning": null, "SchedulePuid": null, "ObjectNumber": "SR0000056914", "ActionId": null, "ActionObjectId": null, "ActionObjectReferenceNumber": null, "ActionStatusCd": null, "ActionStatusCdMeaning": null, "ActionNumber": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans/300100188600890", "name": "actionplans", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans/300100188600890", "name": "actionplans", "kind": "item" }, { "rel": "child", "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans/300100188600890/child/actionPlanAction", "name": "actionPlanAction", "kind": "collection" } ] }