Create demands

post

/fscmRestApi/resources/11.13.18.05/simulationSets/{SimulationSetId}/child/PlanningDemands

Request

Path Parameters
  • 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
  • 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".
  • 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.
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Monetary value associated with the end demand.
  • Title: Firm Date
    Date when the demand is due. This attribute is a fixed value that can't be rescheduled by planning and is only populated when the firm status is firm.
  • Title: Firm Status
    Value that indicates whether the demand is firmed or not. Valid values are 1 or 2. If 1, then the demand is firm. If 2, then the demand isn't firm. A list of accepted values is defined in the lookup type ORA_MSC_ORDER_FIRM_STATUS.
  • Title: Firm Quantity
    Fixed quantity of demand. This attribute value can't be changed by planning and is only populated when the firm status is firm.
  • Maximum Length: 300
    Name of the item associated with the demand.
  • Abbreviation that identifies the type of order. A list of accepted values is defined in the lookup type MSC_ORDER_TYPE.
  • Title: Order Type
    Maximum Length: 4000
    Value that indicates the type of order such as sales order or forecast. A list of accepted values is defined in the lookup type MSC_ORDER_TYPE.
  • Maximum Length: 49
    Name of the organization associated with the order.
  • Planning Attributes
    Title: Planning Attributes
    The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply.
  • Maximum Length: 4000
    Value that identifies the project group.
  • Maximum Length: 4000
    Value that identifies the project.
  • Maximum Length: 4000
    Value that identifies task.
  • Value that uniquely identifies the demand. This value is internally generated by the application.
