// fusionrest agent · supply chain and manufacturing · maintenance
Return Routing Rules
returnRoutingRules Based on 26C
Create, change, delete and look up Return Routing Rules. Actions include get destination.
/fscmRestApi/resources/11.13.18.05/returnRoutingRules
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
RuleId- Required on create
- none marked
- At a glance
- 26 fields0 finders0 children
Try it
Response fields ·
Filters (q)
Only attributes Oracle marks as searchable are offered.
Paging and options
limit
GET /fscmRestApi/resources/11.13.18.05/returnRoutingRules?fields=CategoryId,CategoryName,CategorySetCode,CategorySetId,CategorySetName&limit=25&onlyData=true
Response shape (placeholders)
{
"items": [
{
"CategoryId": 0,
"CategoryName": "<string, max 250>",
"CategorySetCode": "<string, max 30>",
"CategorySetId": 0,
"CategorySetName": "<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 26
| Attribute | Type | Use |
|---|---|---|
CategoryId | number | Optional on createUpdatableSearchable |
CategoryName | text · max 250 | Optional on createUpdatableSearchable |
CategorySetCode | text · max 30 | Read-onlySearchable |
CategorySetId | number | Optional on createUpdatableSearchable |
CategorySetName | text · max 30 | Optional on createUpdatableSearchable |
DestinationOrganizationCode | text · max 18 | Optional on createUpdatableSearchable |
DestinationOrganizationId | number | Optional on createUpdatableSearchable |
DestinationOrganizationName | text · max 240 | Read-onlySearchable |
DestinationSubinventory | text · max 10 | Optional on createUpdatableSearchable |
DestinationSubinventoryName | text · max 30 | Read-onlySearchable |
EnabledFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
GeographyId | number | Optional on createUpdatableSearchable |
GeographyName | text · max 360 | Optional on createUpdatableSearchable |
InventoryItemDescription | text · max 240 | Read-onlySearchable |
InventoryItemId | number | Optional on createUpdatableSearchable |
InventoryItemNumber | text · max 300 | Optional on createUpdatableSearchable |
ReturnType | text · max 10 | Optional on createUpdatableSearchable |
ReturnTypeMeaning | text · max 80 | Read-onlySearchable |
RuleId | number | Optional on createUpdatableSearchable |
SourceOrganizationCode | text · max 18 | Optional on createUpdatableSearchable |
SourceOrganizationId | number | Optional on createUpdatableSearchable |
SourceOrganizationName | text · max 240 | Read-onlySearchable |
SourceSubinventory | text · max 10 | Optional on createUpdatableSearchable |
SourceSubinventoryName | text · max 30 | Read-onlySearchable |
SourceType | text · max 3 | Optional on createUpdatableSearchable |
SourceTypeMeaning | 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 1
POST …/action/getDestination·SourceOrganizationIdInventoryItemNumberSourceSubinventorySourceOrganizationCodeSourceTypeInventoryItemIdLocationIdReturnType
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/returnRoutingRulesand 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:CategoryId, notcategoryid. - 8 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.