Inspection Plans
inspectionPlans Based on 26C
Create, change and look up Inspection Plans, with criteria, expression dependencies and specifications. Actions include copy plan and create new version.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)2 actions
- Record key
InspectionPlanId- Required on create
NameOrganizationIdStatusTypeVersionNumber- At a glance
- 40 fields3 finders5 children1 file/large text fields
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/inspectionPlans?fields=Approver,AssetGroupId,AssetGroupNumber,AssetId,AssetNumber&limit=25&onlyData=true
{
"items": [
{
"Approver": "<string, max 100>",
"AssetGroupId": 0,
"AssetGroupNumber": "<string, max 255>",
"AssetId": 0,
"AssetNumber": "<string, max 255>"
}
],
"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 40
| Attribute | Type | Use |
|---|---|---|
Approver | text · max 100 | Optional on createUpdatableSearchable |
AssetGroupId | number | Optional on createSearchable |
AssetGroupNumber | text · max 255 | Optional on createSearchable |
AssetId | number | Optional on createSearchable |
AssetNumber | text · max 255 | Optional on createSearchable |
CatalogName | text | Optional on createSearchable |
CategoryId | number | Optional on createSearchable |
CategoryName | text | Optional on createSearchable |
CategorySetId | number | Optional on createSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Description | text · max 240 | Optional on createUpdatableSearchable |
EffectiveEndDate | date-time | Optional on createUpdatableSearchable |
EffectiveStartDate | date-time | Optional on createSearchable |
EnabledFlag | yes/no · max 1 · default true | Optional on createSearchable |
InspectionInstructions | text | Optional on createUpdatable |
InspectionLevelDescription | text | Read-onlySearchable |
InspectionLevelId | number | Optional on createUpdatableSearchable |
InspectionLevelName | text | Optional on createUpdatableSearchable |
InspectionPlanId | number | Optional on createSearchable |
InventoryItemId | number | Optional on createSearchable |
ItemNumber | text | Optional on createSearchable |
ItemRevision | text · max 18 | Optional on createSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
Name | text · max 80 | Required on createUpdatableSearchable |
OptionalFlag | yes/no · max 1 · default false | Optional on createUpdatableSearchable |
OrganizationCode | text | Optional on createSearchable |
OrganizationId | number | Required on createSearchable |
OrganizationName | text · max 240 | Read-only |
Owner | text · max 100 | Optional on createUpdatableSearchable |
PlanStatusMeaning | text · max 80 | Read-only |
PlanTypeMeaning | text · max 80 | Read-only |
ResourceId | number | Optional on createSearchable |
ResourceName | text | Optional on createSearchable |
Status | text · max 30 | Required on createUpdatableSearchable |
Type | text · max 30 | Required on createSearchable |
VersionNumber | text · max 30 | Required on createSearchable |
WorkCenter | text | Optional on createSearchable |
WorkCenterId | number | Optional on createSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 3
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findByInspectionPlanName·NamefindInspectionPlans·bindApproverbindAssetGroupbindAssetGroupIdbindAssetIdbindAssetNumberbindCatalogNamebindCategoryIdbindCategoryNamebindCategorySetIdbindEnabledFlagbindEndDatebindInspectionLevelIdbindInspectionLevelNamebindInventoryItemIdbindItemNumberbindItemRevisionbindNamebindOptionalbindOrganizationCodebindOrganizationIdbindOrganizationNamebindOwnerbindResourceIdbindResourceNamebindStartDatebindStatusbindTypebindVersionbindWorkCenterbindWorkCenterIdfindSecuredInspectionPlans·bindPrivilege
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 5
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/inspectionPlans/{InspectionPlanId}/child/<name>. Add them to a GET with expand.
attachmentsGET · POST · PATCH · DELETE Attachments in Inspection Plans · 32 fieldsAsyncTrackerIdAttachedDocumentIdCategoryNameContentRepositoryFileSharedCreatedByCreatedByUserNameCreationDateDatatypeCodeDescriptionDmDocumentIdDmFolderPathDmVersionNumberDownloadInfoErrorStatusCodeErrorStatusMessageExpirationDateFileContentsFileNameFileUrlFileWebImageLastUpdateDateLastUpdatedByLastUpdatedByUserNamePostProcessingActionTitleUploadedFileContentTypeUploadedFileLengthUploadedFileNameUploadedTextUriUrlUserNamecriteriaGET · POST · PATCH · DELETE Criteria in Inspection Plans · 34 fieldsCreatedByCreationDateCriteriaIdDispatchStatusDispatchStatusMeaningDocumentTypeDocumentTypeMeaningEnabledFlagInspectionPlanIdInspectionPlanTypeLastUpdateDateLastUpdatedByLocatorLocatorIdOperationCodeOperationCodeMeaningOperationSequenceNumberProcurementBUCodeProcurementBUIdSourceOrganizationSourceOrganizationIdSourceOrganizationNameSubinventoryCodeSubinventoryIdSupplierSupplierIdSupplierSiteSupplierSiteIdWorkDefinitionNameWorkDefinitionNameIdWorkOrderSubTypeCodeWorkOrderSubTypeMeaningWorkOrderTypeCodeWorkOrderTypeMeaningexpressionDependenciesGET Expression Dependencies in Inspection Plans · 10 fieldsCreatedByCreationDateDependencyIdDependsOnCharacteristicIdDependsOnSpecificationIdInspectionPlanIdLastUpdateDateLastUpdatedBySourceCharacteristicIdSourceSpecificationIdspecificationsGET · POST · PATCH · DELETE Specifications in Inspection Plans · 32 fieldsAiSuggestionCharacteristicIdCharacteristicNameCreatedByCreationDateDefaultValueFlagExpressionCriteriaExpressionIdExpressionUpdatedGaugeAssetGroupGaugeAssetGroupIdGaugeResourceGaugeResourceIdImageRequiredFlagInspectionPlanIdItemTargetValueLastUpdateDateLastUpdatedByMaximumValueDateMaximumValueNumberMinimumValueDateMinimumValueNumberNonItemTargetValueOptionalFlagSpecificationCharacteristicNameSpecificationIdTargetValueTargetValueDateTargetValueNumberUOMCodeUOMMeaningUserSequenceattachmentsGET · POST · PATCH · DELETE Attachments in Inspection Plan Specifications · 32 fieldsAsyncTrackerIdAttachedDocumentIdCategoryNameContentRepositoryFileSharedCreatedByCreatedByUserNameCreationDateDatatypeCodeDescriptionDmDocumentIdDmFolderPathDmVersionNumberDownloadInfoErrorStatusCodeErrorStatusMessageExpirationDateFileContentsFileNameFileUrlFileWebImageLastUpdateDateLastUpdatedByLastUpdatedByUserNamePostProcessingActionTitleUploadedFileContentTypeUploadedFileLengthUploadedFileNameUploadedTextUriUrlUserName
Actions 2
POST …/{InspectionPlanId}/action/copyPlan·organizationscopyContextPOST …/{InspectionPlanId}/action/createNewVersion·effectiveStartDate
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/inspectionPlansand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByInspectionPlanNamefor 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:Approver, notapprover. - 8 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.