Bulk update orders

post

/fscmRestApi/resources/11.13.18.05/buyerPlanningSupplies/buyerPlanningSupplies/

Bulk update orders

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client doesn't specify this header in the request the server picks a default version for the API.
Supported Media Types
Request Body - application/batch+json ()
Root Schema : schema
Type: array
Show Source
Nested Schema : buyerPlanningSupplies-bulkItems
Type: object
Show Source
Nested Schema : $context
Type: object
Show Source
Nested Schema : $key
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Body ()
Root Schema : buyerPlanningSupplies-bulkItemsStatus-response
Match All
Show Source
Nested Schema : ItemsBulkProperties
Type: object
Show Source
Nested Schema : buyerPlanningSupplies-bulkItemsStatus-response-allOf[2]
Type: object
Nested Schema : Items
Type: array
Title: Items
The item relations associated with the resource instance.
Show Source
Nested Schema : bulk-patch-item
Type: object
Show Source
Back to Top

Examples

This example describes how to bulk update orders.

Example 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.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/buyerPlanningSupplies"

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.

{
		"$context": {
			"if-match": "C4CA4238A0B923820DCC509A6F75849B",
			"operation": "update"
		},
		"$key": {
			"PartKey1": "999999999999999999",
			"PlanId": "300100577750737",
			"TransactionId": "99549201"
		},
		"ConsolidationTransactionId": "99549201",
		"ImplementFirm": 1,
		"ImplementQuantity": 0
	},
	{
		"$context": {
			"if-match": "C4CA4238A0B923820DCC509A6F75849B",
			"operation": "update"
		},
		"$key": {
			"PartKey1": "999999999999999999",
			"PlanId": "300100577750737",
			"TransactionId": "99549241"
		},
		"ConsolidationTransactionId": "99549201",
		"ImplementFirm": 2,
		"ImplementQuantity": 0
	},
	{
		"$context": {
			"if-match": "C4CA4238A0B923820DCC509A6F75849B",
			"operation": "update"
		},
		"$key": {
			"PartKey1": "999999999999999999",
			"PlanId": "300100577750737",
			"TransactionId": "99549280"
		},
		"ConsolidationTransactionId": "99549201",
		"ImplementFirm": 2,
		"ImplementQuantity": 0
	}

Example Response Body

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

