// fusionrest agent · financials · list of values
Purchase to Pay Legal Entities List of Values
purchaseToPayLegalEntitiesLOV Based on 26C
Look up the list of values for Purchase to Pay Legal Entities.
Oracle's specification marks GET (list) as not supported on this resource.
/fscmRestApi/resources/11.13.18.05/purchaseToPayLegalEntitiesLOV
- Operations
- GET (list)GET (one)
- Record key
LegalEntityId- Required on create
- no create on this resource
- At a glance
- 18 fields1 finders0 children
I want to…Get one record
Try it
Response fields ·
Record key
LegalEntityIdGET /fscmRestApi/resources/11.13.18.05/purchaseToPayLegalEntitiesLOV/{LegalEntityId}?fields=ActivityCode,AddressLine1,AddressLine2,AddressLine3,CountryCode&onlyData=trueResponse shape (placeholders)
{
"ActivityCode": "<string>",
"AddressLine1": "<string>",
"AddressLine2": "<string>",
"AddressLine3": "<string>",
"CountryCode": "<string>"
}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 18
| Attribute | Type | Use |
|---|---|---|
ActivityCode | text | Read-onlySearchable |
AddressLine1 | text | Read-onlySearchable |
AddressLine2 | text | Read-onlySearchable |
AddressLine3 | text | Read-onlySearchable |
CountryCode | text | Read-onlySearchable |
EffectiveFrom | date | Read-onlySearchable |
EffectiveTo | date | Read-onlySearchable |
LegalEntityId | number | Read-onlySearchable |
LegalEntityIdentifier | text | Read-onlySearchable |
LegislativeCategory | text | Read-onlySearchable |
Name | text | Read-onlySearchable |
PartyId | number | Read-onlySearchable |
PostalCode | text | Read-onlySearchable |
RegistrationNumber | text | Read-onlySearchable |
SubActivityCode | text | Read-onlySearchable |
TownOrCity | text | Read-onlySearchable |
TransactingEntityFlag | yes/no | Read-onlySearchable |
TypeOfCompany | text | 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.
PurchasetoPayInfoFinder·BusinessUnitIdCodeCombinationIdLocationIdRegistrationCodeRegistrationNumber
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/purchaseToPayLegalEntitiesLOVand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
PurchasetoPayInfoFinderfor 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.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:ActivityCode, notactivitycode. - 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.