Asset Logical Hierarchy Relationships
assetLogicalHierarchyRelationships Based on 26C
Create, change, delete and look up Asset Logical Hierarchy Relationships. Actions include create logical relationship lite and update logical relationship lite.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE3 actions
- Record key
RelationshipId- Required on create
- none marked
- At a glance
- 26 fields0 finders0 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/assetLogicalHierarchyRelationships?fields=HierarchyCode,HierarchyDescription,HierarchyId,HierarchyName,ObjectAssetDescription&limit=25&onlyData=true
{
"items": [
{
"HierarchyCode": "<string, max 30>",
"HierarchyDescription": "<string, max 240>",
"HierarchyId": 0,
"HierarchyName": "<string, max 120>",
"ObjectAssetDescription": "<string, max 240>"
}
],
"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 26
| Attribute | Type | Use |
|---|---|---|
HierarchyCode | text · max 30 | Optional on createSearchable |
HierarchyDescription | text · max 240 | Read-onlySearchable |
HierarchyId | number | Optional on createSearchable |
HierarchyName | text · max 120 | Read-onlySearchable |
ObjectAssetDescription | text · max 240 | Read-onlySearchable |
ObjectAssetNumber | text · max 80 | Optional on createUpdatableSearchable |
ObjectAssetOperationOrganization | text · max 18 | Read-onlySearchable |
ObjectHierarchyCode | text · max 30 | Optional on createUpdatableSearchable |
ObjectHierarchyDescription | text · max 240 | Read-onlySearchable |
ObjectHierarchyName | text · max 120 | Read-onlySearchable |
ObjectId | number | Optional on createUpdatableSearchable |
ObjectType | text · max 3 · default A | Optional on createUpdatableSearchable |
ObjectTypeMeaning | text · max 80 | Read-onlySearchable |
PositionNumber | number | Optional on createUpdatableSearchable |
RelationshipId | number | Read-onlySearchable |
RelationshipTypeCode | text · max 30 · default ORA_HIERARCHY | Optional on createSearchable |
RootHierarchyId | number | Read-onlySearchable |
SubjectAssetDescription | text · max 240 | Read-onlySearchable |
SubjectAssetNumber | text · max 80 | Optional on createSearchable |
SubjectAssetOperationOrganization | text · max 18 | Read-onlySearchable |
SubjectHierarchyCode | text · max 30 | Optional on createSearchable |
SubjectHierarchyDescription | text · max 240 | Read-onlySearchable |
SubjectHierarchyName | text · max 120 | Read-onlySearchable |
SubjectId | number | Optional on createSearchable |
SubjectType | text · max 3 · default A | Optional on createSearchable |
SubjectTypeMeaning | text · max 80 | 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.
Actions 3
POST …/action/createLogicalRelationshipLite·hierarchyIdsubjectTypeobjectIdsubjectIdobjectTypePOST …/action/updateLogicalRelationshipLite·relationshipIdobjectIdobjectTypePOST …/action/updateLogicalRelationshipPosition·actionrelationshipId
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/assetLogicalHierarchyRelationshipsand 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:HierarchyCode, nothierarchycode. - 14 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- 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.