Nested Schema : Planning Attributes
Type: array
Title: Planning Attributes
The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply.
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : simulationSets-PlanningDemands-item-response
Type: object
Show Source
  • Read Only: true
    Value that indicates whether Oracle Global Order Promising Cloud can automatically split a fulfillment line into two or more lines to optimize promising results. Valid values are 1 or 2. If 1, then Global Order Promising can automatically split a fulfillment line. If 2, then Global Order Promising can't automatically split a fulfillment line.
  • Read Only: true
    Value that indicates whether Oracle Global Order Promising Cloud can consider end item substitution to optimize promising results. Valid values are 1 or 2. If 1, then Global Order Promising considers end item substitution. If 2, then Global Order Promising doesn't consider end item substitution.
  • Title: Arrival Set Name
    Read Only: true
    Maximum Length: 30
    A named set designating the order lines that should arrive together. On the sales order, the arrival set name designates lines that should arrive together at the customer site.
  • Title: Asset
    Read Only: true
    Maximum Length: 80
    Number that identifies the asset associated with a maintenance work order.
  • Title: Bucket Type
    Read Only: true
    Maximum Length: 7
    Time bucket used for forecast demands. Valid values include Day, Month, Period, or Week. A list of accepted values is defined in the lookup types ORA_MSC_TIME_LEVELS_GREGORIAN and ORA_MSC_TIME_LEVELS_MFG.
  • Title: Buyer
    Read Only: true
    Name of the buyer associated with the item.
  • Read Only: true
    Shipped quantity of the sales order.
  • Read Only: true
    Quantity of a component issued to a work order.
  • Title: Configuration Item
    Read Only: true
    Maximum Length: 300
    Name of the configuration item.
  • Read Only: true
    Maximum Length: 64
    User who created the order.
  • Read Only: true
    Date when the user created the order.
  • Title: Customer
    Read Only: true
    Maximum Length: 4000
    Name of the customer associated with the sales order or forecast.
  • Read Only: true
    Maximum Length: 50
    Number that identifies the customer purchase order line corresponding to the sales order.
  • Read Only: true
    Maximum Length: 50
    Customer purchase order number corresponding to the sales order.
  • Read Only: true
    Maximum Length: 50
    Number that identifies the schedule level customer purchase order line location that corresponds to the sales order.
  • Title: Customer Site
    Read Only: true
    Maximum Length: 4000
    Code associated with a specific customer ship-to location.
  • Read Only: true
    Value that identifies the delivery cost per unit.
  • Read Only: true
    Value that identifies the delivery lead time from the promising application.
  • Read Only: true
    Maximum Length: 34
    Classification of demand used to track and consume different types of demand. Review and update the value for this attribute using the Manage Demand Classes task.
  • Title: Demand Class
    Read Only: true
    Maximum Length: 4000
    Code that identifies the demand class associated with the order. A list of accepted values is defined in the MSC_SR_LOOKUP_VALUES_TL table where LOOKUP_TYPE is DEMAND_CLASS.
  • Title: Order Priority
    Read Only: true
    Priority of the demand.
  • Title: Destination Time Zone
    Read Only: true
    Maximum Length: 100
    Time zone associated with the entity that's receiving the order. The destination entity can be a customer or an organization.
  • Read Only: true
    Date when the customer can accept the order to arrive at the earliest.
  • Read Only: true
    Date when the customer can accept the order to be shipped at the earliest.
  • Monetary value associated with the end demand.
  • Read Only: true
    Maximum Length: 50
    Contains one of the following values: Yes or No. If Yes, then the transfer is to an expense destination. If No, then the transfer isn't to an expense destination.
  • Title: Firm Date
    Date when the demand is due. This attribute is a fixed value that can't be rescheduled by planning and is only populated when the firm status is firm.
  • Title: Firm Status
    Value that indicates whether the demand is firmed or not. Valid values are 1 or 2. If 1, then the demand is firm. If 2, then the demand isn't firm. A list of accepted values is defined in the lookup type ORA_MSC_ORDER_FIRM_STATUS.
  • Title: Firm Quantity
    Fixed quantity of demand. This attribute value can't be changed by planning and is only populated when the firm status is firm.
  • Read Only: true
    Maximum Length: 4000
    Status that indicates whether the order is firm or not. Valid values include Firm and Not firm. A list of accepted values is defined in the lookup type ORA_MSC_ORDER_FIRM_STATUS.
  • Read Only: true
    Estimated cost to deliver a fulfillment line to a customer. The amount includes item cost and shipping cost.
  • Title: Fulfillment Line
    Read Only: true
    Fulfillment line number associated with a sales order.
  • Read Only: true
    Maximum Length: 300
    Value that uniquely identifies the cross reference of the recommended split fulfillment line created by Oracle Global Order Promising Cloud.
  • Read Only: true
    Value that indicates whether the sales order line is communicated to Oracle Global Order Promising Cloud for pick-to-order items. Valid values are 1 or 2. If 1, then pick-to-order items are communicated to Global Order Promising. If 2, then pick-to-order items aren't communicated to Global Order Promising.
  • Maximum Length: 300
    Name of the item associated with the demand.
  • Read Only: true
    Maximum Length: 240
    Description of the item associated with the demand.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the subclassification of the item on the order. A list of accepted values is defined in the lookup type ORA_MSC_OP_CTO_ITEM_SUB_TYPE.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the type of the item on the order. Valid values are 1, 2 or 3. If 1, then Model Item. If 2, then Option Class. If 3, then Standard Item.
  • Read Only: true
    Date when the demand was most recently updated.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the demand.
  • Read Only: true
    Date when the customer can accept the order to arrive at the latest.
  • Title: Latest Acceptable Date
    Read Only: true
    Date beyond which the demand line must not be promised.
  • Read Only: true
    Date when the customer can accept the order to be shipped at the latest.
  • Title: Line Number
    Read Only: true
    Maximum Length: 100
    Line number associated with the demand.
  • Links
  • Read Only: true
    If splits are allowed, this attribute specifies the minimum percentage required for splitting a fulfillment line.
  • Read Only: true
    If splits are allowed, this attribute specifies the minimum quantity required for splitting a fulfillment line.
  • Read Only: true
    Minimum duration of shelf life remaining when perishable products such as pharmaceuticals or groceries arrive at the customer site, so that there will be enough time for the end consumer to buy and use the products.
  • Title: Old Due Date
    Read Only: true
    Date when the demand quantity was originally due. This attribute value is extracted from the source application.
  • Title: Order Date Type
    Read Only: true
    Maximum Length: 4000
    Value that indicates the date specified by the customer. This attribute applies only to sales orders. Valid values include Ship date or Arrival date. A list of accepted values is defined in the lookup type ORA_MSC_ORDER_DATE_TYPE_CODE.
  • Read Only: true
    Value that indicates the date specified by the customer. This attribute applies only to sales orders. Valid values include: 1 where customer has specified a requested ship date or 2 where customer has specified a requested arrival date. A list of accepted values is defined in the lookup type ORA_MSC_ORDER_DATE_TYPE_CODE.
  • Read Only: true
    Value that indicates the difference between the revenue from the fulfillment line and the cost of promising the fulfillment line based on the current promising result.
  • Title: Order Number
    Read Only: true
    Maximum Length: 4000
    Order number associated with the sales order.
  • Title: Order Quantity
    Read Only: true
    Quantity associated with the demand.
  • Abbreviation that identifies the type of order. A list of accepted values is defined in the lookup type MSC_ORDER_TYPE.
  • Title: Order Type
    Maximum Length: 4000
    Value that indicates the type of order such as sales order or forecast. A list of accepted values is defined in the lookup type MSC_ORDER_TYPE.
  • Maximum Length: 49
    Name of the organization associated with the order.
  • Title: Organization Time Zone
    Read Only: true
    Maximum Length: 100
    Time zone of the organization associated with the demand.
  • Read Only: true
    Maximum Length: 100
    Abbreviation that identifies the base currency of the organization.
  • Title: Original Item
    Read Only: true
    Maximum Length: 4000
    Name of the item for which the order was originally scheduled.
  • Title: Original Order Quantity
    Read Only: true
    Quantity associated with the order. This value is extracted from the source application.
  • Read Only: true
    Maximum Length: 400
    For an order with assemble-to-order elements, this attribute indicates the immediate parent of an assemble-to-order component.
  • Title: Parent Model
    Read Only: true
    Maximum Length: 4000
    Model at a higher level in a hierarchy that's used to drive the forecast of a child model, option class, or option.
  • Title: Planned Arrival Date
    Read Only: true
    Date when the item will arrive. The attribute value is calculated using the suggested ship date, carrier calendar, in-transit lead time, and the receiving calendar.
  • Read Only: true
    Maximum Length: 10
    Abbreviation that identifies the planner responsible for the item.
  • Read Only: true
    Maximum Length: 4000
    Description of the planner responsible for the item.
  • Planning Attributes
    Title: Planning Attributes
    The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply.
  • Maximum Length: 4000
    Value that identifies the project group.
  • Maximum Length: 4000
    Value that identifies the project.
  • Title: Promised Arrival Date
    Read Only: true
    Date when a customer has been promised the delivery of the order.
  • Title: Promised Ship Date
    Read Only: true
    Date when a customer has been promised the shipping of the order.
  • Read Only: true
    Maximum Length: 50
    Name of the promising application that promises supply for the demand.
  • Title: Requested Arrival Date
    Read Only: true
    Date when the material must arrive at the customer site.
  • Title: Requested Ship Date
    Read Only: true
    Date when the material must be shipped out to the customer.
  • Read Only: true
    Maximum Length: 400
    For an order having assemble-to-order elements, this attribute indicates the top-most model.
  • Read Only: true
    Maximum Length: 50
    Contact details of the sales representative.
  • Title: Scheduled Arrival Date
    Read Only: true
    Date when the demand has been scheduled to arrive at a customer site.
  • Title: Scheduled Ship Date
    Read Only: true
    Date when the demand has been scheduled to be shipped.
  • Title: Schedule Name
    Read Only: true
    Maximum Length: 4000
    Name of the supply or demand schedule associated with an order.
  • Read Only: true
    Selling price of an item on the order line.
  • Title: Shipment Set Name
    Read Only: true
    Maximum Length: 50
    On the sales order, the ship set name designates lines that should ship together.
  • Read Only: true
    Maximum Length: 30
    Value that indicates the shipping method associated with the order. Review and update the value for this attribute using the Maintain Supply Network Model task, and the Interlocation Shipping Networks tab.
  • Title: Shipping Method
    Read Only: true
    Maximum Length: 4000
    Value that indicates the shipping method used to ship the order, or is a concatenation of carrier name, method of transportation, and service level associated with the order. Review and update the value for this attribute using the Maintain Supply Network Model task, and the Interlocation Shipping Networks tab.
  • Read Only: true
    Maximum Length: 1200
    Value that indicates the shipping preference for the order.
  • Title: Ship To
    Read Only: true
    Maximum Length: 4000
    Abbreviation that identifies the specific ship-to location.
  • Title: Source Order
    Read Only: true
    Maximum Length: 50
    Value that identifies the order number in the source application against which fulfillment line has been created.
  • Title: Source Order Line
    Read Only: true
    Maximum Length: 50
    Value that identifies the order line number in the source application against which fulfillment line has been created.
  • Title: Source Organization
    Read Only: true
    Maximum Length: 4000
    Name of the organization that will source the order.
  • Title: Source Time Zone
    Read Only: true
    Maximum Length: 100
    Time zone associated with the entity that's sourcing the order. The sourcing entity can be a supplier or an organization.
  • Title: Suggested Dock Date
    Read Only: true
    Date when the demand is recommended to be completed.
  • Title: Suggested Ship Date
    Read Only: true
    Date when the order is recommended to be shipped.
  • Title: Supplier
    Read Only: true
    Maximum Length: 4000
    Name of the source supplier.
  • Title: Supplier Site
    Read Only: true
    Maximum Length: 4000
    Abbreviation that indicates the specific supplier ship-from location.
  • Read Only: true
    For drop ship sales orders, the source application for which the supplier site is defined.
  • Maximum Length: 4000
    Value that identifies task.
  • Value that uniquely identifies the demand. This value is internally generated by the application.
  • Read Only: true
    Maximum Length: 4000
    Name of the unit of measure that's associated with the order quantity.
  • Read Only: true
    Maximum Length: 3
    Abbreviation that identifies the unit of measure associated with the order quantity.
  • Title: Using Assembly
    Read Only: true
    Maximum Length: 4000
    For component demands, this field refers to the assembly item that uses this item as a component.
  • Title: Zone
    Read Only: true
    Maximum Length: 4000
    Region or zone where the demand quantity is being shipped.
