Create activities
post
/fscmRestApi/resources/11.13.18.05/planningCycles/{PlanningCycleId}/child/planningCycleStages/{PlanningCycleStageId}/child/planningCycleActivities
Request
Path Parameters
-
PlanningCycleId(required): integer(int64)
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=
-
PlanningCycleStageId(required): integer(int64)
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=
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.
-
Upsert-Mode: string
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
-
PlanningCycleActivityAssigneeId: string
Maximum Length:
64
Value that uniquely identifies who's assigned the activity in the planning cycle stage. -
PlanningCycleActivityCompletionDate: string
(date)
Date when the activity in the planning cycle stage is completed.
-
PlanningCycleActivityDescription: string
Maximum Length:
256
Description of the activity in the planning cycle stage. -
PlanningCycleActivityDisplayOrder(required): integer
(int64)
Value that indicates the display order of the activity in the planning cycle stage.
-
PlanningCycleActivityDueDate: string
(date)
Date when the activity in the planning cycle stage is due.
-
PlanningCycleActivityId: integer
(int64)
Value that uniquely identifies the activity in the planning cycle stage.
-
PlanningCycleActivityLink: string
Maximum Length:
256
Name of the report link associated with the activity in the planning cycle stage. -
PlanningCycleActivityLinkId: integer
(int64)
Value that uniquely identifies the report link associated with the activity in the planning cycle stage.
-
PlanningCycleActivityLinkType: integer
(int32)
Type of report link associated with the activity in the planning cycle stage. A valid value includes 2 for page group.
-
PlanningCycleActivityName(required): string
Maximum Length:
256
Name of the activity in the planning cycle stage. -
PlanningCycleActivityOwnerId: string
Maximum Length:
64
Value that uniquely identifies who owns the activity in the planning cycle stage. -
PlanningCycleActivityStageId: integer
(int64)
Value that uniquely identifies the planning cycle stage associated with the activity.
-
PlanningCycleActivityStatusCode: string
Maximum Length:
32
Status of the activity in the planning cycle stage derived from its tasks. A list of valid values for the activity is defined in the lookup type ORA_MSC_SOP_TASK_STATUS. -
PlanningCycleActivityType: string
Maximum Length:
80
Name of the type of activity in the planning cycle stage. A list of valid names for the activity is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
PlanningCycleActivityTypeCode: string
Maximum Length:
64
Type of activity in the planning cycle stage. A list of valid values for the activity is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
planningCycleTasks: array
Tasks
Title:
Tasks
A recurring task that has an owner and an assignee in a planning cycle stage.
Nested Schema : Tasks
Type:
array
Title:
Tasks
A recurring task that has an owner and an assignee in a planning cycle stage.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
PlanningCycleTaskAssigneeId: string
Maximum Length:
64
Value that uniquely identifies who's assigned the task in the planning cycle stage. -
PlanningCycleTaskCompletionDate: string
(date)
Date when the task in the planning cycle stage is completed.
-
PlanningCycleTaskDueDate: string
(date)
Date when the task in the planning cycle stage is due.
-
PlanningCycleTaskId: integer
(int64)
Value that uniquely identifies the task in the planning cycle stage.
-
PlanningCycleTaskLinkId: integer
(int64)
Value that uniquely identifies the report link associated with the task in the planning cycle stage.
-
PlanningCycleTaskLinktype: integer
(int32)
Type of report link associated with the task in the planning cycle stage. A valid value includes 2 for page group.
-
PlanningCycleTaskOffSetDays: integer
(int64)
Value that specifies the task due date relative to the start of the planning cycle. For example, a value of 10 indicates the task is due 10 days after the start of the planning cycle.
-
PlanningCycleTaskOwnerId: string
Maximum Length:
64
Value that uniquely identifies who owns the task in the planning cycle stage. -
PlanningCycleTaskStageId: integer
(int64)
Value that uniquely identifies the planning cycle stage associated with the task.
-
PlanningCycleTaskStatusCode: string
Maximum Length:
32
Status of the task in the planning cycle stage. A list of valid values for the task is defined in the lookup type ORA_MSC_SOP_TASK_STATUS. -
PlanningCycleTaskTitle: string
Maximum Length:
100
Name of the task in the planning cycle stage. -
PlanningCycleTaskType: string
Maximum Length:
80
Name of the type of task in the planning cycle stage. A list of valid names for the task is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
PlanningCycleTaskTypeCode: string
Maximum Length:
64
Type of task in the planning cycle stage. A list of valid values for the task is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
PlannningCycleTaskLink: string
Maximum Length:
256
Name of the report link associated with the task in the planning cycle stage.
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 : planningCycles-planningCycleStages-planningCycleActivities-item-response
Type:
Show Source
object
-
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the activity in the planning cycle stage. -
CreationDate: string
(date-time)
Read Only:
true
Date and time when the user created the activity in the planning cycle stage. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date and time when the user most recently updated the activity in the planning cycle stage. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the activity in the planning cycle stage. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PlanningCycleActivityAssigneeId: string
Maximum Length:
64
Value that uniquely identifies who's assigned the activity in the planning cycle stage. -
PlanningCycleActivityAssigneeName: string
Read Only:
true
Maximum Length:255
Name of the user who's assigned the activity in the planning cycle stage. -
PlanningCycleActivityCompletionDate: string
(date)
Date when the activity in the planning cycle stage is completed.
-
PlanningCycleActivityDaysLate: integer
Read Only:
true
Value that indicates the difference between the completion date and the due date for the activity in the planning cycle stage. -
PlanningCycleActivityDescription: string
Maximum Length:
256
Description of the activity in the planning cycle stage. -
PlanningCycleActivityDisplayOrder: integer
(int64)
Value that indicates the display order of the activity in the planning cycle stage.
-
PlanningCycleActivityDueDate: string
(date)
Date when the activity in the planning cycle stage is due.
-
PlanningCycleActivityId: integer
(int64)
Value that uniquely identifies the activity in the planning cycle stage.
-
PlanningCycleActivityLink: string
Maximum Length:
256
Name of the report link associated with the activity in the planning cycle stage. -
PlanningCycleActivityLinkId: integer
(int64)
Value that uniquely identifies the report link associated with the activity in the planning cycle stage.
-
PlanningCycleActivityLinkType: integer
(int32)
Type of report link associated with the activity in the planning cycle stage. A valid value includes 2 for page group.
-
PlanningCycleActivityName: string
Maximum Length:
256
Name of the activity in the planning cycle stage. -
PlanningCycleActivityOwnerId: string
Maximum Length:
64
Value that uniquely identifies who owns the activity in the planning cycle stage. -
PlanningCycleActivityOwnerName: string
Read Only:
true
Maximum Length:255
Name of the user who owns the activity in the planning cycle stage. -
PlanningCycleActivityStageId: integer
(int64)
Value that uniquely identifies the planning cycle stage associated with the activity.
-
PlanningCycleActivityStageName: string
Read Only:
true
Maximum Length:256
Name of the planning cycle stage associated with the activity. -
PlanningCycleActivityStatus: string
Read Only:
true
Maximum Length:80
Status name of the activity in the planning cycle stage derived from its tasks. A list of valid names for the activity is defined in the lookup type ORA_MSC_SOP_TASK_STATUS. -
PlanningCycleActivityStatusCode: string
Maximum Length:
32
Status of the activity in the planning cycle stage derived from its tasks. A list of valid values for the activity is defined in the lookup type ORA_MSC_SOP_TASK_STATUS. -
PlanningCycleActivityType: string
Maximum Length:
80
Name of the type of activity in the planning cycle stage. A list of valid names for the activity is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
PlanningCycleActivityTypeCode: string
Maximum Length:
64
Type of activity in the planning cycle stage. A list of valid values for the activity is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
planningCycleTasks: array
Tasks
Title:
Tasks
A recurring task that has an owner and an assignee in a planning cycle stage.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Tasks
Type:
array
Title:
Tasks
A recurring task that has an owner and an assignee in a planning cycle stage.
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.
Nested Schema : planningCycles-planningCycleStages-planningCycleActivities-planningCycleTasks-item-response
Type:
Show Source
object
-
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the task in the planning cycle stage. -
CreationDate: string
(date-time)
Read Only:
true
Date and time when the user created the task in the planning cycle stage. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date and time when the user most recently updated the task in the planning cycle stage. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the task in the planning cycle stage. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PlanningCycleTaskAssignee: string
Read Only:
true
Maximum Length:255
Name of the user who's assigned the task in the planning cycle stage. -
PlanningCycleTaskAssigneeId: string
Maximum Length:
64
Value that uniquely identifies who's assigned the task in the planning cycle stage. -
PlanningCycleTaskCompletionDate: string
(date)
Date when the task in the planning cycle stage is completed.
-
PlanningCycleTaskDaysLate: integer
Read Only:
true
Value that indicates the difference between the completion date and the due date for the task in the planning cycle stage. -
PlanningCycleTaskDueDate: string
(date)
Date when the task in the planning cycle stage is due.
-
PlanningCycleTaskId: integer
(int64)
Value that uniquely identifies the task in the planning cycle stage.
-
PlanningCycleTaskLinkId: integer
(int64)
Value that uniquely identifies the report link associated with the task in the planning cycle stage.
-
PlanningCycleTaskLinktype: integer
(int32)
Type of report link associated with the task in the planning cycle stage. A valid value includes 2 for page group.
-
PlanningCycleTaskOffSetDays: integer
(int64)
Value that specifies the task due date relative to the start of the planning cycle. For example, a value of 10 indicates the task is due 10 days after the start of the planning cycle.
-
PlanningCycleTaskOwner: string
Read Only:
true
Maximum Length:255
Name of the user who owns the task in the planning cycle stage. -
PlanningCycleTaskOwnerId: string
Maximum Length:
64
Value that uniquely identifies who owns the task in the planning cycle stage. -
PlanningCycleTaskStageId: integer
(int64)
Value that uniquely identifies the planning cycle stage associated with the task.
-
PlanningCycleTaskStageName: string
Read Only:
true
Maximum Length:256
Name of the planning cycle stage associated with the task. -
PlanningCycleTaskStatus: string
Read Only:
true
Maximum Length:80
Status name of the task in the planning cycle stage. A list of valid names for the task is defined in the lookup type ORA_MSC_SOP_TASK_STATUS. -
PlanningCycleTaskStatusCode: string
Maximum Length:
32
Status of the task in the planning cycle stage. A list of valid values for the task is defined in the lookup type ORA_MSC_SOP_TASK_STATUS. -
PlanningCycleTaskTitle: string
Maximum Length:
100
Name of the task in the planning cycle stage. -
PlanningCycleTaskType: string
Maximum Length:
80
Name of the type of task in the planning cycle stage. A list of valid names for the task is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
PlanningCycleTaskTypeCode: string
Maximum Length:
64
Type of task in the planning cycle stage. A list of valid values for the task is defined in the lookup type ORA_MSC_SOP_ACTIVITY_TASK_TYPE. -
PlannningCycleTaskLink: string
Maximum Length:
256
Name of the report link associated with the task in the planning cycle stage.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- planningCycleTasks
-
Parameters:
- PlanningCycleActivityId:
$request.path.PlanningCycleActivityId
- PlanningCycleId:
$request.path.PlanningCycleId
- PlanningCycleStageId:
$request.path.PlanningCycleStageId
A recurring task that has an owner and an assignee in a planning cycle stage. - PlanningCycleActivityId: