Spend Classification Data Sets
spendClassificationDataSets Based on 26C
Create, change, delete and look up Spend Classification Data Sets. Actions include classify data set and classify transaction.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE7 actions
- Record key
DataSetName- Required on create
- none marked
- At a glance
- 9 fields0 finders0 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/spendClassificationDataSets?fields=Condition,DataSetName,Description,LastUsedDate,OperationName&limit=25&onlyData=true
{
"items": [
{
"Condition": "<string>",
"DataSetName": "<string, max 25>",
"Description": "<string, max 80>",
"LastUsedDate": "2026-01-31",
"OperationName": "<string>"
}
],
"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 9
| Attribute | Type | Use |
|---|---|---|
Condition | text | Optional on createUpdatableSearchable |
DataSetName | text · max 25 | Optional on createUpdatableSearchable |
Description | text · max 80 | Optional on createUpdatableSearchable |
LastUsedDate | date | Read-only |
OperationName | text | Optional on createUpdatableSearchable |
Purpose | text · max 80 | Read-onlySearchable |
PurposeCode | text · max 30 | Optional on createUpdatableSearchable |
TaxonomyName | text | Optional on createUpdatableSearchable |
UploadDataSets | text | 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 7
POST …/{DataSetName}/action/classifyDataSet·fromDatetaxonomyCodebusinessUnitNameapplyRulestoDateknowledgeBaseNameaiAssistFlagbatchDescriptionbusinessUnitIdPOST …/{DataSetName}/action/classifyTransaction·taxonomyIdknowledgeBaseNamegenerateKeywordsFlagtransactionDescriptionclassificationModePOST …/{DataSetName}/action/copyDataSet·newDataSetNamenewDataSetPurposeCodePOST …/{DataSetName}/action/createSample·volumefromDatetaxonomyCodecleanMetaDatatoDatedistanceFactormaximumWordsprocessTypetrainingSetNamebusinessUnitIdalgorithmclusterSizePOST …/{DataSetName}/action/estimateDatasetCount·volumefromDatetoDatebusinessUnitIdPOST …/{DataSetName}/action/suggestRules·taxonomyCodefromDatetoDatebusinessUnitIdPOST …/{DataSetName}/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/spendClassificationDataSetsand 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:Condition, notcondition. - 2 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.