Nested Schema : Planning Attributes
Type: array
Title: Planning Attributes
The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply.
Show Source
Nested Schema : simulationSets-PlanningDemands-PlanningAttributes-item-response
Type: object
Show Source
Back to Top

Examples

This examples describes how to create demands.

Example 1 cURL Command

Use the following cURL command to submit a request on the REST resource to create new manual demand in the simulation set or copy either a sales order or manual demand from plan input to the simulation set.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands"

Example 1 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.

{
	"TransactionId": 1036792,
	"FirmQuantity": 90.0,
	"FirmDate": "2030-03-01"
}

Example 1 Response Body

The following example includes the contents of the response body in JSON format:

{
	"CreatedBy": "APS_ALL",
	"CreationDate": "2021-03-10T02:46:14.001+00:00",
	"FirmDate": "2030-03-01",
	"FirmQuantity": 90,
	"LastUpdateDate": "2021-03-10T02:46:18.584+00:00",
	"LastUpdatedBy": "APS_ALL",
	"TransactionId": 1036792,
	"ArrivalSetName": null,
	"BucketType": null,
	"Buyer": "Smith, Jonathan",
	"CustomerSite": "300100004591335",
	"DemandClass": null,
	"DemandPriority": null,
	"ItemDescription": "Sentinel Standard Desktop TPDS",
	"ScheduleName": null,
	"Item": "AS54888",
	"Organization": "M1",
	"OrderTypeText": "Sales order",
	"FirmPlannedType": 1,
	"FirmStatus": "Firm",
	"SuggestedDueDate": "2017-07-28",
	"OrderNumber": "483122",
	"Planner": "J. Smith",
	"Customer": "PennyPack Systems",
	"SuggestedShipDate": null,
	"LatestAcceptableDate": null,
	"OldDueDate": null,
	"OrderDateTypeCode": 1,
	"OrderDateType": "Ship date",
	"OrderType": 1030,
	"OriginalItem": null,
	"OriginalOrderQuantity": 12,
	"PlannedArrivalDate": null,
	"PromisedArrivalDate": null,
	"PromisedShipDate": null,
	"OrderQuantity": -12,
	"RequestedArrivalDate": null,
	"RequestedShipDate": "2017-07-30",
	"ScheduledArrivalDate": "2017-08-01",
	"ScheduledShipDate": "2017-07-28",
	"SellingPrice": 100,
	"ShipMethod": null,
	"ShippingMethod": "DHL:Air:2nd day air",
	"ShipmentSetName": "HT01",
	"ShipTo": "300100004591335",
	"SourceOrganization": null,
	"Supplier": null,
	"SupplierSite": null,
	"UOMCode": "Ea",
	"UOM": "Each",
	"UsingAssembly": null,
	"Zone": null,
	"SourceOrderLine": "1",
	"SourceOrder": "ORDER_TEST_0824_002",
	"LineNumber": "1",
	"FulfillmentLine": 1,
	"DemandClassCode": null,
	"OrgCurrencyCode": "USD",
	"CustomerPONumber": null,
	"ExpenseDestinationTransfer": "No",
	"ParentModel": null,
	"OrganizationTimeZone": "Coordinated Universal Time",
	"PlannerDescription": "Vice President, Materials",
	"SourceTimeZone": "Coordinated Universal Time",
	"DestinationTimeZone": null,
	"ProjectValue": null,
	"TaskValue": null,
	"ProjectGroupValue": null,
	"ComponentQuantityIssued": null,
	"ConfigurationItem": null,
	"AssetNumber": null,
	"AllowSplits": 2,
	"AllowSubstitution": 2,
	"CompletedQuantity": null,
	"CustomerPOLineNumber": null,
	"CustomerPOScheduleNumber": null,
	"DeliveryCost": null,
	"DeliveryLeadTime": null,
	"EarliestAcceptableArrivalDate": null,
	"EarliestAcceptableShipDate": null,
	"FulfillmentCost": 1372.78851,
	"GOPReferenceId": null,
	"IncludedItemsIndicator": 1,
	"ItemSubTypeCode": "STANDARD",
	"ItemTypeCode": "STANDARD",
	"LatestAcceptableArrivalDate": null,
	"LatestAcceptableShipDate": null,
	"MinimumPercentageForSplit": null,
	"MinimumQuantityForSplit": null,
	"MinimumRemainingShelfLife": null,
	"OrderMargin": -172.78851,
	"ParentFulfillmentLine": null,
	"PromisingSystem": "GOP",
	"RootFulfillmentLine": null,
	"SalesRepresentativeContact": null,
	"ShippingPreference": null,
	"SupplierSiteSourceSystem": 100010026240309,
	"EndDemandValue": 1200.0,
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1036792",
		"name": "PlanningDemands",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1036792",
		"name": "PlanningDemands",
		"kind": "item"
	},
	{
		"rel": "parent",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280",
		"name": "simulationSets",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1036792/child/PlanningAttributes",
		"name": "PlanningAttributes",
		"kind": "collection"
	}
	]
}

