External Purchase Prices
externalPurchasePrices Based on 26C
Change and look up External Purchase Prices, with lines. Actions include update line status and update row line status. No create.
- Operations
- GET (list)GET (one)PATCH (update)2 actions
- Record key
HeaderId- Required on create
- no create on this resource
- At a glance
- 31 fields0 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/externalPurchasePrices?fields=ApprovalStatus,ApprovalStatusCode,BuyerId,BuyerName,CurrencyCode&limit=25&onlyData=true
{
"items": [
{
"ApprovalStatus": "<string, max 80>",
"ApprovalStatusCode": "<string, max 30>",
"BuyerId": 0,
"BuyerName": "<string, max 255>",
"CurrencyCode": "<string, max 15>"
}
],
"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 31
| Attribute | Type | Use |
|---|---|---|
ApprovalStatus | text · max 80 | UpdatableSearchable |
ApprovalStatusCode | text · max 30 | UpdatableSearchable |
BuyerId | number | UpdatableSearchable |
BuyerName | text · max 255 | Read-only |
CurrencyCode | text · max 15 | Read-onlySearchable |
EndDate | date | Read-onlySearchable |
ExpiredFlag | yes/no · max 1 | Read-onlySearchable |
ExternalPurchasePricesNumber | number | Read-onlySearchable |
HeaderId | number | Searchable |
LastUpdateDate | date-time | Read-onlySearchable |
ManufacturerName | text · max 700 | Read-onlySearchable |
ObjectVersionNumber | number | UpdatableSearchable |
ProcurementBUId | number | Read-onlySearchable |
ProcurementBUName | text · max 240 | Read-onlySearchable |
RequisitioningBUGroupId | number | UpdatableSearchable |
RequisitioningBUName | text · max 700 | Read-onlySearchable |
Source | text · max 60 | Read-onlySearchable |
SourceContractDescription | text · max 2000 | Read-onlySearchable |
SourceContractNumber | text · max 120 | Read-onlySearchable |
SourceContractType | text · max 80 | Read-onlySearchable |
SourceContractTypeCode | text · max 30 | Read-onlySearchable |
SourceReferenceId | text · max 30 | Read-onlySearchable |
SourceType | text · max 60 | Read-onlySearchable |
StartDate | date | Read-onlySearchable |
SupplierId | number | Read-onlySearchable |
SupplierName | text · max 360 | Read-onlySearchable |
SupplierNumber | text · max 30 | Read-onlySearchable |
SupplierSite | text · max 240 | Read-onlySearchable |
SupplierSiteId | number | Read-onlySearchable |
TierDescription | text · max 2000 | Read-onlySearchable |
TierLevel | number | Read-onlySearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 1
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/externalPurchasePrices/{HeaderId}/child/<name>. Add them to a GET with expand.
linesGET · PATCH Lines · 30 fieldsAdjustedPriceAdjustmentPercentageCancelledFlagHeaderIdInventoryItemIdItemDescriptionItemNumberLastUpdateDateLineEndDateLineIdLineNumberLineStartDateLineStatusLineStatusCodeManufacturerPartNumberObjectVersionNumberPricePurchaseAgreementFlagPurchaseAgreementNumberPurchasingCategoryIdPurchasingCategoryNameSelectionEnabledFlagSupplierPartNumberUNSPSCCodeUOMCodeUnitOfMeasureUpdateFlagUserSelectedFlagValidatedFlagValidationOrgId
Actions 2
POST …/action/updateLineStatus·actionTypeselectionTypeheaderIdlineIdsPOST …/{HeaderId}/action/updateRowLineStatus·actionTypeselectionTypelineIds
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/externalPurchasePricesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - 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:ApprovalStatus, notapprovalstatus. - 25 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.