Unit of Measure Classes
unitOfMeasureClasses Based on 26C
Create, change, delete and look up Unit of Measure Classes, with interclass conversions.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ClassCode- Required on create
BaseUOMCodeBaseUnitOfMeasureClassCodeClassName- At a glance
- 12 fields1 finders3 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/unitOfMeasureClasses?fields=BaseUOMCode,BaseUOMDescription,BaseUnitOfMeasure,ClassCode,ClassDescription&limit=25&onlyData=true
{
"items": [
{
"BaseUOMCode": "<string, max 3>",
"BaseUOMDescription": "<string, max 50>",
"BaseUnitOfMeasure": "<string, max 25>",
"ClassCode": "<string, max 10>",
"ClassDescription": "<string, max 50>"
}
],
"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 12
| Attribute | Type | Use |
|---|---|---|
BaseUOMCode | text · max 3 | Required on createUpdatableSearchable |
BaseUOMDescription | text · max 50 | Optional on createUpdatableSearchable |
BaseUnitOfMeasure | text · max 25 | Required on createUpdatableSearchable |
ClassCode | text · max 10 | Required on createSearchable |
ClassDescription | text · max 50 | Optional on createUpdatableSearchable |
ClassId | text · max 10 | Read-onlySearchable |
ClassName | text · max 10 | Required on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
EndDate | date | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | 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.
ClassCodeFinder·ClassCode
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 3
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/unitOfMeasureClasses/{ClassCode}/child/<name>. Add them to a GET with expand.
DFFGET · POST · PATCH Flexfields for Unit of Measure Classes · 3 fieldsUomClass__FLEX_Context__FLEX_Context_DisplayValueUnitOfMeasureDFFGET · POST · PATCH Flexfields for Units of Measure · 3 fieldsUnitOfMeasureId__FLEX_Context__FLEX_Context_DisplayValueinterclassConversionsGET · POST · PATCH Unit of Measure Interclass Conversions · 15 fieldsCreatedByCreationDateFromUOMClassIdFromUOMCodeInterclassConversionInterclassConversionEndDateInterclassConversionIdInventoryItemIdInverseConversionFlagInverseConversionRateItemNumberLastUpdateDateLastUpdatedByToUOMClassIdToUOMCode
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/unitOfMeasureClassesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
ClassCodeFinderfor 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:BaseUOMCode, notbaseuomcode. - 5 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.