Resource Rates
resourceRates Based on 26C
Create, change, delete and look up Resource Rates, with resource rate details. Actions include add cost element and decrease cost.
The record key resourceRatesUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
Oracle documents an Effective-Of header and an effectiveDate parameter for this resource, used for date-effective reads and changes.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE7 actions
- Record key
resourceRatesUniqID- Required on create
CostBookCodeCostBookIdCostOrgIdCostOrgNameCurrencyCodeEffectiveStartDateInvOrgIdInvOrgNameResourceIdResourceNameScenarioIdUOM- At a glance
- 49 fields1 finders2 children
- Extra parameters
?effectiveDate=Effective-Of:
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/resourceRates?fields=AttachmentEntityName,CostBookCode,CostBookId,CostOrgCode,CostOrgId&limit=25&onlyData=true
{
"items": [
{
"AttachmentEntityName": "CST_STD_RESOURCE_RATES",
"CostBookCode": "<string, max 30>",
"CostBookId": 0,
"CostOrgCode": "<string, max 150>",
"CostOrgId": 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 49
| Attribute | Type | Use |
|---|---|---|
AttachmentEntityName | text · default CST_STD_RESOURCE_RATES | Optional on createUpdatableSearchable |
CostBookCode | text · max 30 | Required on createSearchable |
CostBookId | number | Required on createSearchable |
CostOrgCode | text · max 150 | Read-onlySearchable |
CostOrgId | number | Required on createSearchable |
CostOrgName | text · max 240 | Required on createSearchable |
CreatedBy | text · max 64 | Read-only |
CreationDate | date-time | Read-only |
CreationSource | text · max 11 · default REST | Optional on createUpdatableSearchable |
CurrencyCode | text · max 15 | Required on createSearchable |
EffectiveEndDate | date | Optional on createSearchable |
EffectiveStartDate | date | Required on createSearchable |
ExtendedPrecision | number · default 5 | Read-onlySearchable |
FromPeriodName | text · max 15 | Optional on createUpdatableSearchable |
InvOrgCode | text · max 18 | Read-onlySearchable |
InvOrgId | number | Required on createSearchable |
InvOrgName | text · max 240 | Required on createSearchable |
LastUpdateDate | date-time | Read-only |
LastUpdateSource | text · max 11 · default REST | Optional on createUpdatableSearchable |
LastUpdatedBy | text · max 64 | Read-only |
LastUsedDate | date-time | Optional on createUpdatableSearchable |
LastUsedTransactionId | number | Optional on createUpdatable |
PeriodStatusCode | text · max 30 | Read-onlySearchable |
PeriodStatusMeaning | text · max 80 | Read-onlySearchable |
PeriodicAverageFlagMeaning | text · max 80 | Read-onlySearchable |
Precision | number · default 2 | Read-onlySearchable |
PreviousEffectiveEndDate | date-time | Optional on createUpdatableSearchable |
PreviousEffectiveStartDate | date-time | Optional on createUpdatableSearchable |
PreviousStandardResourceRateId | number | Optional on createUpdatable |
PrimaryBookFlag | yes/no · max 1 | Read-onlySearchable |
ProcessedFlagMeaning | text · max 80 | Read-onlySearchable |
ResourceCode | text · max 30 | Read-onlySearchable |
ResourceId | number | Required on createSearchable |
ResourceName | text · max 80 | Required on createSearchable |
ResourceType | text · max 30 | Read-onlySearchable |
ResourceTypeMeaning | text · max 80 | Read-onlySearchable |
ScenarioEventId | number | Optional on createUpdatable |
ScenarioId | number | Required on createSearchable |
ScenarioNumber | text · max 30 | Optional on createSearchable |
ScenarioPublishHeaderId | number | Optional on createUpdatable |
ScenarioRollupHeaderId | number | Optional on createUpdatable |
StagedForStandardCostAdjustmentFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
StandardResourceRateId | number | Optional on createSearchable |
StatusCode | text · max 30 · default IN_PROCESS | Optional on createSearchable |
StatusCodeMeaning | text · max 80 | Read-onlySearchable |
ToPeriodName | text · max 15 | Optional on createUpdatableSearchable |
TotalRate | number | Read-onlySearchable |
UOM | text · max 30 | Required on createSearchable |
UOMName | text · max 25 | Read-onlySearchable |
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.
PublishedResourceRateByInvOrgAsOfDate·bindAsOfDatebindInvOrgName
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 2
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/resourceRates/{resourceRatesUniqID}/child/<name>. Add them to a GET with expand.
attachmentsGET · POST · PATCH · DELETE Attachments · 32 fieldsAsyncTrackerIdAttachedDocumentIdCategoryNameContentRepositoryFileSharedCreatedByCreatedByUserNameCreationDateDatatypeCodeDescriptionDmDocumentIdDmFolderPathDmVersionNumberDownloadInfoErrorStatusCodeErrorStatusMessageExpirationDateFileContentsFileNameFileUrlFileWebImageLastUpdateDateLastUpdatedByLastUpdatedByUserNamePostProcessingActionTitleUploadedFileContentTypeUploadedFileLengthUploadedFileNameUploadedTextUriUrlUserNameresourceRateDetailsGET · POST · PATCH · DELETE Resource Rate Details · 18 fieldsCostElementCodeCostElementDescriptionCostElementIdCostElementTypeCostElementTypeMeaningCreatedByCreationDateCreationSourceExpensePoolCodeExpensePoolIdExpensePoolNameLastUpdateDateLastUpdateLoginLastUpdateSourceLastUpdatedByStandardResourceRateDetailIdStandardResourceRateIdUnitRate
Actions 7
POST …/{resourceRatesUniqID}/action/addCostElement·costElementIdmassEditValueexpensePoolIdPOST …/{resourceRatesUniqID}/action/decreaseCost·costElementIdmassEditValuemassEditLevelcostElementTypemassEditValueTypePOST …/{resourceRatesUniqID}/action/deleteCostElement·costElementIdmassEditLevelcostElementTypePOST …/{resourceRatesUniqID}/action/increaseCost·costElementIdmassEditValuemassEditLevelcostElementTypemassEditValueTypePOST …/{resourceRatesUniqID}/action/replaceCost·costElementIdmassEditValuemassEditLevelcostElementTypePOST …/{resourceRatesUniqID}/action/substituteCostElement·sourceCostElementIdtargetCostElementIdPOST …/{resourceRatesUniqID}/action/substituteExpensePool·sourceExpensePoolIdtargetExpensePoolId
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/resourceRatesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
PublishedResourceRateByInvOrgAsOfDatefor 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:AttachmentEntityName, notattachmententityname. - 19 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
onlyData=trueremoveslinks, and this resource's key only comes fromlinks. Leave it off when you need the key.- 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.