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: 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.
- application/json
object-
EndDemandValue: number
Monetary value associated with the end demand.
-
FirmDate: string
(date)
Title:
Firm DateDate 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 StatusValue 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 QuantityFixed 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 AttributesThe Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply. -
ProjectGroupValue: string
Maximum Length:
4000Value that identifies the project group. -
ProjectValue: string
Maximum Length:
4000Value that identifies the project. -
TaskValue: string
Maximum Length:
4000Value that identifies task.
arrayPlanning Attributesobject-
OrderNumber: string
Title:
Order NumberMaximum Length:4000Number that identifies the order associated with the demand or supply. -
PlanningAttributeNumber10: string
Maximum Length:
4000Value for the planning attribute number 10 in attribute-based planning. -
PlanningAttributeNumber11: string
Maximum Length:
4000Value for the planning attribute number 11 in attribute-based planning. -
PlanningAttributeNumber12: string
Maximum Length:
4000Value for the planning attribute number 12 in attribute-based planning. -
PlanningAttributeNumber13: string
Maximum Length:
4000Value for the planning attribute number 13 in attribute-based planning. -
PlanningAttributeNumber14: string
Maximum Length:
4000Value for the planning attribute number 14 in attribute-based planning. -
PlanningAttributeNumber15: string
Maximum Length:
4000Value for the planning attribute number 15 in attribute-based planning. -
PlanningAttributeNumber3: string
Maximum Length:
4000Value for the planning attribute number 3 in attribute-based planning. -
PlanningAttributeNumber4: string
Maximum Length:
4000Value for the planning attribute number 4 in attribute-based planning. -
PlanningAttributeNumber5: string
Maximum Length:
4000Value for the planning attribute number 5 in attribute-based planning. -
PlanningAttributeNumber6: string
Maximum Length:
4000Value for the planning attribute number 6 in attribute-based planning. -
PlanningAttributeNumber7: string
Maximum Length:
4000Value for the planning attribute number 7 in attribute-based planning. -
PlanningAttributeNumber8: string
Maximum Length:
4000Value for the planning attribute number 8 in attribute-based planning. -
PlanningAttributeNumber9: string
Maximum Length:
4000Value 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:
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.
object-
AllowSplits: integer
Read Only:
trueValue 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:
trueValue 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 NameRead Only:trueMaximum Length:30A 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:
AssetRead Only:trueMaximum Length:80Number that identifies the asset associated with a maintenance work order. -
BucketType: string
Title:
Bucket TypeRead Only:trueMaximum Length:7Time 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:
BuyerRead Only:trueName of the buyer associated with the item. -
CategoryName: string
Title:
CategoryRead Only:trueMaximum Length:4000Name of the category to which the item is assigned. -
CompletedQuantity: number
Read Only:
trueShipped quantity of the sales order. -
ComponentQuantityIssued: number
Read Only:
trueQuantity of a component issued to a work order. -
ConfigurationItem: string
Title:
Configuration ItemRead Only:trueMaximum Length:300Name of the configuration item. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the order. -
CreationDate: string
(date-time)
Read Only:
trueDate when the user created the order. -
Customer: string
Title:
CustomerRead Only:trueMaximum Length:4000Name of the customer associated with the sales order or forecast. -
CustomerId: integer
(int64)
Read Only:
trueValue that uniquely identifies the customer. -
CustomerPOLineNumber: string
Read Only:
trueMaximum Length:50Number that identifies the customer purchase order line corresponding to the sales order. -
CustomerPONumber: string
Read Only:
trueMaximum Length:50Customer purchase order number corresponding to the sales order. -
CustomerPOScheduleNumber: string
Read Only:
trueMaximum Length:50Number that identifies the schedule level customer purchase order line location that corresponds to the sales order. -
CustomerSite: string
Title:
Customer SiteRead Only:trueMaximum Length:4000Code associated with a specific customer ship-to location. -
CustomerSiteId: integer
(int64)
Read Only:
trueValue that uniquely identifies the customer site. -
DataSecurityEditAllowed: string
Read Only:
trueContains one of the following: yes or null. If yes, then the user has data security edit privileges. If null, then the user doesn't have data security edit privileges. -
DeliveryCost: number
Read Only:
trueValue that identifies the delivery cost per unit. -
DeliveryLeadTime: number
Read Only:
trueValue that identifies the delivery lead time from the promising application. -
DemandClass: string
Read Only:
trueMaximum Length:34Classification 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 ClassRead Only:trueMaximum Length:4000Code 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 PriorityRead Only:truePriority of the demand. -
DestinationTimeZone: string
Title:
Destination Time ZoneRead Only:trueMaximum Length:100Time 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:
trueDate when the customer can accept the order to arrive at the earliest. -
EarliestAcceptableShipDate: string
(date)
Read Only:
trueDate 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:
trueMaximum Length:50Contains 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. -
ExpenseTransfer: integer
Title:
Expense Destination TransferRead Only:trueContains 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 DateDate 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 StatusValue 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 QuantityFixed 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:
trueMaximum Length:4000Status 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:
trueEstimated cost to deliver a fulfillment line to a customer. The amount includes item cost and shipping cost. -
FulfillmentLine: integer
Title:
Fulfillment LineRead Only:trueFulfillment line number associated with a sales order. -
GOPReferenceId: string
Read Only:
trueMaximum Length:300Value that uniquely identifies the cross reference of the recommended split fulfillment line created by Oracle Global Order Promising Cloud. -
IncludedItemsIndicator: integer
Read Only:
trueValue 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. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
Item: string
Maximum Length:
300Name of the item associated with the demand. -
ItemDescription: string
Read Only:
trueMaximum Length:240Description of the item associated with the demand. -
ItemSubTypeCode: string
Read Only:
trueMaximum Length:30Abbreviation 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:
trueMaximum Length:30Abbreviation 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:
trueDate when the demand was most recently updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the demand. -
LatestAcceptableArrivalDate: string
(date)
Read Only:
trueDate when the customer can accept the order to arrive at the latest. -
LatestAcceptableDate: string
(date)
Title:
Latest Acceptable DateRead Only:trueDate beyond which the demand line must not be promised. -
LatestAcceptableShipDate: string
(date)
Read Only:
trueDate when the customer can accept the order to be shipped at the latest. -
LineNumber: string
Title:
Line NumberRead Only:trueMaximum Length:100Line number associated with the demand. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Lot: string
Title:
LotRead Only:trueMaximum Length:80Number that identifies the lot of the on-hand supply. -
MinimumPercentageForSplit: number
Read Only:
trueIf splits are allowed, this attribute specifies the minimum percentage required for splitting a fulfillment line. -
MinimumQuantityForSplit: number
Read Only:
trueIf splits are allowed, this attribute specifies the minimum quantity required for splitting a fulfillment line. -
MinimumRemainingShelfLife: number
Read Only:
trueMinimum 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 DateRead Only:trueDate when the demand quantity was originally due. This attribute value is extracted from the source application. -
OrderDateType: string
Title:
Order Date TypeRead Only:trueMaximum Length:4000Value 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:
trueValue 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:
trueValue 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 NumberRead Only:trueMaximum Length:4000Order number associated with the sales order. -
OrderQuantity: number
Title:
Order QuantityRead Only:trueQuantity 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 TypeMaximum Length:4000Value 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:
49Name of the organization associated with the order. -
OrganizationId: integer
Value that uniquely identifies the organization.
-
OrganizationTimeZone: string
Title:
Organization Time ZoneRead Only:trueMaximum Length:100Time zone of the organization associated with the demand. -
OrgCurrencyCode: string
Read Only:
trueMaximum Length:100Abbreviation that identifies the base currency of the organization. -
OriginalItem: string
Title:
Original ItemRead Only:trueMaximum Length:4000Name of the item for which the order was originally scheduled. -
OriginalItemId: integer
Read Only:
trueValue that uniquely identifies the requested item. -
OriginalOrderQuantity: number
Title:
Original Order QuantityRead Only:trueQuantity associated with the order. This value is extracted from the source application. -
ParentFulfillmentLine: string
Read Only:
trueMaximum Length:400For an order with assemble-to-order elements, this attribute indicates the immediate parent of an assemble-to-order component. -
ParentModel: string
Title:
Parent ModelRead Only:trueMaximum Length:4000Model 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 DateRead Only:trueDate 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:
trueMaximum Length:10Abbreviation that identifies the planner responsible for the item. -
PlannerDescription: string
Read Only:
trueMaximum Length:4000Description of the planner responsible for the item. -
PlanningAttributes: array
Planning Attributes
Title:
Planning AttributesThe Planning Attributes resource manages the attribute-based planning attributes associated with a demand or supply. -
ProjectGroupValue: string
Maximum Length:
4000Value that identifies the project group. -
ProjectValue: string
Maximum Length:
4000Value that identifies the project. -
PromisedArrivalDate: string
(date)
Title:
Promised Arrival DateRead Only:trueDate when a customer has been promised the delivery of the order. -
PromisedShipDate: string
(date)
Title:
Promised Ship DateRead Only:trueDate when a customer has been promised the shipping of the order. -
PromisingSystem: string
Read Only:
trueMaximum Length:50Name of the promising application that promises supply for the demand. -
RequestedArrivalDate: string
(date)
Title:
Requested Arrival DateRead Only:trueDate when the material must arrive at the customer site. -
RequestedShipDate: string
(date)
Title:
Requested Ship DateRead Only:trueDate when the material must be shipped out to the customer. -
ReservedQuantity: number
Read Only:
trueQuantity that's reserved against an order. -
RootFulfillmentLine: string
Read Only:
trueMaximum Length:400For an order having assemble-to-order elements, this attribute indicates the top-most model. -
RowModified: string
Read Only:
trueText that identifies whether the row is new or modified. Valid values are yes or null. If yes, then the row is new or modified. If null, then the row isn't new or modified. -
SalesRepresentativeContact: string
Read Only:
trueMaximum Length:50Contact details of the sales representative. -
ScheduledArrivalDate: string
(date)
Title:
Scheduled Arrival DateRead Only:trueDate when the demand has been scheduled to arrive at a customer site. -
ScheduledShipDate: string
(date)
Title:
Scheduled Ship DateRead Only:trueDate when the demand has been scheduled to be shipped. -
ScheduleName: string
Title:
Schedule NameRead Only:trueMaximum Length:4000Name of the supply or demand schedule associated with an order. -
SellingPrice: number
Read Only:
trueSelling price of an item on the order line. -
ShipmentSetName: string
Title:
Shipment Set NameRead Only:trueMaximum Length:50On the sales order, the ship set name designates lines that should ship together. -
ShipMethod: string
Read Only:
trueMaximum Length:30Value 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 MethodRead Only:trueMaximum Length:4000Value 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:
trueMaximum Length:1200Value that indicates the shipping preference for the order. -
ShipTo: string
Title:
Ship ToRead Only:trueMaximum Length:4000Abbreviation that identifies the specific ship-to location. -
SourceOrder: string
Title:
Source OrderRead Only:trueMaximum Length:50Value that identifies the order number in the source application against which fulfillment line has been created. -
SourceOrderLine: string
Title:
Source Order LineRead Only:trueMaximum Length:50Value that identifies the order line number in the source application against which fulfillment line has been created. -
SourceOrganization: string
Title:
Source OrganizationRead Only:trueMaximum Length:4000Name of the organization that will source the order. -
SourceOrganizationId: integer
Read Only:
trueValue that uniquely identifies the source organization. -
SourceTablePrimary: string
Read Only:
trueMaximum Length:12Value that identifies the data table source of the supply. -
SourceTimeZone: string
Title:
Source Time ZoneRead Only:trueMaximum Length:100Time zone associated with the entity that's sourcing the order. The sourcing entity can be a supplier or an organization. -
Subinventory: string
Title:
SubinventoryRead Only:trueMaximum Length:10Subinventory code associated with the demand. -
SuggestedDueDate: string
(date)
Title:
Suggested Dock DateRead Only:trueDate when the demand is recommended to be completed. -
SuggestedShipDate: string
(date)
Title:
Suggested Ship DateRead Only:trueDate when the order is recommended to be shipped. -
Supplier: string
Title:
SupplierRead Only:trueMaximum Length:4000Name of the source supplier. -
SupplierId: integer
(int64)
Read Only:
trueValue that uniquely identifies the supplier. -
SupplierSite: string
Title:
Supplier SiteRead Only:trueMaximum Length:4000Abbreviation that indicates the specific supplier ship-from location. -
SupplierSiteId: integer
(int64)
Read Only:
trueValue that uniquely identifies the supplier site. -
SupplierSiteSourceSystem: integer
Read Only:
trueFor drop ship sales orders, the source application for which the supplier site is defined. -
TaskValue: string
Maximum Length:
4000Value that identifies task. -
TransactionId: integer
(int64)
Value that uniquely identifies the demand. This value is internally generated by the application.
-
UOM: string
Read Only:
trueMaximum Length:4000Name of the unit of measure that's associated with the order quantity. -
UOMCode: string
Read Only:
trueMaximum Length:3Abbreviation that identifies the unit of measure associated with the order quantity. -
UsingAssembly: string
Title:
Using AssemblyRead Only:trueMaximum Length:4000For component demands, this field refers to the assembly item that uses this item as a component. -
Zone: string
Title:
ZoneRead Only:trueMaximum Length:4000Region or zone where the demand quantity is being shipped.
arrayLinksarrayPlanning Attributesobject-
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.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrderNumber: string
Title:
Order NumberMaximum Length:4000Number that identifies the order associated with the demand or supply. -
PlanningAttributeNumber10: string
Maximum Length:
4000Value for the planning attribute number 10 in attribute-based planning. -
PlanningAttributeNumber11: string
Maximum Length:
4000Value for the planning attribute number 11 in attribute-based planning. -
PlanningAttributeNumber12: string
Maximum Length:
4000Value for the planning attribute number 12 in attribute-based planning. -
PlanningAttributeNumber13: string
Maximum Length:
4000Value for the planning attribute number 13 in attribute-based planning. -
PlanningAttributeNumber14: string
Maximum Length:
4000Value for the planning attribute number 14 in attribute-based planning. -
PlanningAttributeNumber15: string
Maximum Length:
4000Value for the planning attribute number 15 in attribute-based planning. -
PlanningAttributeNumber3: string
Maximum Length:
4000Value for the planning attribute number 3 in attribute-based planning. -
PlanningAttributeNumber4: string
Maximum Length:
4000Value for the planning attribute number 4 in attribute-based planning. -
PlanningAttributeNumber5: string
Maximum Length:
4000Value for the planning attribute number 5 in attribute-based planning. -
PlanningAttributeNumber6: string
Maximum Length:
4000Value for the planning attribute number 6 in attribute-based planning. -
PlanningAttributeNumber7: string
Maximum Length:
4000Value for the planning attribute number 7 in attribute-based planning. -
PlanningAttributeNumber8: string
Maximum Length:
4000Value for the planning attribute number 8 in attribute-based planning. -
PlanningAttributeNumber9: string
Maximum Length:
4000Value 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.
arrayLinks- 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"
}
]
}
}
]
}