// fusionrest agent · procurement

Spend Classification Rules

spendClassificationRules Based on 26C

Create, change, delete and look up Spend Classification Rules, with rule conditions.

/fscmRestApi/resources/11.13.18.05/spendClassificationRules
Operations
GET (list)GET (one)POST (create)PATCH (update)DELETE
Record key
RuleId
Required on create
RuleIdRuleNameRuleSequenceRuleType
At a glance
28 fields0 finders1 children
I want to…List the latest 25Count recordsGet one recordCreate oneUpdate one

Try it

Response fields ·
Filters (q)

Only attributes Oracle marks as searchable are offered.

Include children (expand)
Paging and options
limit
Endpoint and headers
GET /fscmRestApi/resources/11.13.18.05/spendClassificationRules?fields=ActionOnAttribute,ActionOnAttributeCode,ActionType,ActivityClassification,ApplicableDatasets&limit=25&onlyData=true
Response shape (placeholders)
{
  "items": [
    {
      "ActionOnAttribute": "<string, max 80>",
      "ActionOnAttributeCode": "<string, max 100>",
      "ActionType": "<string, max 30>",
      "ActivityClassification": "<string, max 2000>",
      "ApplicableDatasets": "<string, max 1000>"
    }
  ],
  "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 28

AttributeTypeUse
ActionOnAttributetext · max 80Read-onlySearchable
ActionOnAttributeCodetext · max 100Optional on createUpdatableSearchable
ActionTypetext · max 30Optional on createUpdatableSearchable
ActivityClassificationtext · max 2000Read-onlySearchable
ApplicableDatasetstext · max 1000Optional on createUpdatableSearchable
ApplicableKnowledgebasestext · max 1000Optional on createUpdatableSearchable
AssignCategoryValuetext · max 255Optional on createUpdatableSearchable
AssignToAttributetext · max 80Read-onlySearchable
AssignToAttributeCodetext · max 100Optional on createUpdatableSearchable
AssignToConstanttext · max 100Optional on createUpdatableSearchable
AssignmentTypetext · max 80Read-onlySearchable
AssignmentTypeCodetext · max 100Optional on createUpdatableSearchable
DatasetsScopetext · max 30Optional on createUpdatableSearchable
Descriptiontext · max 2000Optional on createUpdatableSearchable
EndDatedateOptional on createUpdatableSearchable
EntityIdnumber · default 1Optional on createUpdatableSearchable
KnowledgebaseScopetext · max 30Optional on createUpdatableSearchable
LastUsedDatedate-timeOptional on createUpdatableSearchable
OperationNametext · max 255Optional on createUpdatableSearchable
RuleConditionTypetext · max 30Optional on createUpdatableSearchable
RuleIdnumberRequired on createSearchable
RuleNametext · max 200Required on createUpdatableSearchable
RuleSequencenumberRequired on createUpdatableSearchable
RuleTypetext · max 30Required on createUpdatableSearchable
Sourcetext · max 80Read-onlySearchable
StartDatedateOptional on createUpdatableSearchable
Statustext · max 30Optional on createUpdatableSearchable
StopRuletext · max 3Optional 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.

Children 1

Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/spendClassificationRules/{RuleId}/child/<name>. Add them to a GET with expand.

Use in AI Agent Studio

More in For Builders.

Pitfalls