Federal Agency Location Codes
fedAgencyLocationCodes Based on 26C
Create, change, delete and look up Federal Agency Location Codes.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
AgencyLocationCodeId- Required on create
AgencyLocationCodeAgencyLocationName- At a glance
- 10 fields1 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/fedAgencyLocationCodes?fields=AgencyLocationCode,AgencyLocationCodeId,AgencyLocationName,AgencyType,CreatedBy&limit=25&onlyData=true
{
"items": [
{
"AgencyLocationCode": "<string, max 30>",
"AgencyLocationCodeId": 0,
"AgencyLocationName": "<string, max 240>",
"AgencyType": "<string, max 80>",
"CreatedBy": "<string, max 64>"
}
],
"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 10
| Attribute | Type | Use |
|---|---|---|
AgencyLocationCode | text · max 30 | Required on createUpdatableSearchable |
AgencyLocationCodeId | number | Optional on createUpdatableSearchable |
AgencyLocationName | text · max 240 | Required on createUpdatableSearchable |
AgencyType | text · max 80 | Optional on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
DisbursingType | text · max 80 | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | 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.
agencyLocationsFinder·AgencyLocationCodeAgencyLocationNameAgencyTypeDisbursingType
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 1
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/fedAgencyLocationCodes/{AgencyLocationCodeId}/child/<name>. Add them to a GET with expand.
fedAgencyLocationCodeDFFGET · POST · PATCH · DELETE Federal Agency Location Codes Descriptive Flexfields · 3 fieldsAgencyLocationCodeId__FLEX_Context__FLEX_Context_DisplayValue
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/fedAgencyLocationCodesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
agencyLocationsFinderfor 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:AgencyLocationCode, notagencylocationcode. - 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.