{
	"items": [
		{
			"PlanId": "300100577750737",
			"PlanName": null,
			"TransactionId": "99549201",
			"ConsolidatedFlag": null,
			"ConsolidationTransactionId": "99549201",
			"PartKey1": "999999999999999999",
			"SrInstanceId": null,
			"OrderTypeCode": null,
			"OrderType": "Planned order",
			"OrderNumber": null,
			"ReleaseStatusCode": 14,
			"ReleaseStatus": "Marked for release",
			"MarkForReleaseOption": 1,
			"SegmentId": null,
			"SegmentName": null,
			"ReleaseGroupCode": null,
			"MappedSupplierId": null,
			"SupplierId": "2736186",
			"Supplier": null,
			"SupplierSiteId": "7463792",
			"SupplierSite": null,
			"MappedOrganizationId": null,
			"OrganizationId": "147201",
			"SubInventoryId": null,
			"ActualLocation": "BP1",
			"Organization": null,
			"OrganizationCode": null,
			"OrganizationCalendarCode": null,
			"SubinventoryCode": null,
			"MappedItemId": null,
			"InventoryItemId": "26563118",
			"Item": null,
			"ItemDescription": null,
			"NewOrderQuantity": null,
			"OldOrderQuantity": null,
			"NewDockDate": null,
			"NewShipDate": null,
			"OldDockDate": null,
			"OldShipDate": null,
			"FirmStatusCode": null,
			"FirmStatus": null,
			"FirmQuantity": null,
			"FirmDate": null,
			"ImplementQuantity": 168,
			"ImplementDockDate": "2024-01-10",
			"ImplementShipDate": "2024-01-10",
			"ImplementDate": "2024-01-12",
			"MappedImplementLocationId": null,
			"ImplementFirm": 1,
			"ImplementLocationId": null,
			"PrimaryUomCode": null,
			"ImplementLocation": null,
			"PrimaryUom": null,
			"ImplementLocationCode": null,
			"SourceUomCode": null,
			"SourceUom": null,
			"UnitVolume": null,
			"VolumeUomCode": null,
			"UnitWeight": null,
			"VolumeUom": null,
			"WeightUomCode": null,
			"WeightUom": null,
			"CarryingCost": null,
			"HasPriceBreakFlag": true,
			"ListPrice": null,
			"OrderCost": null,
			"StandardCost": null,
			"PriceSavings": 588,
			"OrganizationCurrency": null,
			"FixedDaysOfSupply": null,
			"FixedLotMultiplier": null,
			"FixedOrderQuantity": null,
			"MaximumOrderQuantity": null,
			"MinimumOrderQuantity": null,
			"PlanningTimeFenceDays": null,
			"ProcessingLeadTime": null,
			"PostProcessingLeadTime": null,
			"ItemPlanner": null,
			"EmployeeId": null,
			"PoLineId": null,
			"PoLineLocationId": null,
			"RangeFilterDate": null,
			"PlannerCode": null,
			"ObjectVersionNumber": 2,
			"CreatedBy": null,
			"CreationDate": null,
			"LastUpdatedBy": null,
			"LastUpdateDate": null,
			"links": [
				{
					. . .
				}
			]
		},
		{
			"PlanId": "300100577750737",
			"PlanName": null,
			"TransactionId": "99549241",
			"ConsolidatedFlag": null,
			"ConsolidationTransactionId": "99549201",
			"PartKey1": "999999999999999999",
			"SrInstanceId": null,
			"OrderTypeCode": null,
			"OrderType": "Planned order",
			"OrderNumber": null,
			"ReleaseStatusCode": 14,
			"ReleaseStatus": "Marked for release",
			"MarkForReleaseOption": 1,
			"SegmentId": null,
			"SegmentName": null,
			"ReleaseGroupCode": null,
			"MappedSupplierId": null,
			"SupplierId": "2736186",
			"Supplier": null,
			"SupplierSiteId": "7463792",
			"SupplierSite": null,
			"MappedOrganizationId": null,
			"OrganizationId": "147201",
			"SubInventoryId": null,
			"ActualLocation": "BP1",
			"Organization": null,
			"OrganizationCode": null,
			"OrganizationCalendarCode": null,
			"SubinventoryCode": null,
			"MappedItemId": null,
			"InventoryItemId": "26563118",
			"Item": null,
			"ItemDescription": null,
			"NewOrderQuantity": null,
			"OldOrderQuantity": null,
			"NewDockDate": null,
			"NewShipDate": null,
			"OldDockDate": null,
			"OldShipDate": null,
			"FirmStatusCode": null,
			"FirmStatus": null,
			"FirmQuantity": null,
			"FirmDate": null,
			"ImplementQuantity": 0,
			"ImplementDockDate": "2024-01-12",
			"ImplementShipDate": "2024-01-12",
			"ImplementDate": "2024-01-16",
			"MappedImplementLocationId": null,
			"ImplementFirm": 2,
			"ImplementLocationId": null,
			"PrimaryUomCode": null,
			"ImplementLocation": null,
			"PrimaryUom": null,
			"ImplementLocationCode": null,
			"SourceUomCode": null,
			"SourceUom": null,
			"UnitVolume": null,
			"VolumeUomCode": null,
			"UnitWeight": null,
			"VolumeUom": null,
			"WeightUomCode": null,
			"WeightUom": null,
			"CarryingCost": null,
			"HasPriceBreakFlag": true,
			"ListPrice": null,
			"OrderCost": null,
			"StandardCost": null,
			"PriceSavings": null,
			"OrganizationCurrency": null,
			"FixedDaysOfSupply": null,
			"FixedLotMultiplier": null,
			"FixedOrderQuantity": null,
			"MaximumOrderQuantity": null,
			"MinimumOrderQuantity": null,
			"PlanningTimeFenceDays": null,
			"ProcessingLeadTime": null,
			"PostProcessingLeadTime": null,
			"ItemPlanner": null,
			"EmployeeId": null,
			"PoLineId": null,
			"PoLineLocationId": null,
			"RangeFilterDate": null,
			"PlannerCode": null,
			"ObjectVersionNumber": 2,
			"CreatedBy": null,
			"CreationDate": null,
			"LastUpdatedBy": null,
			"LastUpdateDate": null,
			"links": [
				{
					. . .
				}
			]
		},
		{
			"PlanId": "300100577750737",
			"PlanName": null,
			"TransactionId": "99549280",
			"ConsolidatedFlag": null,
			"ConsolidationTransactionId": "99549201",
			"PartKey1": "999999999999999999",
			"SrInstanceId": null,
			"OrderTypeCode": null,
			"OrderType": "Planned order",
			"OrderNumber": null,
			"ReleaseStatusCode": 14,
			"ReleaseStatus": "Marked for release",
			"MarkForReleaseOption": 1,
			"SegmentId": null,
			"SegmentName": null,
			"ReleaseGroupCode": null,
			"MappedSupplierId": null,
			"SupplierId": "2736186",
			"Supplier": null,
			"SupplierSiteId": "7463792",
			"SupplierSite": null,
			"MappedOrganizationId": null,
			"OrganizationId": "147201",
			"SubInventoryId": null,
			"ActualLocation": "BP1",
			"Organization": null,
			"OrganizationCode": null,
			"OrganizationCalendarCode": null,
			"SubinventoryCode": null,
			"MappedItemId": null,
			"InventoryItemId": "26563118",
			"Item": null,
			"ItemDescription": null,
			"NewOrderQuantity": null,
			"OldOrderQuantity": null,
			"NewDockDate": null,
			"NewShipDate": null,
			"OldDockDate": null,
			"OldShipDate": null,
			"FirmStatusCode": null,
			"FirmStatus": null,
			"FirmQuantity": null,
			"FirmDate": null,
			"ImplementQuantity": 0,
			"ImplementDockDate": "2024-01-15",
			"ImplementShipDate": "2024-01-14",
			"ImplementDate": "2024-01-17",
			"MappedImplementLocationId": null,
			"ImplementFirm": 2,
			"ImplementLocationId": null,
			"PrimaryUomCode": null,
			"ImplementLocation": null,
			"PrimaryUom": null,
			"ImplementLocationCode": null,
			"SourceUomCode": null,
			"SourceUom": null,
			"UnitVolume": null,
			"VolumeUomCode": null,
			"UnitWeight": null,
			"VolumeUom": null,
			"WeightUomCode": null,
			"WeightUom": null,
			"CarryingCost": null,
			"HasPriceBreakFlag": true,
			"ListPrice": null,
			"OrderCost": null,
			"StandardCost": null,
			"PriceSavings": null,
			"OrganizationCurrency": null,
			"FixedDaysOfSupply": null,
			"FixedLotMultiplier": null,
			"FixedOrderQuantity": null,
			"MaximumOrderQuantity": null,
			"MinimumOrderQuantity": null,
			"PlanningTimeFenceDays": null,
			"ProcessingLeadTime": null,
			"PostProcessingLeadTime": null,
			"ItemPlanner": null,
			"EmployeeId": null,
			"PoLineId": null,
			"PoLineLocationId": null,
			"RangeFilterDate": null,
			"PlannerCode": null,
			"ObjectVersionNumber": 2,
			"CreatedBy": null,
			"CreationDate": null,
			"LastUpdatedBy": null,
			"LastUpdateDate": null,
			"links": [
				{
					. . .
				}
			]
		}
	],
	"count": 3
}
Back to Top