Update one demand
/fscmRestApi/resources/11.13.18.05/simulationSets/{SimulationSetId}/child/PlanningDemands/{TransactionId}
Request
-
SimulationSetId(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=
-
TransactionId(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=
-
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.
- application/json
object
-
EndDemandValue: number
Monetary value associated with the end demand.
-
FirmDate: string
(date)
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. -
FirmPlannedType: integer
(int32)
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. -
FirmQuantity: number
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. -
PlanningAttributes: array
Planning Attributes
Title:
Planning Attributes
The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply. -
ProjectGroupValue: string
Maximum Length:
4000
Value that identifies the project group. -
ProjectValue: string
Maximum Length:
4000
Value that identifies the project. -
TaskValue: string
Maximum Length:
4000
Value that identifies task.
array
Planning Attributes
object
-
OrderNumber: string
Title:
Order Number
Maximum Length:4000
Number that identifies the order associated with the demand or supply. -
PlanningAttributeNumber10: string
Maximum Length:
4000
Value for the planning attribute number 10 in attribute-based planning. -
PlanningAttributeNumber11: string
Maximum Length:
4000
Value for the planning attribute number 11 in attribute-based planning. -
PlanningAttributeNumber12: string
Maximum Length:
4000
Value for the planning attribute number 12 in attribute-based planning. -
PlanningAttributeNumber13: string
Maximum Length:
4000
Value for the planning attribute number 13 in attribute-based planning. -
PlanningAttributeNumber14: string
Maximum Length:
4000
Value for the planning attribute number 14 in attribute-based planning. -
PlanningAttributeNumber15: string
Maximum Length:
4000
Value for the planning attribute number 15 in attribute-based planning. -
PlanningAttributeNumber3: string
Maximum Length:
4000
Value for the planning attribute number 3 in attribute-based planning. -
PlanningAttributeNumber4: string
Maximum Length:
4000
Value for the planning attribute number 4 in attribute-based planning. -
PlanningAttributeNumber5: string
Maximum Length:
4000
Value for the planning attribute number 5 in attribute-based planning. -
PlanningAttributeNumber6: string
Maximum Length:
4000
Value for the planning attribute number 6 in attribute-based planning. -
PlanningAttributeNumber7: string
Maximum Length:
4000
Value for the planning attribute number 7 in attribute-based planning. -
PlanningAttributeNumber8: string
Maximum Length:
4000
Value for the planning attribute number 8 in attribute-based planning. -
PlanningAttributeNumber9: string
Maximum Length:
4000
Value for the planning attribute number 9 in attribute-based planning. -
TransactionId: integer
(int64)
Value that uniquely identifies the demand or supply. This value is internally generated by the application.
Response
- application/json
Default Response
-
Metadata-Context(required):
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(required):
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.
object
-
AllowSplits: integer
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. -
AllowSubstitution: integer
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. -
ArrivalSetName: string
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. -
AssetNumber: string
Title:
Asset
Read Only:true
Maximum Length:80
Number that identifies the asset associated with a maintenance work order. -
BucketType: string
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. -
Buyer: string
Title:
Buyer
Read Only:true
Name of the buyer associated with the item. -
CompletedQuantity: number
Read Only:
true
Shipped quantity of the sales order. -
ComponentQuantityIssued: number
Read Only:
true
Quantity of a component issued to a work order. -
ConfigurationItem: string
Title:
Configuration Item
Read Only:true
Maximum Length:300
Name of the configuration item. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the order. -
CreationDate: string
(date-time)
Read Only:
true
Date when the user created the order. -
Customer: string
Title:
Customer
Read Only:true
Maximum Length:4000
Name of the customer associated with the sales order or forecast. -
CustomerPOLineNumber: string
Read Only:
true
Maximum Length:50
Number that identifies the customer purchase order line corresponding to the sales order. -
CustomerPONumber: string
Read Only:
true
Maximum Length:50
Customer purchase order number corresponding to the sales order. -
CustomerPOScheduleNumber: string
Read Only:
true
Maximum Length:50
Number that identifies the schedule level customer purchase order line location that corresponds to the sales order. -
CustomerSite: string
Title:
Customer Site
Read Only:true
Maximum Length:4000
Code associated with a specific customer ship-to location. -
DeliveryCost: number
Read Only:
true
Value that identifies the delivery cost per unit. -
DeliveryLeadTime: number
Read Only:
true
Value that identifies the delivery lead time from the promising application. -
DemandClass: string
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. -
DemandClassCode: string
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. -
DemandPriority: integer
Title:
Order Priority
Read Only:true
Priority of the demand. -
DestinationTimeZone: string
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. -
EarliestAcceptableArrivalDate: string
(date)
Read Only:
true
Date when the customer can accept the order to arrive at the earliest. -
EarliestAcceptableShipDate: string
(date)
Read Only:
true
Date when the customer can accept the order to be shipped at the earliest. -
EndDemandValue: number
Monetary value associated with the end demand.
-
ExpenseDestinationTransfer: string
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. -
FirmDate: string
(date)
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. -
FirmPlannedType: integer
(int32)
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. -
FirmQuantity: number
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. -
FirmStatus: string
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. -
FulfillmentCost: number
Read Only:
true
Estimated cost to deliver a fulfillment line to a customer. The amount includes item cost and shipping cost. -
FulfillmentLine: integer
Title:
Fulfillment Line
Read Only:true
Fulfillment line number associated with a sales order. -
GOPReferenceId: string
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. -
IncludedItemsIndicator: integer
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. -
Item: string
Maximum Length:
300
Name of the item associated with the demand. -
ItemDescription: string
Read Only:
true
Maximum Length:240
Description of the item associated with the demand. -
ItemSubTypeCode: string
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. -
ItemTypeCode: string
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. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the demand was most recently updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the demand. -
LatestAcceptableArrivalDate: string
(date)
Read Only:
true
Date when the customer can accept the order to arrive at the latest. -
LatestAcceptableDate: string
(date)
Title:
Latest Acceptable Date
Read Only:true
Date beyond which the demand line must not be promised. -
LatestAcceptableShipDate: string
(date)
Read Only:
true
Date when the customer can accept the order to be shipped at the latest. -
LineNumber: string
Title:
Line Number
Read Only:true
Maximum Length:100
Line number associated with the demand. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MinimumPercentageForSplit: number
Read Only:
true
If splits are allowed, this attribute specifies the minimum percentage required for splitting a fulfillment line. -
MinimumQuantityForSplit: number
Read Only:
true
If splits are allowed, this attribute specifies the minimum quantity required for splitting a fulfillment line. -
MinimumRemainingShelfLife: number
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. -
OldDueDate: string
(date)
Title:
Old Due Date
Read Only:true
Date when the demand quantity was originally due. This attribute value is extracted from the source application. -
OrderDateType: string
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. -
OrderDateTypeCode: integer
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. -
OrderMargin: number
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. -
OrderNumber: string
Title:
Order Number
Read Only:true
Maximum Length:4000
Order number associated with the sales order. -
OrderQuantity: number
Title:
Order Quantity
Read Only:true
Quantity associated with the demand. -
OrderType: integer
Abbreviation that identifies the type of order. A list of accepted values is defined in the lookup type MSC_ORDER_TYPE.
-
OrderTypeText: string
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. -
Organization: string
Maximum Length:
49
Name of the organization associated with the order. -
OrganizationTimeZone: string
Title:
Organization Time Zone
Read Only:true
Maximum Length:100
Time zone of the organization associated with the demand. -
OrgCurrencyCode: string
Read Only:
true
Maximum Length:100
Abbreviation that identifies the base currency of the organization. -
OriginalItem: string
Title:
Original Item
Read Only:true
Maximum Length:4000
Name of the item for which the order was originally scheduled. -
OriginalOrderQuantity: number
Title:
Original Order Quantity
Read Only:true
Quantity associated with the order. This value is extracted from the source application. -
ParentFulfillmentLine: string
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. -
ParentModel: string
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. -
PlannedArrivalDate: string
(date)
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. -
Planner: string
Read Only:
true
Maximum Length:10
Abbreviation that identifies the planner responsible for the item. -
PlannerDescription: string
Read Only:
true
Maximum Length:4000
Description of the planner responsible for the item. -
PlanningAttributes: array
Planning Attributes
Title:
Planning Attributes
The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply. -
ProjectGroupValue: string
Maximum Length:
4000
Value that identifies the project group. -
ProjectValue: string
Maximum Length:
4000
Value that identifies the project. -
PromisedArrivalDate: string
(date)
Title:
Promised Arrival Date
Read Only:true
Date when a customer has been promised the delivery of the order. -
PromisedShipDate: string
(date)
Title:
Promised Ship Date
Read Only:true
Date when a customer has been promised the shipping of the order. -
PromisingSystem: string
Read Only:
true
Maximum Length:50
Name of the promising application that promises supply for the demand. -
RequestedArrivalDate: string
(date)
Title:
Requested Arrival Date
Read Only:true
Date when the material must arrive at the customer site. -
RequestedShipDate: string
(date)
Title:
Requested Ship Date
Read Only:true
Date when the material must be shipped out to the customer. -
RootFulfillmentLine: string
Read Only:
true
Maximum Length:400
For an order having assemble-to-order elements, this attribute indicates the top-most model. -
SalesRepresentativeContact: string
Read Only:
true
Maximum Length:50
Contact details of the sales representative. -
ScheduledArrivalDate: string
(date)
Title:
Scheduled Arrival Date
Read Only:true
Date when the demand has been scheduled to arrive at a customer site. -
ScheduledShipDate: string
(date)
Title:
Scheduled Ship Date
Read Only:true
Date when the demand has been scheduled to be shipped. -
ScheduleName: string
Title:
Schedule Name
Read Only:true
Maximum Length:4000
Name of the supply or demand schedule associated with an order. -
SellingPrice: number
Read Only:
true
Selling price of an item on the order line. -
ShipmentSetName: string
Title:
Shipment Set Name
Read Only:true
Maximum Length:50
On the sales order, the ship set name designates lines that should ship together. -
ShipMethod: string
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. -
ShippingMethod: string
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. -
ShippingPreference: string
Read Only:
true
Maximum Length:1200
Value that indicates the shipping preference for the order. -
ShipTo: string
Title:
Ship To
Read Only:true
Maximum Length:4000
Abbreviation that identifies the specific ship-to location. -
SourceOrder: string
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. -
SourceOrderLine: string
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. -
SourceOrganization: string
Title:
Source Organization
Read Only:true
Maximum Length:4000
Name of the organization that will source the order. -
SourceTimeZone: string
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. -
SuggestedDueDate: string
(date)
Title:
Suggested Dock Date
Read Only:true
Date when the demand is recommended to be completed. -
SuggestedShipDate: string
(date)
Title:
Suggested Ship Date
Read Only:true
Date when the order is recommended to be shipped. -
Supplier: string
Title:
Supplier
Read Only:true
Maximum Length:4000
Name of the source supplier. -
SupplierSite: string
Title:
Supplier Site
Read Only:true
Maximum Length:4000
Abbreviation that indicates the specific supplier ship-from location. -
SupplierSiteSourceSystem: integer
Read Only:
true
For drop ship sales orders, the source application for which the supplier site is defined. -
TaskValue: string
Maximum Length:
4000
Value that identifies task. -
TransactionId: integer
(int64)
Value that uniquely identifies the demand. This value is internally generated by the application.
-
UOM: string
Read Only:
true
Maximum Length:4000
Name of the unit of measure that's associated with the order quantity. -
UOMCode: string
Read Only:
true
Maximum Length:3
Abbreviation that identifies the unit of measure associated with the order quantity. -
UsingAssembly: string
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. -
Zone: string
Title:
Zone
Read Only:true
Maximum Length:4000
Region or zone where the demand quantity is being shipped.
array
Links
array
Planning Attributes
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.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrderNumber: string
Title:
Order Number
Maximum Length:4000
Number that identifies the order associated with the demand or supply. -
PlanningAttributeNumber10: string
Maximum Length:
4000
Value for the planning attribute number 10 in attribute-based planning. -
PlanningAttributeNumber11: string
Maximum Length:
4000
Value for the planning attribute number 11 in attribute-based planning. -
PlanningAttributeNumber12: string
Maximum Length:
4000
Value for the planning attribute number 12 in attribute-based planning. -
PlanningAttributeNumber13: string
Maximum Length:
4000
Value for the planning attribute number 13 in attribute-based planning. -
PlanningAttributeNumber14: string
Maximum Length:
4000
Value for the planning attribute number 14 in attribute-based planning. -
PlanningAttributeNumber15: string
Maximum Length:
4000
Value for the planning attribute number 15 in attribute-based planning. -
PlanningAttributeNumber3: string
Maximum Length:
4000
Value for the planning attribute number 3 in attribute-based planning. -
PlanningAttributeNumber4: string
Maximum Length:
4000
Value for the planning attribute number 4 in attribute-based planning. -
PlanningAttributeNumber5: string
Maximum Length:
4000
Value for the planning attribute number 5 in attribute-based planning. -
PlanningAttributeNumber6: string
Maximum Length:
4000
Value for the planning attribute number 6 in attribute-based planning. -
PlanningAttributeNumber7: string
Maximum Length:
4000
Value for the planning attribute number 7 in attribute-based planning. -
PlanningAttributeNumber8: string
Maximum Length:
4000
Value for the planning attribute number 8 in attribute-based planning. -
PlanningAttributeNumber9: string
Maximum Length:
4000
Value for the planning attribute number 9 in attribute-based planning. -
TransactionId: integer
(int64)
Value that uniquely identifies the demand or supply. This value is internally generated by the application.
array
Links
- PlanningAttributes
-
Parameters:
- SimulationSetId:
$request.path.SimulationSetId
- TransactionId:
$request.path.TransactionId
The Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply. - SimulationSetId:
Examples
This example describes how to update one demand.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/simulationSets/SimulationSetId/child/PlanningDemands/TransactionId"
For example, use this command to update any editable attributes for a demand in the simulation set:
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/11.13.18.05/simulationSets/300100074604035/child/PlanningDemands/8957917"
Example 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 updates.
{ "FirmQuantity": 25.0, "FirmDate": "2030-03-01" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "CreatedBy": "SCP_PC_USER", "CreationDate": "2021-03-04T09:04:03.446+00:00", "FirmDate": "2030-03-01", "FirmQuantity": 25, "LastUpdateDate": "2021-03-04T21:16:04+00:00", "LastUpdatedBy": "APS_ALL", "TransactionId": 2493901, "ArrivalSetName": null, "BucketType": null, "Buyer": null, "CustomerSite": "CINtomer Location 1", "DemandClass": null, "DemandPriority": null, "ItemDescription": "Tail Gear Box Assy", "ScheduleName": null, "Item": "AI-T-001", "Organization": "EX8:M1", "OrderTypeText": "Sales order", "FirmPlannedType": 1, "FirmStatus": "Firm", "SuggestedDueDate": "2030-01-31", "OrderNumber": "SO_T-0033", "Planner": "Jones", "Customer": "Computer Service and Rentals EX8", "SuggestedShipDate": null, "LatestAcceptableDate": null, "OldDueDate": null, "OrderDateTypeCode": 1, "OrderDateType": "Ship date", "OrderType": 1030, "OriginalItem": "AI-T-001", "OriginalOrderQuantity": 25, "PlannedArrivalDate": null, "PromisedArrivalDate": "2030-01-31", "PromisedShipDate": "2030-01-31", "OrderQuantity": -25, "RequestedArrivalDate": null, "RequestedShipDate": "2030-01-31", "ScheduledArrivalDate": "2030-01-31", "ScheduledShipDate": "2030-01-31", "SellingPrice": 10, "ShipMethod": null, "ShippingMethod": null, "ShipmentSetName": null, "ShipTo": "CINtomer Location 1", "SourceOrganization": null, "Supplier": null, "SupplierSite": null, "UOMCode": "Ea8", "UOM": "Each_qtyEX8", "UsingAssembly": null, "Zone": null, "SourceOrderLine": "1", "SourceOrder": "SO_T-0033", "LineNumber": "1", "FulfillmentLine": null, "DemandClassCode": null, "OrgCurrencyCode": "Us8", "CustomerPONumber": null, "ExpenseDestinationTransfer": "No", "ParentModel": null, "OrganizationTimeZone": null, "PlannerDescription": "Jones", "SourceTimeZone": null, "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": "2030-01-31", "EarliestAcceptableShipDate": "2030-01-31", "FulfillmentCost": null, "GOPReferenceId": null, "IncludedItemsIndicator": null, "ItemSubTypeCode": null, "ItemTypeCode": null, "LatestAcceptableArrivalDate": "2030-01-31", "LatestAcceptableShipDate": "2030-01-31", "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/300100548130525/child/PlanningDemands/2493901", "name": "PlanningDemands", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000037372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100548130525/child/PlanningDemands/2493901", "name": "PlanningDemands", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100548130525", "name": "simulationSets", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100548130525/child/PlanningDemands/2493901/child/PlanningAttributes", "name": "PlanningAttributes", "kind": "collection" } ] }
Example cURL Command
Use the following cURL command to submit a request on the REST resource to use BATCH POST to update 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 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 updates.
{ "parts": [{ "id": "1", "path": "/simulationSets/300100539462280/child/PlanningDemands/1823146", "operation": "update", "payload": { "FirmQuantity":105, "FirmDate": "2025-02-01" } }, { "id": "2", "path": "/simulationSets/300100539462280/child/PlanningDemands/1950310", "operation": "update", "payload": { "FirmQuantity":70, "FirmDate": "2025-02-01" } } ] }
Example 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/1823146", "operation": "update", "payload": { "CreatedBy": "SCP_PC_USER", "CreationDate": "2020-09-23T09:05:45.305+00:00", "FirmDate": "2025-02-01", "FirmQuantity": 105, "LastUpdateDate": "2021-03-04T21:28:24+00:00", "LastUpdatedBy": "APS_ALL", "TransactionId": 1823146, "ArrivalSetName": null, "BucketType": null, "Buyer": null, "CustomerSite": "1222", "DemandClass": null, "DemandPriority": null, "ItemDescription": "Sub Assembly for Computer", "ScheduleName": null, "Item": "MK-ENG-CPU", "Organization": "M1", "OrderTypeText": "Sales order", "FirmPlannedType": 1, "FirmStatus": "Firm", "SuggestedDueDate": "2018-12-17", "OrderNumber": "506673", "Planner": "Jones", "Customer": "Computer Service and Rentals", "SuggestedShipDate": null, "LatestAcceptableDate": null, "OldDueDate": null, "OrderDateTypeCode": 1, "OrderDateType": "Ship date", "OrderType": 1030, "OriginalItem": null, "OriginalOrderQuantity": 105, "PlannedArrivalDate": null, "PromisedArrivalDate": null, "PromisedShipDate": null, "OrderQuantity": -105, "RequestedArrivalDate": null, "RequestedShipDate": "2018-12-17", "ScheduledArrivalDate": "2018-12-19", "ScheduledShipDate": "2018-12-17", "SellingPrice": 150, "ShipMethod": null, "ShippingMethod": "DHL:Air:2nd day air", "ShipmentSetName": null, "ShipTo": "1222", "SourceOrganization": null, "Supplier": null, "SupplierSite": null, "UOMCode": "Ea", "UOM": "Each", "UsingAssembly": null, "Zone": null, "SourceOrderLine": "1", "SourceOrder": "506673", "LineNumber": "1", "FulfillmentLine": 1, "DemandClassCode": null, "OrgCurrencyCode": "USD", "CustomerPONumber": null, "ExpenseDestinationTransfer": "No", "ParentModel": null, "OrganizationTimeZone": "Coordinated Universal Time", "PlannerDescription": "Jones", "SourceTimeZone": "Coordinated Universal Time", "DestinationTimeZone": null, "ProjectValue": null, "TaskValue": null, "ProjectGroupValue": null, "ComponentQuantityIssued": null, "ConfigurationItem": null, "AssetNumber": null, "AllowSplits": 1, "AllowSubstitution": 2, "CompletedQuantity": null, "CustomerPOLineNumber": null, "CustomerPOScheduleNumber": null, "DeliveryCost": null, "DeliveryLeadTime": null, "EarliestAcceptableArrivalDate": null, "EarliestAcceptableShipDate": null, "FulfillmentCost": 0, "GOPReferenceId": null, "IncludedItemsIndicator": 1, "ItemSubTypeCode": "STANDARD", "ItemTypeCode": "STANDARD", "LatestAcceptableArrivalDate": null, "LatestAcceptableShipDate": null, "MinimumPercentageForSplit": null, "MinimumQuantityForSplit": null, "MinimumRemainingShelfLife": null, "OrderMargin": 15750, "ParentFulfillmentLine": null, "PromisingSystem": "GOP", "RootFulfillmentLine": null, "SalesRepresentativeContact": null, "ShippingPreference": null, "SupplierSiteSourceSystem": 100010026240309, "EndDemandValue": 15750.0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1823146", "name": "PlanningDemands", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000027372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1823146", "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/1823146/child/PlanningAttributes", "name": "PlanningAttributes", "kind": "collection" } ] } }, { "id": "2", "path": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1950310", "operation": "update", "payload": { "CreatedBy": "SCP_PC_USER", "CreationDate": "2020-09-23T09:05:45.448+00:00", "FirmDate": "2025-02-01", "FirmQuantity": 70, "LastUpdateDate": "2021-03-04T21:28:24.002+00:00", "LastUpdatedBy": "APS_ALL", "TransactionId": 1950310, "ArrivalSetName": null, "BucketType": null, "Buyer": null, "CustomerSite": "1222", "DemandClass": null, "DemandPriority": null, "ItemDescription": "Sub Assembly for Computer", "ScheduleName": null, "Item": "MK-ENG-CPU", "Organization": "M1", "OrderTypeText": "Sales order", "FirmPlannedType": 1, "FirmStatus": "Firm", "SuggestedDueDate": "2029-12-31", "OrderNumber": "506786", "Planner": "Jones", "Customer": "Computer Service and Rentals", "SuggestedShipDate": null, "LatestAcceptableDate": null, "OldDueDate": null, "OrderDateTypeCode": 1, "OrderDateType": "Ship date", "OrderType": 1030, "OriginalItem": null, "OriginalOrderQuantity": 70, "PlannedArrivalDate": null, "PromisedArrivalDate": null, "PromisedShipDate": null, "OrderQuantity": -70, "RequestedArrivalDate": null, "RequestedShipDate": "2029-12-31", "ScheduledArrivalDate": "2030-01-02", "ScheduledShipDate": "2029-12-31", "SellingPrice": 150, "ShipMethod": null, "ShippingMethod": "DHL:Air:2nd day air", "ShipmentSetName": null, "ShipTo": "1222", "SourceOrganization": null, "Supplier": null, "SupplierSite": null, "UOMCode": "Ea", "UOM": "Each", "UsingAssembly": null, "Zone": null, "SourceOrderLine": "1", "SourceOrder": "506786", "LineNumber": "1", "FulfillmentLine": 1, "DemandClassCode": null, "OrgCurrencyCode": "USD", "CustomerPONumber": null, "ExpenseDestinationTransfer": "No", "ParentModel": null, "OrganizationTimeZone": "Coordinated Universal Time", "PlannerDescription": "Jones", "SourceTimeZone": "Coordinated Universal Time", "DestinationTimeZone": null, "ProjectValue": null, "TaskValue": null, "ProjectGroupValue": null, "ComponentQuantityIssued": null, "ConfigurationItem": null, "AssetNumber": null, "AllowSplits": 1, "AllowSubstitution": 2, "CompletedQuantity": null, "CustomerPOLineNumber": null, "CustomerPOScheduleNumber": null, "DeliveryCost": null, "DeliveryLeadTime": null, "EarliestAcceptableArrivalDate": null, "EarliestAcceptableShipDate": null, "FulfillmentCost": 0, "GOPReferenceId": null, "IncludedItemsIndicator": 1, "ItemSubTypeCode": "STANDARD", "ItemTypeCode": "STANDARD", "LatestAcceptableArrivalDate": null, "LatestAcceptableShipDate": null, "MinimumPercentageForSplit": null, "MinimumQuantityForSplit": null, "MinimumRemainingShelfLife": null, "OrderMargin": 10500, "ParentFulfillmentLine": null, "PromisingSystem": "GOP", "RootFulfillmentLine": null, "SalesRepresentativeContact": null, "ShippingPreference": null, "SupplierSiteSourceSystem": 100010026240309, "EndDemandValue": 10500.0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1950310", "name": "PlanningDemands", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000027372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/simulationSets/300100539462280/child/PlanningDemands/1950310", "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/1950310/child/PlanningAttributes", "name": "PlanningAttributes", "kind": "collection" } ] } } ] }