Example 2 cURL Command

Use the following cURL command to submit a request on the REST resource to create new manual demand.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands"

Example 2 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.

{
	"Item": "75100010",
	"Organization": "M1",
	"OrderType": 1008,
	"FirmQuantity": 250.0,
	"FirmDate": "2030-02-02"
}

Example 2 Response Body

The following example includes the contents of the response body in JSON format:

{
	"CreatedBy": "APS_ALL",
	"CreationDate": "2021-03-10T02:07:52.003+00:00",
	"FirmDate": "2030-02-02",
	"FirmQuantity": 250,
	"LastUpdateDate": "2021-03-10T02:08:03.231+00:00",
	"LastUpdatedBy": "APS_ALL",
	"TransactionId": 3886634,
	"ArrivalSetName": null,
	"BucketType": null,
	"Buyer": null,
	"CustomerSite": null,
	"DemandClass": null,
	"DemandPriority": null,
	"ItemDescription": "Retaining Spring",
	"ScheduleName": null,
	"Item": "75100010",
	"Organization": "M1",
	"OrderTypeText": "Manual demand",
	"FirmPlannedType": 1,
	"FirmStatus": "Firm",
	"SuggestedDueDate": "2030-02-02",
	"OrderNumber": "3886634",
	"Planner": null,
	"Customer": null,
	"SuggestedShipDate": null,
	"LatestAcceptableDate": null,
	"OldDueDate": null,
	"OrderDateTypeCode": null,
	"OrderDateType": "Ship date",
	"OrderType": 1008,
	"OriginalItem": null,
	"OriginalOrderQuantity": 250,
	"PlannedArrivalDate": null,
	"PromisedArrivalDate": null,
	"PromisedShipDate": null,
	"OrderQuantity": -250,
	"RequestedArrivalDate": null,
	"RequestedShipDate": null,
	"ScheduledArrivalDate": null,
	"ScheduledShipDate": "2030-02-02",
	"SellingPrice": 1,
	"ShipMethod": null,
	"ShippingMethod": null,
	"ShipmentSetName": null,
	"ShipTo": null,
	"SourceOrganization": null,
	"Supplier": null,
	"SupplierSite": null,
	"UOMCode": "Ea",
	"UOM": "Each",
	"UsingAssembly": "75100010",
	"Zone": null,
	"SourceOrderLine": null,
	"SourceOrder": null,
	"LineNumber": null,
	"FulfillmentLine": null,
	"DemandClassCode": null,
	"OrgCurrencyCode": "USD",
	"CustomerPONumber": null,
	"ExpenseDestinationTransfer": "No",
	"ParentModel": null,
	"OrganizationTimeZone": "Coordinated Universal Time",
	"PlannerDescription": null,
	"SourceTimeZone": null,
	"DestinationTimeZone": null,
	"ProjectValue": null,
	"TaskValue": null,
	"ProjectGroupValue": null,
	"ComponentQuantityIssued": null,
	"ConfigurationItem": null,
	"AssetNumber": null,
	"AllowSplits": null,
	"AllowSubstitution": null,
	"CompletedQuantity": null,
	"CustomerPOLineNumber": null,
	"CustomerPOScheduleNumber": null,
	"DeliveryCost": null,
	"DeliveryLeadTime": null,
	"EarliestAcceptableArrivalDate": null,
	"EarliestAcceptableShipDate": null,
	"FulfillmentCost": null,
	"GOPReferenceId": null,
	"IncludedItemsIndicator": null,
	"ItemSubTypeCode": null,
	"ItemTypeCode": null,
	"LatestAcceptableArrivalDate": null,
	"LatestAcceptableShipDate": null,
	"MinimumPercentageForSplit": null,
	"MinimumQuantityForSplit": null,
	"MinimumRemainingShelfLife": null,
	"OrderMargin": null,
	"ParentFulfillmentLine": null,
	"PromisingSystem": null,
	"RootFulfillmentLine": null,
	"SalesRepresentativeContact": null,
	"ShippingPreference": null,
	"SupplierSiteSourceSystem": null,
	"EndDemandValue": 250.0,
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3886634",
		"name": "PlanningDemands",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3886634",
		"name": "PlanningDemands",
		"kind": "item"
	},
	{
		"rel": "parent",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280",
		"name": "simulationSets",
		"kind": "item"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3886634/child/PlanningAttributes",
		"name": "PlanningAttributes",
		"kind": "collection"
	}
	]
}

