Spend Classification Data Set Definitions
spendClassificationDatasetDefinitions Based on 26C
Create, change, delete and look up Spend Classification Data Set Definitions. Actions include supplier recommendation.
The record key spendClassificationDatasetDefinitionsUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
spendClassificationDatasetDefinitionsUniqID- Required on create
- none marked
- At a glance
- 7 fields0 finders0 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/spendClassificationDatasetDefinitions?fields=DatasetName,ExtendedFromClause,ExtendedSelectClause,ExtendedWhereClause,SeededFromClause&limit=25&onlyData=true
{
"items": [
{
"DatasetName": "<string, max 80>",
"ExtendedFromClause": "<string, max 4000>",
"ExtendedSelectClause": "<string, max 4000>",
"ExtendedWhereClause": "<string, max 4000>",
"SeededFromClause": "<string, max 4000>"
}
],
"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 7
| Attribute | Type | Use |
|---|---|---|
DatasetName | text · max 80 | Optional on createUpdatableSearchable |
ExtendedFromClause | text · max 4000 | Optional on createUpdatableSearchable |
ExtendedSelectClause | text · max 4000 | Optional on createUpdatableSearchable |
ExtendedWhereClause | text · max 4000 | Optional on createUpdatableSearchable |
SeededFromClause | text · max 4000 | Optional on createUpdatableSearchable |
SeededSelectClause | text · max 4000 | Optional on createUpdatableSearchable |
SeededWhereClause | text · max 4000 | Optional on createUpdatableSearchable |
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 …/{spendClassificationDatasetDefinitionsUniqID}/action/supplierRecommendation·auctionHeaderIdlineIdList
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/spendClassificationDatasetDefinitionsand 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:DatasetName, notdatasetname. onlyData=trueremoveslinks, and this resource's key only comes fromlinks. Leave it off when you need the key.- 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.