Maintenance Forecasts
maintenanceForecasts Based on 26C
Change and look up Maintenance Forecasts, with forecast lines. Actions include generate work requirement forecasts and manage forecast work orders. No create.
- Operations
- GET (list)GET (one)PATCH (update)2 actions
- Record key
ForecastId- Required on create
- no create on this resource
- At a glance
- 47 fields0 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/maintenanceForecasts?fields=AssetDescription,AssetId,AssetLocation,AssetLocationCode,AssetNumber&limit=25&onlyData=true
{
"items": [
{
"AssetDescription": "<string, max 240>",
"AssetId": 0,
"AssetLocation": "<string, max 80>",
"AssetLocationCode": "<string, max 80>",
"AssetNumber": "<string, max 80>"
}
],
"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 47
| Attribute | Type | Use |
|---|---|---|
AssetDescription | text · max 240 | Read-onlySearchable |
AssetId | number | Read-onlySearchable |
AssetLocation | text · max 80 | Read-onlySearchable |
AssetLocationCode | text · max 80 | Read-onlySearchable |
AssetNumber | text · max 80 | Read-onlySearchable |
AssetOperatingOrgCode | text · max 18 | Read-onlySearchable |
AssetOperatingOrgId | number | Read-onlySearchable |
AssetSerialNumber | text · max 80 | Read-onlySearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
ForecastDueDate | date | Read-onlySearchable |
ForecastId | number | Read-onlySearchable |
ForecastOrganizationCode | text · max 18 | Read-onlySearchable |
ForecastOrganizationId | number | UpdatableSearchable |
ForecastStatus | text · max 255 | Read-onlySearchable |
ForecastStatusCode | text · max 255 | Read-onlySearchable |
GlobalAssetsFlag | yes/no · max 1 | Read-onlySearchable |
ItemId | number | Read-onlySearchable |
ItemNumber | text · max 300 | Read-onlySearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
MultipleForecastLinesFlag | yes/no · max 255 | Read-onlySearchable |
ProgramCode | text · max 30 | Read-onlySearchable |
ProgramId | number | Read-onlySearchable |
ProgramName | text · max 120 | Read-onlySearchable |
ProgramOrganizationCode | text · max 18 | Read-onlySearchable |
ProgramOrganizationId | number | Read-onlySearchable |
ProgramReference | text · max 80 | Read-onlySearchable |
ProgramSubType | text · max 80 | Read-onlySearchable |
ProgramSubTypeCode | text · max 30 | Read-onlySearchable |
ProgramType | text · max 80 | Read-onlySearchable |
ProgramTypeCode | text · max 30 | Read-onlySearchable |
RequestedWoOrganizationCode | text · max 18 | Read-onlySearchable |
RequestedWoOrganizationId | number | UpdatableSearchable |
RequestedWoStartDate | date-time | UpdatableSearchable |
RequirementName | text · max 255 | Read-onlySearchable |
RootAssetId | number | Read-onlySearchable |
RootAssetNumber | text · max 80 | Read-onlySearchable |
SkipDueDateFlag | yes/no · max 1 | UpdatableSearchable |
WarrantyRepairFlag | yes/no · max 1 | Read-onlySearchable |
WorkOrderId | number | UpdatableSearchable |
WorkOrderNumber | text · max 120 | Read-onlySearchable |
WorkOrderOrganizationCode | text · max 18 | Read-onlySearchable |
WorkOrderOrganizationId | number | Read-onlySearchable |
WorkOrderStartDate | date-time | Read-onlySearchable |
WorkOrderStatus | text · max 120 | Read-onlySearchable |
WorkOrderStatusCode | text · max 30 | 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/maintenanceForecasts/{ForecastId}/child/<name>. Add them to a GET with expand.
forecastLinesGET Forecast Lines · 33 fieldsCalendarPatternCalendarPatternIdCreateWoOptionCreateWorkOrderOptionCodeDayIntervalValueDueAtCycleIntervalDueAtMeterReadingForecastDueDateForecastIdForecastIntervalForecastLineIdForecastMethodForecastNextDueByForecastNextDueByCodeForecastUsingCycleFlagMeterDailyRateMeterIdMeterNameNextWorkOrderOnlyFlagNumberOfIntervalsRequirementEndDateRequirementIdRequirementNameRequirementReferenceRequirementStartDateRequirementTypeRequirementTypeCodeSuppressFlagWorkDefinitionCodeWorkDefinitionDescriptionWorkDefinitionIdWorkDefinitionNameWorkDefinitionVersion
Actions 2
POST …/action/generateWorkRequirementForecasts·assetIdrequirementIdingestIndexPOST …/action/manageForecastWorkOrders·forecastIdworkOrderActionCode
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/maintenanceForecastsand 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:ForecastOrganizationId, notforecastorganizationid. - 42 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.