Get all action plans
get
/crmRestApi/resources/11.13.18.05/actionplans
Request
Query Parameters
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- ActionPlanNumberRowFinder: Finds an action plan with the specified primary key.
Finder Variables:- ActionPlanNumber; string; The alternate unique identifier of an action plan.
- PrimaryKey: Finds an action plan with the specified primary key.
Finder Variables:- ActionPlanId; integer; The unique identifier of the action plan.
- ActionPlanNumberRowFinder: Finds an action plan with the specified primary key.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- ActionId; integer; The unique identifier of the action.
- ActionObjectEntitySubtype; string; Indicates the object entity subtype of the action.
- ActionObjectEntityType; string; Indicates the object entity type of the action.
- ActionObjectId; integer; The unique object identifier associated with the action.
- ActionObjectReferenceNumber; string; The reference number of the object associated with the action.
- ActionPlanId; integer; The unique identifier of the action plan.
- ActionPlanNumber; string; The alternate unique identifier of an action plan.
- ActionPlanTypeCd; string; Lookup code that indicates the type of action plan, such as Template based Action Plan, or PCS process based Action Plan.
- ActionPlanTypeCdMeaning; string; The display value corresponding to the action plan type lookup code for the action plan.
- ActionStatusCd; string; The status of the action.
- ActionStatusCdMeaning; string; The display value corresponding to the status lookup code for the action.
- ActualCompletionDate; string; The date and time when the action plan was actually completed.
- AdditionalInformation; string; The additional information about the action plan record.
- CalendarId; integer; The unique identifier of the calendar associated with the action plan.
- CreatedBy; string; The user who created the action plan.
- CreationDate; string; The date and time when the action plan was created.
- DeletedFlag; boolean; Indicates whether the action plan is deleted. The default value is false.
- ExpectedCompletionDate; string; The date when the action plan is to be completed.
- InitialCompletionDate; string; The initial date when the action plan was expected to be completed.
- InitiateFlag; boolean; Indicates whether the action plan should initiated when it is created.
- LastRefreshedDate; string; The date when the action plan status was last refreshed.
- LastUpdateDate; string; The date and time when the action plan was last updated.
- LastUpdateLogin; string; The login details of the user who last updated the action plan.
- LastUpdatedBy; string; The user who last updated the action plan.
- Name; string; The name of the user who last updated the action plan.
- ObjectEntityName; string; The name of the parent entity object associated with the action plan.
- ObjectEntityNameMeaning; string; The display value corresponding to the object entity name lookup code for the action plan.
- ObjectId; integer; The unique identifier of the object associated with the action plan.
- ObjectNumber; string; The object reference number of the action plan.
- OrderNumber; integer; The order of the action plan in the list of action plans.
- ProcessInstanceId; string; The process instance identifier from of an external process.
- ProcessStatus; string; The status of the external process.
- SchedulePuid; string; The public unique identifier of a standard coverage schedule.
- StartDate; string; The date when the action plan starts.
- Status; string; 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; 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; The display value corresponding to the status lookup code for the action plan.
- StatusDetails; string; The explanation of the error status of the action plan.
- TemplateId; integer; The unique identifier of the action plan template from which the action plan is created.
- TemplateNumber; string; The reference number of the action plan template.
- WorkflowActionId; integer; The unique identifier of the action for the workflow.
- WorkflowId; integer; The unique identifier of the workflow.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
-
Metadata-Context: string
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: string
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.
There's no request body for this operation.
Back to TopResponse
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
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : actionplans-item-response
Type:
Show Source
object-
ActionId: integer
(int64)
Title:
Action IDThe unique identifier of the action. -
ActionNumber: string
Title:
Action NumberThe reference number of the action. -
ActionObjectEntitySubtype: string
Title:
Object Entity SubtypeRead Only:trueMaximum Length:400Indicates the object entity subtype of the action. -
ActionObjectEntityType: string
Title:
TypeRead Only:trueMaximum Length:400Indicates the object entity type of the action. -
ActionObjectId: integer
(int64)
Title:
Action Object IDThe unique object identifier associated with the action. -
ActionObjectReferenceNumber: string
Title:
Action Object Reference NumberMaximum Length:100The reference number of the object associated with the action. -
actionPlanAction: array
Action Plan Actions
Title:
Action Plan ActionsThe 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 IDRead Only:trueThe unique identifier of the action plan. -
ActionPlanNumber: string
Title:
Action Plan NumberMaximum Length:30The alternate unique identifier of an action plan. -
ActionPlanTypeCd: string
Title:
Action Plan Type CodeMaximum Length:30Default Value:ORA_SVC_TEMPLATELookup 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 ValueRead Only:trueMaximum Length:255The display value corresponding to the action plan type lookup code for the action plan. -
ActionStatusCd: string
Title:
Action Status CodeMaximum Length:30The status of the action. -
ActionStatusCdMeaning: string
Title:
Action Status Code MeaningMaximum Length:255The display value corresponding to the status lookup code for the action. -
ActualCompletionDate: string
(date-time)
Title:
Actual Completion DateThe date and time when the action plan was actually completed. -
AdditionalInformation: string
Title:
Additional InformationMaximum Length:2000The additional information about the action plan record. -
CalendarId: integer
(int64)
Title:
Calendar IDThe unique identifier of the calendar associated with the action plan. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the action plan. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the action plan was created. -
DeletedFlag: boolean
Title:
DeletedMaximum Length:1Default Value:falseIndicates whether the action plan is deleted. The default value is false. -
DeleteFlag: boolean
Read Only:
trueIndicates whether the action plan can be deleted. -
ExpectedCompletionDate: string
(date-time)
Title:
Projected Completion DateThe date when the action plan is to be completed. -
InitialCompletionDate: string
(date-time)
Title:
Initial Expected Completion DateThe initial date when the action plan was expected to be completed. -
InitiateFlag: boolean
Title:
Auto StartDefault Value:falseIndicates whether the action plan should initiated when it is created. -
LastRefreshedDate: string
(date-time)
Title:
Last Refreshed DateThe date when the action plan status was last refreshed. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the action plan was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the action plan. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login details of the user who last updated the action plan. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Message: string
(byte)
Title:
MessageIndicates a message sent by the AI Agent. -
Name: string
Title:
NameMaximum Length:400The name of the user who last updated the action plan. -
ObjectEntityName: string
Title:
Object Entity NameMaximum Length:400The name of the parent entity object associated with the action plan. -
ObjectEntityNameMeaning: string
Title:
Object Entity Name ValueMaximum Length:255The display value corresponding to the object entity name lookup code for the action plan. -
ObjectId: integer
(int64)
Title:
Object IDThe 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 NumberThe order of the action plan in the list of action plans. -
ProcessInstanceId: string
Title:
Process Instance IDMaximum Length:500The process instance identifier from of an external process. -
ProcessStatus: string
Title:
Process StatusMaximum Length:100The status of the external process. -
SchedulePuid: string
Title:
Schedule PUIDRead Only:trueMaximum Length:120The public unique identifier of a standard coverage schedule. -
StartDate: string
(date-time)
Title:
Start DateThe date when the action plan starts. -
Status: string
Read Only:
trueThe 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 CodeMaximum Length:30The 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 ValueMaximum Length:255The display value corresponding to the status lookup code for the action plan. -
StatusDetails: string
Title:
Status DetailsMaximum Length:2000The explanation of the error status of the action plan. -
TemplateId: integer
(int64)
Title:
Template IDThe unique identifier of the action plan template from which the action plan is created. -
TemplateNumber: string
Title:
Template NumberMaximum Length:30The reference number of the action plan template. -
UpdateFlag: boolean
Read Only:
trueIndicates whether the action plan can be updated. -
WorkflowActionId: integer
(int64)
Title:
Workflow Action IDThe unique identifier of the action for the workflow. -
WorkflowId: integer
(int64)
Title:
Workflow IDThe unique identifier of the workflow.
Nested Schema : Action Plan Actions
Type:
arrayTitle:
Action Plan ActionsThe 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:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : actionplans-actionPlanAction-item-response
Type:
Show Source
object-
ActionDescription: string
Title:
DescriptionRead Only:trueMaximum Length:1000The description of an action in an action plan. -
ActionId: integer
(int64)
Title:
Action IDThe unique identifier of the action. -
ActionName: string
Title:
ActionRead Only:trueMaximum Length:400The name of the action. -
ActionNumber: string
Title:
Action NumberThe reference number of the action in an action plan. -
ActionPlanActionId: integer
(int64)
Title:
Action Plan Action IDRead Only:trueThe unique identifier of the action in an action plan. -
ActionPlanActionNumber: string
Title:
Action Plan Action NumberMaximum Length:30The alternate unique identifier of an action plan action. -
actionPlanActionRelation: array
Action Plan Action Relations
Title:
Action Plan Action RelationsThe 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 IDThe unique identifier of the action plan. -
ActionPlanNumber: string
Title:
Action Plan NumberMaximum Length:30The action plan reference number. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the action in an action plan. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the action was created in an action plan. -
DelayedFlag: boolean
Read Only:
trueIndicates whether the action in an action plan is delayed. -
DeletedFlag: boolean
Title:
DeletedMaximum Length:1Default Value:falseIndicates whether the action in an action plan is deleted. The default value is false. -
DeleteFlag: boolean
Read Only:
trueIndicates whether the action in an action plan can be deleted. -
EndDate: string
(date-time)
Title:
End DateThe date when an action in the action plan ends. -
EndDateReadOnlyFlag: boolean
Read Only:
trueIndicates whether the end date should be read only. -
ExpectedCompletionDate: string
(date-time)
Title:
Expected Completion DateThe date when the action in an action plan is to be completed. -
ExpectedStartDate: string
(date-time)
Title:
Expected Start DateThe date when an action in the action plan is expected to start. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date and time when the action was last updated in an action plan. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the action in an action plan. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login details of the user who last updated the action in an action plan. -
LeadTime: integer
(int64)
Title:
DurationThe estimated time required to complete the action. -
LeadTimeUnit: string
Title:
Duration UnitMaximum Length:30The unit of measurement of the lead time, such as minutes, hours, or days. -
LeadTimeUnitMeaning: string
Title:
Lead Time Unit ValueMaximum Length:255The display value corresponding to the lead time unit lookup code for the action plan action. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MandatoryFlag: boolean
Title:
MandatoryMaximum Length:1Default Value:trueIndicates whether the action in an action plan is mandatory. The default value is false. -
ObjectEntityName: string
Title:
Entity NameRead Only:trueMaximum Length:400The name of the parent entity object on which the action is based. -
ObjectEntityNameMeaning: string
Title:
Object Entity Name ValueMaximum Length:255The display value corresponding to the object entity name lookup code for the action plan action. -
ObjectEntitySubtype: string
Title:
Object Entity SubtypeRead Only:trueMaximum Length:400Indicates the object entity subtype of the action in the action plan. -
ObjectEntityType: string
Title:
TypeRead Only:trueMaximum Length:400The type of the parent entity object on which the action is based. -
ObjectEntityTypeMeaning: string
Title:
Object Entity Type ValueMaximum Length:255The display value corresponding to the object entity type lookup code for the action plan action. -
ObjectId: integer
(int64)
Title:
Object IDThe unique identifier of the object associated with the action. -
ObjectReferenceNumber: string
Title:
Object Reference NumberMaximum Length:100The reference number of the object associated with the action. -
OrderNumber: integer
(int64)
Title:
StepThe order of the action in an action plan. -
OwnerName: string
Title:
OwnerRead Only:trueThe name of the owner of the action. -
Prerequisites: string
Title:
PrerequisitesRead Only:trueThe prerequisite steps required to initiate the action. -
ProcessInstanceId: string
Title:
Process Instance IDMaximum Length:500Indicates the process instance identifier of an external process. -
ProcessStatus: string
Title:
Process StatusMaximum Length:100The status of the external process. -
SkipFlag: boolean
Title:
SkipMaximum Length:1Default Value:falseIndicates whether the action for the action plan can be skipped. -
StartDate: string
(date-time)
Title:
Start DateThe date when an action in the action plan begins. -
StatusCd: string
Title:
StatusMaximum Length:30The 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 ValueMaximum Length:255The display value corresponding to the status lookup code for the action plan action. -
StatusDetails: string
Title:
Status DetailsMaximum Length:1000The details of the status of an action in an action plan. -
TemplateId: integer
(int64)
Title:
Template IDThe unique identifier of the action plan template from which the action is created. -
TemplateNumber: string
Title:
Template NumberMaximum Length:30The reference number of the action plan template. -
TemplateTemplateId: integer
(int64)
Title:
Template IDRead Only:trueThe unique identifier of a template. -
UpdateFlag: boolean
Read Only:
trueIndicates whether the action in an action plan can be updated. -
VisibilityCd: string
Title:
VisibilityRead Only:trueMaximum Length:30Default Value:ORA_SVC_NOT_PUBLISHEDThe 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 ValueMaximum Length:255The display value corresponding to the visibility lookup code for the action plan action. -
WorkflowActionId: integer
(int64)
Title:
Workflow Action IDThe unique identifier of the action for the workflow. -
WorkflowId: integer
(int64)
Title:
Workflow IDThe unique identifier of the workflow.
Nested Schema : Action Plan Action Relations
Type:
arrayTitle:
Action Plan Action RelationsThe 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:
arrayTitle:
LinksThe 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 IDThe unique identifier of the action in an action plan. -
ActionPlanActionNumber: string
Title:
Action Plan Action NumberMaximum Length:30The action plan reference number. -
ActionStatusCd: string
Title:
Action StatusMaximum Length:30Default Value:ORA_SVC_COMPLETEDThe code indicating the status of the dependency condition of the action relation. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the dependencies of an action. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the action dependency was created. -
DeletedFlag: boolean
Title:
DeletedMaximum Length:1Default Value:falseIndicates whether the action dependency is deleted. The default value is false. -
DeleteFlag: boolean
Read Only:
trueIndicates whether the action dependency can be deleted. -
DepActionPlanActionId: integer
(int64)
Title:
Dependent Action Plan Action IDThe unique identifier of the dependent action in an action plan. -
DepActionPlanActionNumber: string
Title:
Dependent Action Plan Action NumberMaximum Length:30The dependent action plan reference number. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date and time when the action dependency was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the dependencies of action. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login details of the user who last updated the dependencies of action. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
RelationId: integer
(int64)
Title:
Relation IDRead Only:trueThe unique identifier of the relation between actions in an action plan. -
UpdateFlag: boolean
Read Only:
trueIndicates whether the action dependency can be updated.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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
- 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.
- addAdhocActiontoActionPlan
-
Adds adhoc actions to a single action plan or multiple action plans. The actions and action plans are specified by a given list of action plan numbers and action numbers.
- getActionMappings
-
This method lets you retrieve attribute mappings for the given action plan or action plan action with resolved values.
- getProcessAccessToken
-
This method is used to obtain the JWT token for a logged-in user to connect to the pcs instance. This method should only be used from VBCS to generate the token.
- processSignalObject
-
Refreshes an action plan action that has already been initiated through signals.
- recreateObjectForActionPlanAction
-
Recreates the underlying business object of the corresponding action plan action such as SR, Task, or Appointment, that has failed during previous orchestration.
- refreshActionPlan
-
Refreshes an action plan that has already been initiated.
- refreshActionPlanAction
-
Refreshes an action plan action that has already been initiated.
- updateObjectDetailsToPlan
-
Update child object identifier for an action plan or an action plan action and related dates. Perform a refresh action plan if required.
Examples
The following example shows how to get all action plans by submitting a GET request on the REST resource using cURL.
cURL Command
Command: curl -u <username:password> \ -X GET https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/actionplans
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"items": [
{
"ActionPlanId": 300100117572596,
"ActualCompletionDate": null,
"CalendarId": 300100028308361,
"CreatedBy": "MHoope",
"CreationDate": "2017-09-15T00:56:43.626+00:00",
"DeletedFlag": false,
"ExpectedCompletionDate": "2017-09-20T05:58:00+00:00",
"InitialCompletionDate": "2017-09-16T02:57:00+00:00",
"StartDate": "2017-09-15T00:56:50.553+00:00",
"LastUpdateDate": "2017-09-15T02:53:23+00:00",
"LastUpdateLogin": "592E32349F671673E0538E09F20ACE8A",
"LastUpdatedBy": "SALES_ADMIN",
"Name": null,
"ObjectEntityName": "ServiceRequest",
"ObjectId": 300100117572404,
"UpdateFlag": true,
"DeleteFlag": true,
"links": [
...
]
},
{
"ActionPlanId": 300100111080994,
"ActualCompletionDate": null,
"CalendarId": 300100028308361,
"CreatedBy": "autoxtnapi90",
"CreationDate": "2017-07-12T05:41:02+00:00",
"DeletedFlag": false,
"ExpectedCompletionDate": null,
"InitialCompletionDate": null,
"StartDate": null,
"LastUpdateDate": "2017-07-12T05:41:02.006+00:00",
"LastUpdateLogin": "541749F1C18D4646E0538E09F20AB723",
"LastUpdatedBy": "autoxtnapi90",
"Name": null,
"ObjectEntityName": "ServiceRequest",
"ObjectId": 300100111082917,
"UpdateFlag": true,
"DeleteFlag": true,
"links": [
...
]
},
...