Create plan organizations
post
/fscmRestApi/resources/11.13.18.05/planOptions/{PlanId}/child/PlanOrganization
Request
Path Parameters
-
PlanId(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
-
BillOfResources: string
Maximum Length:
10
Label for a list for the Create Bills of Resources scheduled process. The planner can choose for the resource structure to be within a single organization or across multiple organizations. -
ForecastSpreadingCalendar: string
Maximum Length:
22
Calendar used for forecast spreading an aggregate demand plan forecast across multiple time buckets. -
IncludeProductionSchedule: number
Indicates whether production schedules are considered in the planning process.
-
IncludeSalesorder: number
Specifies whether sales orders are considered to net from forecasts.
-
NetOnHand: number
Net on-hand quantity of an item.
-
NetPurchasing(required): number
Net purchased quantity of an item.
-
NetReservations(required): number
Net reserved quantity of an item.
-
NetTransfers: number
Final net on the transfer quantity of an item.
-
NetWIP(required): number
Net work in process quantity of an item.
-
OrganizationCode(required): string
Maximum Length:
49
Short code for the organization. -
OrganizationId(required): integer
(int64)
Unique value that identifies an organization.
-
ParentOrgId: integer
Identifies the organization selected from a list of values to be the parent for a child organization. Parent and child organizations are modeled for pooling child organization supplies into a parent organization for netting demands. Parent and child modeling for organizations is set up using the Manage Planning Source Systems task.
-
PlanId(required): integer
(int64)
Value that uniquely identifies the plan.
-
PlanSafetyStock(required): number
Plan option that triggers supply plan to calculate safety stock.
-
ProductionScheduleId: integer
(int64)
Value that uniquely identifies the production schedule.
-
SimulationSet: string
Maximum Length:
10
Name of a simulation set. A simulation set consists of adjustments to plan inputs that can be applied to a plan to model different business scenarios, such as increasing available resource capacity. -
SubInventory: array
Subinventories
Title:
Subinventories
The subinventories of a user-selected organization specified in the plan options that are used in the supply planning process, which generates supplies for the subinventories, if needed. -
TransactionId: integer
(int64)
Unique transaction identifier.
Nested Schema : Subinventories
Type:
array
Title:
Subinventories
The subinventories of a user-selected organization specified in the plan options that are used in the supply planning process, which generates supplies for the subinventories, if needed.
Show Source
Nested Schema : planOptions-PlanOrganization-SubInventory-item-post-request
Type:
Show Source
object
-
CreatedBy: string
Maximum Length:
64
Name of the user who created the plan subinventory. -
CreationDate: string
(date-time)
Date when the plan subinventory was originally created.
-
Description: string
Maximum Length:
50
Description associated with the subinventory. -
DisableDate: string
(date)
Date when the subinventory is no longer valid.
-
IncludeNonNettable: number
Indicates whether to include nonnettable subinventory.
-
InventoryATPCode: number
Inventory available to promise code.
-
LastUpdateDate: string
(date-time)
Date when the user most recently updated the plan.
-
LastUpdatedBy: string
Maximum Length:
64
User who performed the most recent update on the plan. -
LastUpdateLogin: string
Maximum Length:
32
Last time the user logged into the system. -
NettingType: integer
(int64)
Identifies the subinventory netting code, which are Nettable inventory and Nonnettable inventory.
-
OrganizationId: integer
(int64)
Organization with which the subinventory is associated.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
RefreshNumber: number
Name of a column on the Collected Measure Data page. This column is populated by the collection program and stores the internal ID of the collection or import process.
-
SubInventoryCode: string
Maximum Length:
10
Code of the subinventory.
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 : planOptions-PlanOrganization-item-response
Type:
Show Source
object
-
BillOfResources: string
Maximum Length:
10
Label for a list for the Create Bills of Resources scheduled process. The planner can choose for the resource structure to be within a single organization or across multiple organizations. -
CreatedBy: string
Read Only:
true
Maximum Length:64
Name of the user who created the plan organization. -
CreationDate: string
(date-time)
Read Only:
true
Date when the plan organization was originally created. -
Description: string
Read Only:
true
Maximum Length:255
Description for the source system organization. -
ForecastSpreadingCalendar: string
Maximum Length:
22
Calendar used for forecast spreading an aggregate demand plan forecast across multiple time buckets. -
FrcstSpreadingCalName: string
Read Only:
true
Maximum Length:255
Name of the calendar used for forecast spreading. -
IncludeProductionSchedule: number
Indicates whether production schedules are considered in the planning process.
-
IncludeSalesorder: number
Specifies whether sales orders are considered to net from forecasts.
-
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the user most recently updated the plan. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who performed the most recent update on the plan. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Last time the user logged into the system. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NetOnHand: number
Net on-hand quantity of an item.
-
NetPurchasing: number
Net purchased quantity of an item.
-
NetReservations: number
Net reserved quantity of an item.
-
NetTransfers: number
Final net on the transfer quantity of an item.
-
NetWIP: number
Net work in process quantity of an item.
-
ObjectVersionNumber: integer
(int32)
Read Only:
true
Plan version number. -
OrganizationCode: string
Maximum Length:
49
Short code for the organization. -
OrganizationId: integer
(int64)
Unique value that identifies an organization.
-
OrganizationName: string
Read Only:
true
Maximum Length:255
Name of the organization. -
ParentOrgId: integer
Identifies the organization selected from a list of values to be the parent for a child organization. Parent and child organizations are modeled for pooling child organization supplies into a parent organization for netting demands. Parent and child modeling for organizations is set up using the Manage Planning Source Systems task.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
PlanSafetyStock: number
Plan option that triggers supply plan to calculate safety stock.
-
ProductionScheduleId: integer
(int64)
Value that uniquely identifies the production schedule.
-
SimulationSet: string
Maximum Length:
10
Name of a simulation set. A simulation set consists of adjustments to plan inputs that can be applied to a plan to model different business scenarios, such as increasing available resource capacity. -
SubInventory: array
Subinventories
Title:
Subinventories
The subinventories of a user-selected organization specified in the plan options that are used in the supply planning process, which generates supplies for the subinventories, if needed. -
TransactionId: integer
(int64)
Unique transaction identifier.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Subinventories
Type:
array
Title:
Subinventories
The subinventories of a user-selected organization specified in the plan options that are used in the supply planning process, which generates supplies for the subinventories, if needed.
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 : planOptions-PlanOrganization-SubInventory-item-response
Type:
Show Source
object
-
CreatedBy: string
Maximum Length:
64
Name of the user who created the plan subinventory. -
CreationDate: string
(date-time)
Date when the plan subinventory was originally created.
-
Description: string
Maximum Length:
50
Description associated with the subinventory. -
DisableDate: string
(date)
Date when the subinventory is no longer valid.
-
IncludeNonNettable: number
Indicates whether to include nonnettable subinventory.
-
InventoryATPCode: number
Inventory available to promise code.
-
LastUpdateDate: string
(date-time)
Date when the user most recently updated the plan.
-
LastUpdatedBy: string
Maximum Length:
64
User who performed the most recent update on the plan. -
LastUpdateLogin: string
Maximum Length:
32
Last time the user logged into the system. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NettingType: integer
(int64)
Identifies the subinventory netting code, which are Nettable inventory and Nonnettable inventory.
-
OrganizationId: integer
(int64)
Organization with which the subinventory is associated.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
RefreshNumber: number
Name of a column on the Collected Measure Data page. This column is populated by the collection program and stores the internal ID of the collection or import process.
-
SubInventoryCode: string
Maximum Length:
10
Code of the subinventory.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- SubInventory
-
Parameters:
- PlanId:
$request.path.PlanId
- TransactionId2:
$request.path.TransactionId2
The subinventories of a user-selected organization specified in the plan options that are used in the supply planning process, which generates supplies for the subinventories, if needed. - PlanId: