Production Resources
productionResources Based on 26C
Create, change, delete and look up Production Resources, with equipment instance, labor instance and program file name.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ResourceId- Required on create
ResourceCodeResourceNameResourceTypeUOMCode- At a glance
- 22 fields6 finders6 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/productionResources?fields=AutomationEquipmentFlag,CostedFlag,DefaultExpenditureTypeId,DefaultExpenditureTypeName,HcmSchedulingGroupCode&limit=25&onlyData=true
{
"items": [
{
"AutomationEquipmentFlag": false,
"CostedFlag": false,
"DefaultExpenditureTypeId": 0,
"DefaultExpenditureTypeName": "<string, max 240>",
"HcmSchedulingGroupCode": "<string, max 30>"
}
],
"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 22
| Attribute | Type | Use |
|---|---|---|
AutomationEquipmentFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
CostedFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
DefaultExpenditureTypeId | number | Optional on createUpdatableSearchable |
DefaultExpenditureTypeName | text · max 240 | Optional on createUpdatableSearchable |
HcmSchedulingGroupCode | text · max 30 | Optional on createUpdatableSearchable |
HcmSchedulingGroupName | text · max 255 | Read-only |
InactiveDate | date | Optional on createUpdatableSearchable |
OrganizationCode | text · max 18 | Optional on createSearchable |
OrganizationId | number | Optional on createSearchable |
OrganizationName | text · max 240 | Read-onlySearchable |
ResourceClassCode | text · max 30 | Optional on createUpdatableSearchable |
ResourceClassMeaning | text · max 255 | Read-only |
ResourceCode | text · max 30 | Required on createUpdatableSearchable |
ResourceDescription | text · max 240 | Optional on createUpdatableSearchable |
ResourceId | number | Optional on createSearchable |
ResourceInstancesCount | number | Optional on createUpdatableSearchable |
ResourceName | text · max 80 | Required on createUpdatableSearchable |
ResourceType | text · max 30 | Required on createUpdatableSearchable |
ResourceTypeMeaning | text · max 255 | Read-only |
Status | text · max 255 | Read-onlySearchable |
UOMCode | text · max 3 | Required on createUpdatableSearchable |
UnitOfMeasure | text · max 25 | Read-only |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 6
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
EquipmentResourcesByInstance·AssetItemIdAssetItemNumberAssetNumberEquipmentIdentifierEquipmentInstanceIdOrganizationIdPrimaryWorkCenterCodePrimaryWorkCenterIdLaborResourcesByInstance·FirstNameLaborIdentifierLaborInstanceIdLastNameMiddleNameOrganizationIdPartyIdPersonNamePersonTypePrimaryWorkCenterCodePrimaryWorkCenterIdProductionResourcesChangedAfter·ChangedDateOrganizationIdResourceTypefindByOrganizationIdAndCostedFlag·CostedFlagOrganizationIdfindByOrganizationIdAndResourceType·OrganizationIdResourceTypefindByWorkCenterId·WorkCenterId
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 6
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/productionResources/{ResourceId}/child/<name>. Add them to a GET with expand.
EquipmentInstanceGET · POST · PATCH · DELETE Equipment Instances · 16 fields · 1 findersAssetDescriptionAssetIdAssetItemDescriptionAssetItemIdAssetItemNumberAssetNumberEquipmentIdentifierEquipmentInstanceIdEquipmentInstanceNameInactiveDateOrganizationIdPrimaryWorkCenterCodePrimaryWorkCenterIdPrimaryWorkCenterNameResourceCodeResourceIdEquipmentInstanceDFFGET · POST · PATCH Flexfields for Equipment Instances · 3 fieldsEquipmentInstanceId__FLEX_Context__FLEX_Context_DisplayValueLaborInstanceGET · POST · PATCH · DELETE Labor Instances · 15 fieldsInactiveDateLaborIdentifierLaborInstanceIdLaborInstanceNameOrganizationIdPartyIdPartyUsageMeaningPersonNamePersonTypePrimaryPhoneNumberPrimaryWorkCenterCodePrimaryWorkCenterIdRegistryIdResourceCodeResourceIdLaborInstanceDFFGET · POST · PATCH Flexfields for Labor Instances · 3 fieldsLaborInstanceId__FLEX_Context__FLEX_Context_DisplayValueProgramFileNameGET · POST · DELETE Program File Names · 7 fieldsCurrentRevisionEquipmentProgramFileIdOrganizationIdProgramFileIdProgramFileNameResourceCodeResourceIdResourceDFFGET · POST · PATCH Flexfields for Resources · 3 fieldsResourceId__FLEX_Context__FLEX_Context_DisplayValue
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/productionResourcesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
EquipmentResourcesByInstancefor 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:AutomationEquipmentFlag, notautomationequipmentflag. - 6 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.