Mass Replacement Headers
massReplacementHeaders Based on 26C
Create, change, delete and look up Mass Replacement Headers, with mass replacement grouped orgs and mass replacement lines. Actions include insert into grouped orgs and raise notify planner event.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE3 actions
- Record key
ReplacementId- Required on create
PrimaryItemIdPrimaryItemNumberProcurementBUIdProcurementBUNameReplacementDefTypeCodeReplacementHeaderStatusCodeReplacementLevelTypeCodeReplacementTypeCodeSupplierIdSupplierNameSupplierSiteSupplierSiteId- At a glance
- 46 fields1 finders3 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/massReplacementHeaders?fields=CreatedBy,CreationDate,DisruptionReason,DisruptionReasonCode,EnableReinstateFlag&limit=25&onlyData=true
{
"items": [
{
"CreatedBy": "<string, max 64>",
"CreationDate": "2026-01-31T09:00:00+00:00",
"DisruptionReason": "<string, max 80>",
"DisruptionReasonCode": "<string, max 30>",
"EnableReinstateFlag": false
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's 26C REST specification.
Fields 46
| Attribute | Type | Use |
|---|---|---|
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
DisruptionReason | text · max 80 | Read-onlySearchable |
DisruptionReasonCode | text · max 30 | Optional on createSearchable |
EnableReinstateFlag | yes/no | Read-onlySearchable |
EstimatedEndDate | date | Optional on createUpdatableSearchable |
ExceptionCount | number | Read-only |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
LinesCount | number | Read-onlySearchable |
MakePermanentFlag | yes/no · max 255 | Read-only |
ManufacturerPartId | number | Optional on createSearchable |
ManufacturerPartNumber | text · max 150 | Optional on createSearchable |
MarkCompleteFlag | yes/no · max 255 | Read-only |
ObjectVersionNumber | number | Optional on createUpdatableSearchable |
PackagingString | text · max 255 | Read-only |
PrimaryItemDescription | text · max 240 | Read-onlySearchable |
PrimaryItemId | number | Required on createSearchable |
PrimaryItemImageURL | text · max 4000 | Read-onlySearchable |
PrimaryItemNumber | text · max 300 | Required on createSearchable |
PrimaryUnitOfMeasure | text · max 25 | Read-onlySearchable |
ProcurementBUId | number | Required on createSearchable |
ProcurementBUName | text · max 240 | Required on createSearchable |
PurchasingUnitOfMeasure | text · max 255 | Read-onlySearchable |
ReinstateFlag | yes/no · max 255 | Read-onlySearchable |
ReinstateGlobalFlag | yes/no · max 255 | Read-only |
ReplacementDefType | text · max 80 | Optional on createSearchable |
ReplacementDefTypeCode | text · max 30 | Required on createSearchable |
ReplacementEndDate | date | Optional on createUpdatableSearchable |
ReplacementFlag | yes/no · max 255 | Read-onlySearchable |
ReplacementHeaderStatus | text · max 80 | Optional on createUpdatableSearchable |
ReplacementHeaderStatusCode | text · max 30 | Required on createUpdatableSearchable |
ReplacementId | number | Optional on createSearchable |
ReplacementLevelType | text · max 80 | Optional on createSearchable |
ReplacementLevelTypeCode | text · max 30 | Required on createSearchable |
ReplacementNumber | number | Read-onlySearchable |
ReplacementStartDate | date | Optional on createUpdatableSearchable |
ReplacementType | text · max 80 | Optional on createUpdatableSearchable |
ReplacementTypeCode | text · max 30 | Required on createUpdatableSearchable |
SubItemNotAssignedFlag | yes/no | Read-onlySearchable |
SupplierId | number | Required on createSearchable |
SupplierName | text · max 360 | Required on createSearchable |
SupplierPartNumber | text · max 255 | Read-onlySearchable |
SupplierSite | text · max 240 | Required on createSearchable |
SupplierSiteId | number | Required on createSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 1
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findByDetailInvStatus
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 3
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/massReplacementHeaders/{ReplacementId}/child/<name>. Add them to a GET with expand.
massReplacementGroupedOrgsGET Mass Replacement Grouped Organizations · 8 fieldsGroupIdOrganizationCodeOrganizationIdOrganizationNameReplacementIdReplacementOrgIdRequisitioningBUIdRequisitioningBUNamemassReplacementLinesGET · POST · PATCH Mass Replacement Lines · 54 fields · 1 findersAltSupplierIdAltSupplierNameAltSupplierSiteAltSupplierSiteIdAlternateItemImageURLCopyFromDisruptedItemFlagCopyFromDisruptedTransactionFlagCreatedByCreationDateDetailInvStatusDetailInvStatusCodeDetailStatusDetailStatusCodeGroupIdInvExceptionFlagItemSubInvExistsFlagItemTransactionDefExistsFlagLastUpdateDateLastUpdateLoginLastUpdatedByNewItemLocFlagNewItemSubFlagObjectVersionNumberOrganizationOrganizationCodeOrganizationIdPackagingStringPrimaryUnitOfMeasurePurchasingUnitOfMeasureReinstateReplenishNotifyFlagReinstateRequestIdReinstateSrcDocumentLineNumberReinstateSrcDocumentNumberReplacementDetailIdReplacementEndDateReplacementIdReplacementReplenishNotifyFlagReplacementRequestIdReplacementStartDateReplenishByInvSourceFlagRequestIdRequisitioningBUIdRequisitioningBUNameSourceDocumentLineNumberSourceDocumentNumberStuckInProgressFlagSubstituteItemDescriptionSubstituteItemIdSubstituteItemNumberSubstituteMPNIdSubstituteManufacturerPartNumberSubstituteTypeSubstituteTypeCodeSupplierPartNumbermassReplacementPODetailsGET · POST Mass Replacement Purchase Order Details · 11 fieldsInlineReplacementFlagPODetailIdPODistributionIdPOHeaderIdPOLineIdPOLineLocationIdPOStatusQuantityDueReplacementActionReplacementDetailIdReplacementId
Actions 3
POST …/action/insertIntoGroupedOrgs·orgsToBeGroupedListgroupIdListreplacementIdreqBuIdListPOST …/action/raiseNotifyPlannerEvent·replacementIdreplacementDetailIdPOST …/{ReplacementId}/child/massReplacementLines/action/massReplacementOnInventoryEntities·copyFromDisruptedTransactionFlagcopyFromDisruptedItemFlaginvokedFromreplacementIdreplenishByInvSourceFlagreplacementDetailId
Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/massReplacementHeadersand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByDetailInvStatusfor the agent's main search: its variables become clean tool parameters. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:DisruptionReasonCode, notdisruptionreasoncode. - 22 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.