Meter Templates
meterTemplates Based on 26C
Create, change and look up Meter Templates, with meter applicability. Actions include associate meter to asset.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)1 action
- Record key
MeterDefinitionId- Required on create
ActiveStartDateMeterCodeMeterNameMeterTypeCodeReadingDirectionReadingTypeCodeResetAllowedFlagRolloverAllowedFlagUOMCode- At a glance
- 31 fields1 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/meterTemplates?fields=ActiveEndDate,ActiveStartDate,AllowInMaintProgramFlag,DailyUtilizationRate,InitialReadingValue&limit=25&onlyData=true
{
"items": [
{
"ActiveEndDate": "2026-01-31T09:00:00+00:00",
"ActiveStartDate": "2026-01-31T09:00:00+00:00",
"AllowInMaintProgramFlag": false,
"DailyUtilizationRate": 0,
"InitialReadingValue": 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 31
| Attribute | Type | Use |
|---|---|---|
ActiveEndDate | date-time | Optional on createUpdatableSearchable |
ActiveStartDate | date-time | Required on createUpdatableSearchable |
AllowInMaintProgramFlag | yes/no · max 1 · default false | Optional on createUpdatableSearchable |
DailyUtilizationRate | number | Optional on createUpdatableSearchable |
InitialReadingValue | number | Optional on createUpdatableSearchable |
MeterCode | text · max 30 | Required on createSearchable |
MeterDefinitionId | number | Optional on createUpdatableSearchable |
MeterDescription | text · max 240 | Optional on createUpdatableSearchable |
MeterName | text · max 120 | Required on createSearchable |
MeterType | text · max 80 | Read-onlySearchable |
MeterTypeCode | text · max 30 | Required on createSearchable |
MetersCreatedFlag | yes/no · max 255 · default false | Optional on createUpdatableSearchable |
ReadingDirection | text · max 30 | Required on createSearchable |
ReadingDirectionMeaning | text · max 80 | Read-onlySearchable |
ReadingMaximumValue | number | Optional on createUpdatableSearchable |
ReadingMinimumValue | number | Optional on createUpdatableSearchable |
ReadingType | text · max 80 | Read-onlySearchable |
ReadingTypeCode | text · max 30 | Required on createSearchable |
RecordAtWoComplCode | text · max 30 · default ORA_DO_NOT_ALLOW | Optional on createUpdatableSearchable |
RecordAtWoCompletion | text · max 80 | Read-onlySearchable |
ResetAllowed | text · max 80 | Read-onlySearchable |
ResetAllowedFlag | yes/no · max 1 | Required on createUpdatableSearchable |
ResetValue | number | Optional on createUpdatableSearchable |
RolloverAllowed | text · max 80 | Read-onlySearchable |
RolloverAllowedFlag | yes/no · max 1 | Required on createUpdatableSearchable |
RolloverMaximumValue | number | Optional on createUpdatableSearchable |
RolloverResetValue | number | Optional on createUpdatableSearchable |
Status | text · max 255 | Optional on createUpdatableSearchable |
UOMCode | text · max 3 | Required on createUpdatableSearchable |
UnitOfMeasure | text · max 25 | Read-onlySearchable |
UtilizationRateComputedAt | number | 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.
Finders 1
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
MeterDefnByMeterDefnId·MeterDefinitionId
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/meterTemplates/{MeterDefinitionId}/child/<name>. Add them to a GET with expand.
MeterApplicabilityGET · POST · PATCH Applicabilities · 10 fields · 2 findersActiveEndDateActiveStartDateApplicabilityIdItemDescriptionItemIdItemNumberMasterOrganizationCodeMasterOrganizationIdMeterDefinitionIdObjectVersionNumber
Actions 1
POST …/action/associateMeterToAsset·meterDefinitionId
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/meterTemplatesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
MeterDefnByMeterDefnIdfor 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:ActiveEndDate, notactiveenddate. - 7 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.