Example 3 cURL Command

Use the following cURL command to submit a request on the REST resource to use BATCH POST to create multiple orders.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.batch+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/"

Example 3 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.

{
	"parts": [{
		"id": "1",
		"path": "/simulationSets/300100539462280/child/PlanningDemands",
		"operation": "create",
		"payload": {
			"Item": "75100011",
			"Organization": "M1",
			"OrderType": 1008,
			"FirmQuantity": 250.0,
			"FirmDate": "2025-02-02"
		}
	}, {
		"id": "2",
		"path": "/simulationSets/300100539462280/child/PlanningDemands",
		"operation": "create",
		"payload": {
			"Item": "75100012",
			"Organization": "M1",
			"OrderType": 1008,
			"FirmQuantity": 250.0,
			"FirmDate": "2025-02-02"
		}
	},
	{
		"id": "3",
		"path": "/simulationSets/300100539462280/child/PlanningDemands",
		"operation": "create",
		"payload": {
			"TransactionId": 1036792,
			"FirmQuantity": 90.0,
			"FirmDate": "2030-03-01"

		}
	}
	]
}

Example 3 Response Body

The following example includes the contents of the response body in JSON format:

{
	"parts": [
	{
		"id": "1",
		"path": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands",
		"operation": "create",
		"payload": {
			"CreatedBy": "APS_ALL",
			"CreationDate": "2021-03-10T02:41:18.001+00:00",
			"FirmDate": "2025-02-02",
			"FirmQuantity": 250,
			"LastUpdateDate": "2021-03-10T02:41:20.154+00:00",
			"LastUpdatedBy": "APS_ALL",
			"TransactionId": 3898157,
			"ArrivalSetName": null,
			"BucketType": null,
			"Buyer": null,
			"CustomerSite": null,
			"DemandClass": null,
			"DemandPriority": null,
			"ItemDescription": "Shaft Assembly",
			"ScheduleName": null,
			"Item": "75100011",
			"Organization": "M1",
			"OrderTypeText": "Manual demand",
			"FirmPlannedType": 1,
			"FirmStatus": "Firm",
			"SuggestedDueDate": "2025-02-02",
			"OrderNumber": "3898157",
			"Planner": null,
			"Customer": null,
			"SuggestedShipDate": null,
			"LatestAcceptableDate": null,
			"OldDueDate": null,
			"OrderDateTypeCode": null,
			"OrderDateType": "Ship date",
			"OrderType": 1008,
			"OriginalItem": null,
			"OriginalOrderQuantity": 250,
			"PlannedArrivalDate": null,
			"PromisedArrivalDate": null,
			"PromisedShipDate": null,
			"OrderQuantity": -250,
			"RequestedArrivalDate": null,
			"RequestedShipDate": null,
			"ScheduledArrivalDate": null,
			"ScheduledShipDate": "2025-02-02",
			"SellingPrice": 10,
			"ShipMethod": null,
			"ShippingMethod": null,
			"ShipmentSetName": null,
			"ShipTo": null,
			"SourceOrganization": null,
			"Supplier": null,
			"SupplierSite": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"UsingAssembly": "75100011",
			"Zone": null,
			"SourceOrderLine": null,
			"SourceOrder": null,
			"LineNumber": null,
			"FulfillmentLine": null,
			"DemandClassCode": null,
			"OrgCurrencyCode": "USD",
			"CustomerPONumber": null,
			"ExpenseDestinationTransfer": "No",
			"ParentModel": null,
			"OrganizationTimeZone": "Coordinated Universal Time",
			"PlannerDescription": null,
			"SourceTimeZone": null,
			"DestinationTimeZone": null,
			"ProjectValue": null,
			"TaskValue": null,
			"ProjectGroupValue": null,
			"ComponentQuantityIssued": null,
			"ConfigurationItem": null,
			"AssetNumber": null,
			"AllowSplits": null,
			"AllowSubstitution": null,
			"CompletedQuantity": null,
			"CustomerPOLineNumber": null,
			"CustomerPOScheduleNumber": null,
			"DeliveryCost": null,
			"DeliveryLeadTime": null,
			"EarliestAcceptableArrivalDate": null,
			"EarliestAcceptableShipDate": null,
			"FulfillmentCost": null,
			"GOPReferenceId": null,
			"IncludedItemsIndicator": null,
			"ItemSubTypeCode": null,
			"ItemTypeCode": null,
			"LatestAcceptableArrivalDate": null,
			"LatestAcceptableShipDate": null,
			"MinimumPercentageForSplit": null,
			"MinimumQuantityForSplit": null,
			"MinimumRemainingShelfLife": null,
			"OrderMargin": null,
			"ParentFulfillmentLine": null,
			"PromisingSystem": null,
			"RootFulfillmentLine": null,
			"SalesRepresentativeContact": null,
			"ShippingPreference": null,
			"SupplierSiteSourceSystem": null,
			"EndDemandValue": 2500.0,
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3898157",
				"name": "PlanningDemands",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3898157",
				"name": "PlanningDemands",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280",
				"name": "simulationSets",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3898157/child/PlanningAttributes",
				"name": "PlanningAttributes",
				"kind": "collection"
			}
			]
		}
	},
	{
		"id": "2",
		"path": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands",
		"operation": "create",
		"payload": {
			"CreatedBy": "APS_ALL",
			"CreationDate": "2021-03-10T02:41:20.024+00:00",
			"FirmDate": "2025-02-02",
			"FirmQuantity": 250,
			"LastUpdateDate": "2021-03-10T02:41:20.154+00:00",
			"LastUpdatedBy": "APS_ALL",
			"TransactionId": 3898158,
			"ArrivalSetName": null,
			"BucketType": null,
			"Buyer": null,
			"CustomerSite": null,
			"DemandClass": null,
			"DemandPriority": null,
			"ItemDescription": "Seal",
			"ScheduleName": null,
			"Item": "75100012",
			"Organization": "M1",
			"OrderTypeText": "Manual demand",
			"FirmPlannedType": 1,
			"FirmStatus": "Firm",
			"SuggestedDueDate": "2025-02-02",
			"OrderNumber": "3898158",
			"Planner": null,
			"Customer": null,
			"SuggestedShipDate": null,
			"LatestAcceptableDate": null,
			"OldDueDate": null,
			"OrderDateTypeCode": null,
			"OrderDateType": "Ship date",
			"OrderType": 1008,
			"OriginalItem": null,
			"OriginalOrderQuantity": 250,
			"PlannedArrivalDate": null,
			"PromisedArrivalDate": null,
			"PromisedShipDate": null,
			"OrderQuantity": -250,
			"RequestedArrivalDate": null,
			"RequestedShipDate": null,
			"ScheduledArrivalDate": null,
			"ScheduledShipDate": "2025-02-02",
			"SellingPrice": 1,
			"ShipMethod": null,
			"ShippingMethod": null,
			"ShipmentSetName": null,
			"ShipTo": null,
			"SourceOrganization": null,
			"Supplier": null,
			"SupplierSite": null,
			"UOMCode": "Ea",
			"UOM": "Each",
			"UsingAssembly": "75100012",
			"Zone": null,
			"SourceOrderLine": null,
			"SourceOrder": null,
			"LineNumber": null,
			"FulfillmentLine": null,
			"DemandClassCode": null,
			"OrgCurrencyCode": "USD",
			"CustomerPONumber": null,
			"ExpenseDestinationTransfer": "No",
			"ParentModel": null,
			"OrganizationTimeZone": "Coordinated Universal Time",
			"PlannerDescription": null,
			"SourceTimeZone": null,
			"DestinationTimeZone": null,
			"ProjectValue": null,
			"TaskValue": null,
			"ProjectGroupValue": null,
			"ComponentQuantityIssued": null,
			"ConfigurationItem": null,
			"AssetNumber": null,
			"AllowSplits": null,
			"AllowSubstitution": null,
			"CompletedQuantity": null,
			"CustomerPOLineNumber": null,
			"CustomerPOScheduleNumber": null,
			"DeliveryCost": null,
			"DeliveryLeadTime": null,
			"EarliestAcceptableArrivalDate": null,
			"EarliestAcceptableShipDate": null,
			"FulfillmentCost": null,
			"GOPReferenceId": null,
			"IncludedItemsIndicator": null,
			"ItemSubTypeCode": null,
			"ItemTypeCode": null,
			"LatestAcceptableArrivalDate": null,
			"LatestAcceptableShipDate": null,
			"MinimumPercentageForSplit": null,
			"MinimumQuantityForSplit": null,
			"MinimumRemainingShelfLife": null,
			"OrderMargin": null,
			"ParentFulfillmentLine": null,
			"PromisingSystem": null,
			"RootFulfillmentLine": null,
			"SalesRepresentativeContact": null,
			"ShippingPreference": null,
			"SupplierSiteSourceSystem": null,
			"EndDemandValue": 250.0,
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3898158",
				"name": "PlanningDemands",
				"kind": "item",
				"properties": {
					"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
				}
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3898158",
				"name": "PlanningDemands",
				"kind": "item"
			},
			{
				"rel": "parent",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280",
				"name": "simulationSets",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/3898158/child/PlanningAttributes",
				"name": "PlanningAttributes",
				"kind": "collection"
			}
			]
		}
	}
	]
}
Back to Top