Create demands
/fscmRestApi/resources/11.13.18.05/backlogManagementPlans/{BmRunId}/child/demands
Request
-
BmRunId(required): integer
Value that uniquely identifies the backlog management plan run.
-
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.
-
Upsert-Mode:
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.
- application/json
object
-
ArrivalSetName: string
Maximum Length:
30
Value that uniquely identifies the fulfillment line arrival set. -
CarrierId: integer
(int64)
Value that uniquely identifies the carrier from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
CarrierName: string
Maximum Length:
255
Value that identifies the carrier from the source inventory organization to destination inventory organization that you enter on the fulfillment line. -
ConfiguredItem: string
Maximum Length:
1200
Value that identifies the unique configuration item corresponding to the configuration sent for promising. This attribute is applicable only in the case of assemble to order demands. -
CustomerId: integer
(int64)
Value that uniquely identifies the customer on the demand.
-
CustomerName: string
Maximum Length:
255
Name of the customer on the demand. -
CustomerPurchOrderLineNumber: string
Maximum Length:
50
Number that identifies the purchase order line that's reserved against the drop ship sales order. This attribute is for future use. -
CustomerPurchOrderNumber: string
Maximum Length:
240
Number that identifies the purchase order that's reserved against the drop ship sales order. This attribute is for future use. -
CustomerPurchOrderScheduleNumber: string
Maximum Length:
50
Value that identifies the purchase order schedule that's reserved against the drop ship sales order. This attribute is for future use. -
CustomerSiteId: integer
(int64)
Value that uniquely identifies the customer site of the demand.
-
CustomerSiteName: string
Maximum Length:
255
Name of the customer site on the demand. -
DemandClass: string
Maximum Length:
34
Name of the demand class on the demand. -
DemandFulfillmentLeadTime: integer
Value that indicates the delivery lead time that you enter on the fulfillment line.
-
DemandId: integer
Value that uniquely identifies a demand within a backlog management plan run.
-
DemandLeadTimeDate: string
(date)
Date that corresponds to the lead time available to fulfill the demand.
-
DemandPriority: integer
Priority of a demand within the backlog management plan run.
-
EarliestAcceptableDate: string
(date)
Earliest date that's acceptable on the fulfillment line.
-
EarliestPromisedDate: string
(date)
Date when the item can be available.
-
EccIndicator: integer
Contains one of the following values: Yes or No. If Yes, then the existing scheduled information on the demand must be respected when planning the demand. If No, then the existing commitments can be ignored. The default value is Yes.
-
ESSJobId: integer
Value that uniquely identifies the process that updates the demand attribute's data.
-
ExpectedArrivalDate: string
(date)
Date when the requested item line is expected to arrive at the customer ship-to site from the ship-from organization.
-
ExpectedCarrierId: integer
(int64)
Value that uniquely identifies the planned carrier from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
ExpectedCarrierName: string
Maximum Length:
255
Value that identifies the planned carrier from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ExpectedModeOfTransport: integer
(int64)
Value that uniquely identifies the planned transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line.
-
ExpectedModeOfTransportName: string
Maximum Length:
255
Value that identifies the planned transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line. -
ExpectedServiceLevel: integer
(int64)
Value that uniquely identifies the planned service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
ExpectedServiceLevelName: string
Maximum Length:
255
Value that identifies the planned service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ExpectedShipDate: string
(date)
Date when the requested item line is expected to be shipped from the ship-from organization to the customer ship-to site.
-
ExpectedShipMethod: string
Maximum Length:
30
Value that identifies the planned shipping method from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ExpectedSupplierId: integer
(int64)
Value that identifies the drop ship supplier from where material is to be shipped to the customer ship-to site.
-
ExpectedSupplierName: string
Maximum Length:
255
Name of the planned drop ship supplier from where material is to be shipped to the customer ship-to site. -
ExpectedSupplierSiteId: integer
(int64)
Value that identifies the drop ship supplier site from where material is to be shipped to the customer ship-to site.
-
ExpectedSupplierSiteName: string
Maximum Length:
255
Name of the planned drop ship supplier site from where material is to be shipped to the customer ship-to site. -
FirmArrivalSetName: string
Maximum Length:
30
Value that indicates the user-specified arrival set on the demand. -
FirmOrganizationName: string
Maximum Length:
255
Name of the user-specified organization from which the item will be planned. -
FirmSalesOrder: integer
Value that indicates whether a demand has been locked or not.
-
FirmShipFromOrg: integer
(int64)
Value that indicates the user-specified organization on the demand.
-
FirmShipSetName: string
Maximum Length:
30
Value that indicates the user-specified shipment set on the demand. -
FulfillmentLineNumber: integer
Number that uniquely identifies the fulfillment line.
-
InventoryItemId: integer
Value that uniquely identifies the item that's requested on the demand.
-
InventoryItemName: string
Maximum Length:
255
Name of the item requested on the demand. -
LatestAcceptableDate: string
(date)
Last date that's acceptable on the fulfillment line.
-
ManualOverrideIndicator: integer
(int32)
Value that indicates whether the planned information on the demand has been manually overridden.
-
MarkedForRelease: integer
(int32)
Value that indicates whether the demand has been identified for release to order management.
-
Message: string
Maximum Length:
255
Message that indicates the success or failure of the bulk upload of the demand attributes. -
ModeOfTransport: integer
(int64)
Value that uniquely identifies the transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line.
-
ModeOfTransportName: string
Maximum Length:
255
Value that identifies the transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line. -
NewPromisedDate: string
(date)
Date when the demand is planned in the backlog management plan.
-
OldPromisedDate: string
(date)
Date when the demand was originally scheduled.
-
OrchOrderLineNumber: string
Maximum Length:
50
Number that uniquely identifies the orchestration line in Oracle Order Management Cloud for a demand. -
OrchOrderNumber: string
Maximum Length:
50
Number that uniquely identifies the orchestration in Oracle Order Management Cloud for a demand. -
OrderDateTypeCode: integer
Value that indicates whether the request is the arrival date or ship date type. Depending on the request type, the requested date represents the requested ship date and requested arrival date respectively.
-
OrderNumber: string
Maximum Length:
240
Number that uniquely identifies the sales order for which the fulfillment line is created. -
OrderRevenue: integer
Revenue from the demand.
-
OrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the organization from which an item is requested. -
OrganizationId: integer
Value that uniquely identifies the organization from which an item is requested.
-
OrganizationName: string
Maximum Length:
255
Name of the organization from which an item is requested. -
OriginationType: integer
Type of demand. Values include Sales Order demand or Simulation demand.
-
OverridePriority: integer
Manually overridden priority on a demand.
-
ParentFulfillmentLine: string
Maximum Length:
400
Value that uniquely identifies the fulfillment line for the immediate parent item in a configure-to-order item structure. -
PromisedQuantity: integer
Quantity planned in case a demand is partially fulfilled.
-
PullInIndicator: integer
Contains one of the following values: Yes or No. If Yes, then the order can be planned earlier than its current Scheduled date until its Requested Date. If No, then the order can't be planned earlier than its existing Scheduled Date. The default value is Yes.
-
ReasonCode: integer
Value that indicates the reason why the demand wasn't planned.
-
ReleaseStatus: integer
Value that indicates the release status. Values include Release, Released, Marked for Release, or blank. If Release, then the demand is eligible for release to the order management application. If Marked for Release, then the demand has been confirmed to be released to the order management application. If Released, then the line has already been released to order management.
-
RequestedDate: string
(date)
Date when the material is requested to be available. Depending on the order date type code this attribute represents the requested ship date or the requested arrival date.
-
RequestedDateQuantity: integer
Quantity available on the requested date.
-
RootFulfillmentLine: string
Maximum Length:
400
Value that uniquely identifies the fulfillment line for the end item in a configure-to-order item structure. -
ServiceLevel: integer
(int64)
Value that uniquely identifies the service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
ServiceLevelName: string
Maximum Length:
255
Value that identifies the service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ShipMethod: string
Maximum Length:
30
Shipping method used to ship the requested item line from the ship-from organization to the customer ship-to site. -
ShipSetName: string
Maximum Length:
30
Value that uniquely identifies the fulfillment line shipment set. -
SourceOrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the source organization from which an item is planned. -
SourceOrganizationId: integer
Value that uniquely identifies the source organization on the demand.
-
SourceOrganizationName: string
Maximum Length:
255
Name of the source organization from which an item is requested. -
SplitFromDemandId: integer
(int64)
Value that uniquely identifies the demand from which the current demand was split for fulfillment.
-
SupplierId: integer
(int64)
Value that uniquely identifies the drop ship supplier from where material is to be shipped to the customer ship-to site.
-
SupplierName: string
Maximum Length:
255
Name of the drop ship supplier from where material is to be shipped to the customer ship-to site. -
SupplierSiteId: integer
(int64)
Value that uniquely identifies the drop ship supplier site from where material is to be shipped to the customer ship-to site.
-
SupplierSiteName: string
Maximum Length:
255
Name of the drop ship supplier site from where material is to be shipped to the customer ship-to site. -
SupplyPickDate: string
(date)
Date to pick and pack the item that's to be shipped from the warehouse.
-
UpdateAsync: string
(byte)
Encoded demand data used when updating the demand attribute's data in bulk.
-
UpdateMode: string
Maximum Length:
255
Mode that indicates whether the demand attribute's data is updated using the bulk update process.
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
-
AllowSplitsIndicator: integer
Read Only:
true
Value that indicates whether the demand can be split for fulfillment or not. -
ArrivalSetName: string
Maximum Length:
30
Value that uniquely identifies the fulfillment line arrival set. -
BmRunId: integer
Read Only:
true
Value that uniquely identifies the backlog management plan run. -
CarrierId: integer
(int64)
Value that uniquely identifies the carrier from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
CarrierName: string
Maximum Length:
255
Value that identifies the carrier from the source inventory organization to destination inventory organization that you enter on the fulfillment line. -
ConfiguredItem: string
Maximum Length:
1200
Value that identifies the unique configuration item corresponding to the configuration sent for promising. This attribute is applicable only in the case of assemble to order demands. -
ConstraintRank: integer
Read Only:
true
Value that identifies the item constraint ranking based on the difference between their respective item availability dates and requested dates. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the demand. -
CreationDate: string
(date-time)
Read Only:
true
Date when the user created the demand. -
CustomerId: integer
(int64)
Value that uniquely identifies the customer on the demand.
-
CustomerName: string
Maximum Length:
255
Name of the customer on the demand. -
CustomerPurchOrderLineNumber: string
Maximum Length:
50
Number that identifies the purchase order line that's reserved against the drop ship sales order. This attribute is for future use. -
CustomerPurchOrderNumber: string
Maximum Length:
240
Number that identifies the purchase order that's reserved against the drop ship sales order. This attribute is for future use. -
CustomerPurchOrderScheduleNumber: string
Maximum Length:
50
Value that identifies the purchase order schedule that's reserved against the drop ship sales order. This attribute is for future use. -
CustomerSiteId: integer
(int64)
Value that uniquely identifies the customer site of the demand.
-
CustomerSiteName: string
Maximum Length:
255
Name of the customer site on the demand. -
DaysPotentiallyImprove: integer
Read Only:
true
Value that identifies the number of days by which the planned date will improve if all items with a constraint rank higher than or equal to this item's constraint rank are removed. -
DemandClass: string
Maximum Length:
34
Name of the demand class on the demand. -
DemandFulfillmentLeadTime: integer
Value that indicates the delivery lead time that you enter on the fulfillment line.
-
DemandId: integer
Value that uniquely identifies a demand within a backlog management plan run.
-
DemandLeadTimeDate: string
(date)
Date that corresponds to the lead time available to fulfill the demand.
-
DemandPriority: integer
Priority of a demand within the backlog management plan run.
-
DemandQuantity: number
Read Only:
true
Quantity of the demand fulfilled in the split demand. -
EarliestAcceptableDate: string
(date)
Earliest date that's acceptable on the fulfillment line.
-
EarliestPromisedDate: string
(date)
Date when the item can be available.
-
EccIndicator: integer
Contains one of the following values: Yes or No. If Yes, then the existing scheduled information on the demand must be respected when planning the demand. If No, then the existing commitments can be ignored. The default value is Yes.
-
ErrorText: string
Read Only:
true
Maximum Length:255
Textual description for an error that the backlog planner encountered while planning for a demand line. -
ESSJobId: integer
Value that uniquely identifies the process that updates the demand attribute's data.
-
ExpectedArrivalDate: string
(date)
Date when the requested item line is expected to arrive at the customer ship-to site from the ship-from organization.
-
ExpectedCarrierId: integer
(int64)
Value that uniquely identifies the planned carrier from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
ExpectedCarrierName: string
Maximum Length:
255
Value that identifies the planned carrier from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ExpectedModeOfTransport: integer
(int64)
Value that uniquely identifies the planned transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line.
-
ExpectedModeOfTransportName: string
Maximum Length:
255
Value that identifies the planned transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line. -
ExpectedServiceLevel: integer
(int64)
Value that uniquely identifies the planned service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
ExpectedServiceLevelName: string
Maximum Length:
255
Value that identifies the planned service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ExpectedShipDate: string
(date)
Date when the requested item line is expected to be shipped from the ship-from organization to the customer ship-to site.
-
ExpectedShipMethod: string
Maximum Length:
30
Value that identifies the planned shipping method from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ExpectedSupplierId: integer
(int64)
Value that identifies the drop ship supplier from where material is to be shipped to the customer ship-to site.
-
ExpectedSupplierName: string
Maximum Length:
255
Name of the planned drop ship supplier from where material is to be shipped to the customer ship-to site. -
ExpectedSupplierSiteId: integer
(int64)
Value that identifies the drop ship supplier site from where material is to be shipped to the customer ship-to site.
-
ExpectedSupplierSiteName: string
Maximum Length:
255
Name of the planned drop ship supplier site from where material is to be shipped to the customer ship-to site. -
FirmArrivalSetName: string
Maximum Length:
30
Value that indicates the user-specified arrival set on the demand. -
FirmOrganizationName: string
Maximum Length:
255
Name of the user-specified organization from which the item will be planned. -
FirmSalesOrder: integer
Value that indicates whether a demand has been locked or not.
-
FirmShipFromOrg: integer
(int64)
Value that indicates the user-specified organization on the demand.
-
FirmShipSetName: string
Maximum Length:
30
Value that indicates the user-specified shipment set on the demand. -
FulfillmentLineNumber: integer
Number that uniquely identifies the fulfillment line.
-
InventoryItemId: integer
Value that uniquely identifies the item that's requested on the demand.
-
InventoryItemName: string
Maximum Length:
255
Name of the item requested on the demand. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the user most recently updated the demand. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the demand. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Login that the user used when updating the demand. -
LatestAcceptableDate: string
(date)
Last date that's acceptable on the fulfillment line.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ManualOverrideIndicator: integer
(int32)
Value that indicates whether the planned information on the demand has been manually overridden.
-
MarkedForRelease: integer
(int32)
Value that indicates whether the demand has been identified for release to order management.
-
Message: string
Maximum Length:
255
Message that indicates the success or failure of the bulk upload of the demand attributes. -
ModeOfTransport: integer
(int64)
Value that uniquely identifies the transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line.
-
ModeOfTransportName: string
Maximum Length:
255
Value that identifies the transport mode from the source inventory organization to destination inventory organization that you enter on the fulfillment line. -
NewPromisedDate: string
(date)
Date when the demand is planned in the backlog management plan.
-
OldPromisedDate: string
(date)
Date when the demand was originally scheduled.
-
OrchOrderLineNumber: string
Maximum Length:
50
Number that uniquely identifies the orchestration line in Oracle Order Management Cloud for a demand. -
OrchOrderNumber: string
Maximum Length:
50
Number that uniquely identifies the orchestration in Oracle Order Management Cloud for a demand. -
OrderDateTypeCode: integer
Value that indicates whether the request is the arrival date or ship date type. Depending on the request type, the requested date represents the requested ship date and requested arrival date respectively.
-
OrderLineStatus: number
Read Only:
true
Status of the sales order line that indicates whether an order is in picked, shipped, or in any other status. The order lines that are in the picked, shipped, or canceled status aren't released. -
OrderNumber: string
Maximum Length:
240
Number that uniquely identifies the sales order for which the fulfillment line is created. -
OrderRevenue: integer
Revenue from the demand.
-
OrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the organization from which an item is requested. -
OrganizationId: integer
Value that uniquely identifies the organization from which an item is requested.
-
OrganizationName: string
Maximum Length:
255
Name of the organization from which an item is requested. -
OriginationType: integer
Type of demand. Values include Sales Order demand or Simulation demand.
-
OverridePriority: integer
Manually overridden priority on a demand.
-
ParentFulfillmentLine: string
Maximum Length:
400
Value that uniquely identifies the fulfillment line for the immediate parent item in a configure-to-order item structure. -
PlannedDateWithoutItem: string
(date)
Read Only:
true
Date when the configure to order item order or set order can be fulfilled, if all items with a constraint rank higher than or equal to this item's constraint rank are removed. -
PromisedQuantity: integer
Quantity planned in case a demand is partially fulfilled.
-
PullInIndicator: integer
Contains one of the following values: Yes or No. If Yes, then the order can be planned earlier than its current Scheduled date until its Requested Date. If No, then the order can't be planned earlier than its existing Scheduled Date. The default value is Yes.
-
ReasonCode: integer
Value that indicates the reason why the demand wasn't planned.
-
ReleaseStatus: integer
Value that indicates the release status. Values include Release, Released, Marked for Release, or blank. If Release, then the demand is eligible for release to the order management application. If Marked for Release, then the demand has been confirmed to be released to the order management application. If Released, then the line has already been released to order management.
-
RequestedDate: string
(date)
Date when the material is requested to be available. Depending on the order date type code this attribute represents the requested ship date or the requested arrival date.
-
RequestedDateQuantity: integer
Quantity available on the requested date.
-
RootFulfillmentLine: string
Maximum Length:
400
Value that uniquely identifies the fulfillment line for the end item in a configure-to-order item structure. -
SalesOrderNumber: string
Read Only:
true
Maximum Length:240
Number that uniquely identifies the sales order for the demand. -
ServiceLevel: integer
(int64)
Value that uniquely identifies the service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line.
-
ServiceLevelName: string
Maximum Length:
255
Value that identifies the service level used for shipping from the ship-from organization to the customer ship-to site that you enter on the fulfillment line. -
ShipMethod: string
Maximum Length:
30
Shipping method used to ship the requested item line from the ship-from organization to the customer ship-to site. -
ShipSetName: string
Maximum Length:
30
Value that uniquely identifies the fulfillment line shipment set. -
SoLineNumber: string
Read Only:
true
Maximum Length:150
Number that uniquely identifies the sales order line for the demand. -
SourceOrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the source organization from which an item is planned. -
SourceOrganizationId: integer
Value that uniquely identifies the source organization on the demand.
-
SourceOrganizationName: string
Maximum Length:
255
Name of the source organization from which an item is requested. -
SplitFromDemandId: integer
(int64)
Value that uniquely identifies the demand from which the current demand was split for fulfillment.
-
SupplierId: integer
(int64)
Value that uniquely identifies the drop ship supplier from where material is to be shipped to the customer ship-to site.
-
SupplierName: string
Maximum Length:
255
Name of the drop ship supplier from where material is to be shipped to the customer ship-to site. -
SupplierSiteId: integer
(int64)
Value that uniquely identifies the drop ship supplier site from where material is to be shipped to the customer ship-to site.
-
SupplierSiteName: string
Maximum Length:
255
Name of the drop ship supplier site from where material is to be shipped to the customer ship-to site. -
SupplyPickDate: string
(date)
Date to pick and pack the item that's to be shipped from the warehouse.
-
UpdateAsync: string
(byte)
Encoded demand data used when updating the demand attribute's data in bulk.
-
UpdateMode: string
Maximum Length:
255
Mode that indicates whether the demand attribute's data is updated using the bulk update process. -
UserDefinedPriority: string
Read Only:
true
Maximum Length:100
Priority of a demand defined on the order line, collected either from Oracle Fusion Cloud Order Management or from an external source and shown in the backlog management plan.
array
Links
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.
Examples
cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.action+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/backlogManagementPlans/-1/child/demands"
Example: Upload Bulk Demand Simulation Attributes Data
This example describes how to bulk upload demand simulation attributes based on DemandId.
Similarly, you can also upload using ItemName, OrgCode, or a combination of ItemName and
OrgCode. The example includes the contents of the request body in JSON format, which
includes the UpdateAsync and UpdateMode attributes. You can use the JSON format to encode
[{"DemandId":"3098148,3098152,3098153,3098154,3098151","EccFlag":2,"PullInFlag":2}]
for which the Base64 encoded value is
W3siRGVtYW5kSWQiOiIzMDk4MTQ4LDMwOTgxNTIsMzA5ODE1MywzMDk4MTU0LDMwOTgxNTEiLAoiRWNjRmxhZyI6MiwKIlB1bGxJbkZsYWciOjJ9XQ==
.
Example Request Body
{ "UpdateAsync": "W3siRGVtYW5kSWQiOiIzMDk4MTQ4LDMwOTgxNTIsMzA5ODE1MywzMDk4MTU0LDMwOTgxNTEiLAoiRWNjRmxhZyI6MiwKIlB1bGxJbkZsYWciOjJ9XQ==", "UpdateMode": "batch" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "BmRunId": -1, "DemandId": -23453, "DemandPriority": null, "InventoryItemId": -23453, "OrganizationId": -23453, "OldPromisedDate": null, "NewPromisedDate": null, "RequestedDate": "2030-02-11", "CreatedBy": "BLM_ALL", "CreationDate": "2022-06-12T23:06:22+00:00", "LastUpdatedBy": "BLM_ALL", "LastUpdateDate": "2022-06-12T23:06:30.925+00:00", "LastUpdateLogin": "E0DC1B35877C2672E0532D06F10A673D", "CustomerId": null, "CustomerSiteId": null, "DemandClass": null, "SourceOrganizationId": null, "FirmSalesOrder": null, "FirmShipFromOrg": null, "FirmShipSetName": null, "FirmArrivalSetName": null, "EarliestPromisedDate": null, "ExpectedShipDate": null, "ExpectedArrivalDate": null, "ShipMethod": null, "ShipSetName": null, "ArrivalSetName": null, "CarrierId": null, "ModeOfTransport": null, "ServiceLevel": null, "SplitFromDemandId": null, "SupplierId": null, "SupplierSiteId": null, "EccIndicator": null, "RequestedDateQuantity": null, "PullInIndicator": null, "MarkedForRelease": null, "OrderRevenue": null, "AllowSplitsIndicator": null, "ManualOverrideIndicator": null, "ExpectedSupplierId": null, "ExpectedSupplierSiteId": null, "ExpectedShipMethod": null, "ExpectedCarrierId": null, "ExpectedModeOfTransport": null, "ExpectedServiceLevel": null, "OverridePriority": null, "ReasonCode": null, "DemandFulfillmentLeadTime": null, "EarliestAcceptableDate": null, "LatestAcceptableDate": null, "OriginationType": null, "ConfiguredItem": null, "OrderDateTypeCode": null, "OrderNumber": null, "PromisedQuantity": null, "ReleaseStatus": null, "DemandLeadTimeDate": null, "SalesOrderNumber": null, "SoLineNumber": null, "FulfillmentLineNumber": null, "OrchOrderNumber": null, "OrchOrderLineNumber": null, "RootFulfillmentLine": null, "ParentFulfillmentLine": null, "CustomerPurchOrderScheduleNumber": null, "CustomerPurchOrderNumber": null, "CustomerPurchOrderLineNumber": null, "DemandQuantity": null, "InventoryItemName": null, "OrganizationName": null, "OrganizationCode": null, "SupplierName": null, "SupplierSiteName": null, "CustomerName": null, "CustomerSiteName": null, "ExpectedSupplierName": null, "ExpectedSupplierSiteName": null, "SourceOrganizationName": null, "SourceOrganizationCode": null, "FirmOrganizationName": null, "CarrierName": null, "ModeOfTransportName": null, "ServiceLevelName": null, "ExpectedCarrierName": null, "ExpectedModeOfTransportName": null, "ExpectedServiceLevelName": null, "OrderLineStatus": null, "ErrorText": null, "ESSJobId": 453164, "Message": "A scheduled process with process ID 453164 has been submitted. Refer to the scheduled processes log file for the detailed response. (MSC-2806192)", "UpdateMode": "batch", "links": [ { "rel": "self", "href": "https://server/fscmRestApi/resources/version/backlogManagementPlans/-1/child/demands/-23453", "name": "demands", "kind": "item" }, { "rel": "canonical", "href": "https://server/fscmRestApi/resources/version/backlogManagementPlans/-1/child/demands/-23453", "name": "demands", "kind": "item" }, { "rel": "parent", "href": "https://server/fscmRestApi/resources/version/backlogManagementPlans/-1", "name": "backlogManagementPlans", "kind": "item" }, { "rel": "enclosure", "href": "https://server/fscmRestApi/resources/version/backlogManagementPlans/-1/child/demands/-23453/enclosure/UpdateAsync", "name": "UpdateAsync", "kind": "other" } ] }
Sample Bulk Data
The data must be encoded using Base64 and passed in the request payload parameter UpdateAsync.
{ "UpdateAsync": "<Encoded Data>", "UpdateMode": "batch" }
Sample data for bulk upload of demand simulation attributes based on multiple blocks of DemandId
[{"DemandId":"1121408,1121488", "PullInFlag":1, "EccFlag":2}, {"DemandId":"1121518,1121530", "PullInFlag":2, "EccFlag":2}, {"DemandId":"1186855,1186856", "PullInFlag":2, "EccFlag":1}]
Sample data for bulk upload of demand simulation attributes based on ItemName
[{"ItemName":"KB-AS65101,KB-AS65102", "EccFlag":1, "PullInFlag":2}, {"ItemName":"BRSS", "EccFlag":2, "PullInFlag":2}]
Sample data for bulk upload of demand simulation attributes based on OrgCode
[{"OrgCode":"SCC:SCCOATSMFG2,SCC:SCCMFG2", "EccFlag":2, "PullInFlag":2}]
Sample data for bulk upload of demand simulation attributes based on ItemName and OrgCode
[{"ItemName":"AS92888", "OrgCode":"M1,M2", "EccFlag":2, "PullInFlag":2}, {"ItemName":"AS92888", "OrgCode":"D1", "EccFlag":1, "PullInFlag":2}]
[{ "OrgCode":"BLM:BLM_M1,BLM:BLM_M2", "OrganizationCode":"" }]
Note:
When the requested Ship-from organization is set to null, the requested shipping method is also set to null.[{ "OrgCode":"BLM:BLM_M1,BLM:BLM_M2", "ItemName":"BLM-RT-BLK-UPDT-SH-ITEM2", "OrganizationCode":"BLM:BLM_M16" }]
Note:
When the requested Ship-from organization is updated, the requested shipping method is also set to null.[{ "DemandId":"3813254,3813259", "CarrierName":"", "ModeOfTransportName":"", "ServiceLevelName":"", }]
Note:
To null the requested Shipping method, you need to null these attributes: Carrier Name, Mode of Transport Name, and Service-Level Name.[{ "DemandId":"3813254,3813259", "CarrierName":"DTDC_BLM", "ModeOfTransportName":"Rail_BLM", "ServiceLevelName":"PorttoDoor_BLM", }]
Note:
To update the requested Shipping method, you need to update these attributes: Carrier Name, Mode of Transport Name, and Service-Level Name.[{ "OrgCode":"BLM:BLM_M1", "FirmSalesOrder":1 }]
Note:
To update the Locked Status attribute to No, set FirmSalesOrder to 2.