Create policy assignment sets
post
/fscmRestApi/resources/11.13.18.05/supplyPlanPolicyAssignSets
Request
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-
Description: string
Maximum Length:
240Description of the policy assignment set. -
ObjectVersionNumber: integer
(int32)
Unique identifier of whether the table row has been updated.
-
PolicyAssignmentSetDuplicate: array
Duplicate Policy Assignment Sets
Title:
Duplicate Policy Assignment SetsDuplicate supply planning policy assignment set serves as a copy of policy associations, often used for scenarios requiring alternate planning strategies or testing different policy configurations within a supply plan. -
PolicySetId: integer
(int64)
Unique identifier of the policy assignment set primary key.
-
PolicySetName(required): string
Maximum Length:
120Unique identifier of the policy assignment set name. -
SegmentGroupId(required): integer
(int64)
Unique identifier of the policy assignment segment group.
-
SegmentLevelParameters: array
Segment Level Parameters
Title:
Segment Level ParametersSegment-level policy assignment sets capture specific planning policy assignments at different segments, enabling granular control over supply planning strategies based on product or location hierarchies.
Nested Schema : Duplicate Policy Assignment Sets
Type:
arrayTitle:
Duplicate Policy Assignment SetsDuplicate supply planning policy assignment set serves as a copy of policy associations, often used for scenarios requiring alternate planning strategies or testing different policy configurations within a supply plan.
Show Source
Nested Schema : Segment Level Parameters
Type:
arrayTitle:
Segment Level ParametersSegment-level policy assignment sets capture specific planning policy assignments at different segments, enabling granular control over supply planning strategies based on product or location hierarchies.
Show Source
Nested Schema : supplyPlanPolicyAssignSets-PolicyAssignmentSetDuplicate-item-post-request
Type:
Show Source
object-
Message: string
Maximum Length:
255Message displayed when duplicate action is performed. -
NewDescription: string
Description of the duplicated policy assignment set.
-
NewPolicySetId: integer
Unique identifier of the duplicated policy assignment set primary key.
-
NewPolicySetName: string
Name of the duplicated policy assignment set.
Nested Schema : schema
Type:
Show Source
object-
Description: string
Maximum Length:
255Segment Level Parameters -
ObjectVersionNumber: integer
(int32)
Unique identifier of whether the segment level parameters have been updated.
-
PolicySetId: integer
(int64)
Unique identifier of the policy assignment set primary key which includes the segment level parameters.
-
SegmentId: integer
(int64)
Unique identifier of the policy assignment set segment primary key.
-
SegmentName: string
Maximum Length:
255Segment Level Parameters -
ServiceLevelPercent: number
Service level percentage associated with the segment level parameters.
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 : supplyPlanPolicyAssignSets-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64Unique identifier of the user who created the policy assignment set. -
CreationDate: string
(date-time)
Read Only:
trueDate when the policy assignment set was created. -
Description: string
Maximum Length:
240Description of the policy assignment set. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate when the policy assignment set was updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64Last user who updated the policy assignment set. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Last login used to update the policy assignment set. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Unique identifier of whether the table row has been updated.
-
PolicyAssignmentSetDuplicate: array
Duplicate Policy Assignment Sets
Title:
Duplicate Policy Assignment SetsDuplicate supply planning policy assignment set serves as a copy of policy associations, often used for scenarios requiring alternate planning strategies or testing different policy configurations within a supply plan. -
PolicySetId: integer
(int64)
Unique identifier of the policy assignment set primary key.
-
PolicySetName: string
Maximum Length:
120Unique identifier of the policy assignment set name. -
SegmentGroupId: integer
(int64)
Unique identifier of the policy assignment segment group.
-
SegmentGroupName: string
Read Only:
trueMaximum Length:255Unique identifier of the segment group name. -
SegmentLevelParameters: array
Segment Level Parameters
Title:
Segment Level ParametersSegment-level policy assignment sets capture specific planning policy assignments at different segments, enabling granular control over supply planning strategies based on product or location hierarchies.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Duplicate Policy Assignment Sets
Type:
arrayTitle:
Duplicate Policy Assignment SetsDuplicate supply planning policy assignment set serves as a copy of policy associations, often used for scenarios requiring alternate planning strategies or testing different policy configurations within a supply plan.
Show Source
Nested Schema : Segment Level Parameters
Type:
arrayTitle:
Segment Level ParametersSegment-level policy assignment sets capture specific planning policy assignments at different segments, enabling granular control over supply planning strategies based on product or location hierarchies.
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.
Nested Schema : supplyPlanPolicyAssignSets-PolicyAssignmentSetDuplicate-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Message: string
Maximum Length:
255Message displayed when duplicate action is performed. -
NewDescription: string
Description of the duplicated policy assignment set.
-
NewPolicySetId: integer
Unique identifier of the duplicated policy assignment set primary key.
-
NewPolicySetName: string
Name of the duplicated policy assignment set.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : supplyPlanPolicyAssignSets-SegmentLevelParameters-item-response
Type:
Show Source
object-
CreatedBy: string
Read Only:
trueMaximum Length:64Unique identifier of the user who created the segment level parameters of the policy assignment set. -
CreationDate: string
(date-time)
Read Only:
trueDate when the segment level parameters of the policy assignment set were created. -
Description: string
Maximum Length:
255Segment Level Parameters -
LastUpdateDate: string
(date-time)
Read Only:
trueDate when the segment level parameters of the policy assignment set were last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64Last user who updated the policy assignment set segment level parameters. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Login used to update the segment level parameters of the policy assignment set. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Unique identifier of whether the segment level parameters have been updated.
-
PolicySetId: integer
(int64)
Unique identifier of the policy assignment set primary key which includes the segment level parameters.
-
SegmentId: integer
(int64)
Unique identifier of the policy assignment set segment primary key.
-
SegmentName: string
Maximum Length:
255Segment Level Parameters -
ServiceLevelPercent: number
Service level percentage associated with the segment level parameters.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- PolicyAssignmentSetDuplicate
-
Parameters:
- PolicySetId:
$request.path.PolicySetId
Duplicate supply planning policy assignment set serves as a copy of policy associations, often used for scenarios requiring alternate planning strategies or testing different policy configurations within a supply plan. - PolicySetId:
- SegmentLevelParameters
-
Parameters:
- PolicySetId:
$request.path.PolicySetId
Segment-level policy assignment sets capture specific planning policy assignments at different segments, enabling granular control over supply planning strategies based on product or location hierarchies. - PolicySetId: