Cost Lists
costLists Based on 26C
Create, change, delete and look up Cost Lists, with access sets, items and referenced entities. Actions include populate charge and cost element.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE2 actions
- Record key
CostListId- Required on create
BusinessUnitIdCostListNameCurrencyCodeStartDate- At a glance
- 20 fields0 finders7 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/costLists?fields=BusinessUnit,BusinessUnitId,ChargeDefinition,ChargeDefinitionCode,ChargeDefinitionId&limit=25&onlyData=true
{
"items": [
{
"BusinessUnit": "<string, max 255>",
"BusinessUnitId": 0,
"ChargeDefinition": "<string, max 255>",
"ChargeDefinitionCode": "<string, max 255>",
"ChargeDefinitionId": 0
}
],
"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 20
| Attribute | Type | Use |
|---|---|---|
BusinessUnit | text · max 255 | Optional on createUpdatableSearchable |
BusinessUnitId | number | Required on createSearchable |
ChargeDefinition | text · max 255 | Optional on createSearchable |
ChargeDefinitionCode | text · max 255 | Optional on createSearchable |
ChargeDefinitionId | number | Optional on createSearchable |
CostElement | text · max 255 | Optional on createSearchable |
CostElementCode | text · max 30 | Optional on createSearchable |
CostListDescription | text · max 1000 | Optional on createUpdatableSearchable |
CostListId | number | Optional on createUpdatableSearchable |
CostListName | text · max 80 | Required on createSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Currency | text · max 255 | Optional on createUpdatableSearchable |
CurrencyCode | text · max 15 | Required on createUpdatableSearchable |
EndDate | date-time | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
StartDate | date-time | Required on createUpdatableSearchable |
Status | text · max 255 | Optional on createUpdatableSearchable |
StatusCode | text · max 30 · default IN_PROGRESS | Optional on createUpdatableSearchable |
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 7
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/costLists/{CostListId}/child/<name>. Add them to a GET with expand.
accessSetsGET · POST · DELETE Access Sets · 11 fieldsAccessSetCodeAccessSetDescriptionAccessSetIdAccessSetNameCostListIdCostListSetIdCreatedByCreationDateLastUpdateDateLastUpdateLoginLastUpdatedByheaderDFFGET · POST · PATCH Header Flexfields · 3 fieldsCostListId__FLEX_Context__FLEX_Context_DisplayValueitemsGET · POST · PATCH · DELETE Items · 16 fieldsCostListIdCostListItemIdCostListNameCreatedByCreationDateEndDateInventoryOrgIdItemIdItemLevelCodeLastUpdateDateLastUpdatedByLineTypeCodePricingUOMCodeServiceDurationServiceDurationPeriodCodeStartDatechargesGET · POST · PATCH · DELETE Charges · 24 fieldsChargeDefinitionIdChargeLineNumberChargeTypeCodeCostAmountCostBasisElementCodeCostCalculationTypeCodeCostElementCodeCostListChargeIdCostMatrixIdCostMethodCodeCostPlusPricingFlagCostTypeCodeCreatedByCreationDateEndDateKindOfCostCodeLastUpdateDateLastUpdatedByParentEntityIdParentEntityTypeCodePricePeriodicityCodePriceTypeCodeStartDateUsageUOMCodechargesDFFGET · POST · PATCH Charge Flexfields · 3 fieldsCostListChargeId__FLEX_Context__FLEX_Context_DisplayValueitemsDFFGET · POST · PATCH Items Flexfields · 3 fieldsCostListItemId__FLEX_Context__FLEX_Context_DisplayValuereferencedEntitiesGET · POST · PATCH Referenced Entities · 5 fieldsEntityIdReferenceEntityIdReferenceEntityNameReferenceEntityTypeReferenceEntityTypeCode
Actions 2
POST …/{CostListId}/action/populateChargeAndCostElementPOST …/{CostListId}/child/items/{CostListItemId}/child/charges/{CostListChargeId}/action/validateDateOverlap·StartDateEndDate
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/costListsand 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:BusinessUnit, notbusinessunit. - 4 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.