// fusionrest agent · procurement

Spend Classification Sustainability Rules

spendClassificationSustainabilityRules Based on 26C

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

/fscmRestApi/resources/11.13.18.05/spendClassificationSustainabilityRules
Operations
GET (list)GET (one)POST (create)PATCH (update)DELETE
Record key
RuleId
Required on create
ActionTypeRankRuleIdRuleName
At a glance
26 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/spendClassificationSustainabilityRules?fields=ActionOnAttribute,ActionOnAttributeCode,ActionType,ActivityClassification,ActivityClassificationId&limit=25&onlyData=true
Response shape (placeholders)
{
  "items": [
    {
      "ActionOnAttribute": "<string, max 80>",
      "ActionOnAttributeCode": "ORA_POI_CUSTOM1",
      "ActionType": "<string, max 30>",
      "ActivityClassification": "<string, max 2000>",
      "ActivityClassificationId": "<string, max 100>"
    }
  ],
  "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 26

AttributeTypeUse
ActionOnAttributetext · max 80Read-onlySearchable
ActionOnAttributeCodetext · max 100 · default ORA_POI_CUSTOM1Optional on createUpdatableSearchable
ActionTypetext · max 30Required on createUpdatableSearchable
ActivityClassificationtext · max 2000Read-onlySearchable
ActivityClassificationIdtext · max 100Optional on createUpdatableSearchable
ApplicableDatasetstext · max 1000Optional on createUpdatableSearchable
ApplicableKnowledgebasestext · max 1000Optional on createUpdatableSearchable
AssignToAttributetext · max 80Read-onlySearchable
AssignToAttributeCodetext · max 100Optional on createUpdatableSearchable
AssignmentTypetext · max 80Read-onlySearchable
AssignmentTypeCodetext · max 100 · default ORA_POI_CONSTANTOptional on createUpdatableSearchable
ConditionTypetext · max 30Optional on createUpdatableSearchable
DatasetsScopetext · max 30 · default ALLOptional on createUpdatableSearchable
Descriptiontext · max 2000Optional on createUpdatableSearchable
EndDatedateOptional on createUpdatableSearchable
EntityIdnumber · default 2Optional on createUpdatableSearchable
KnowledgebaseScopetext · max 30 · default ALLOptional on createUpdatableSearchable
LastUsedDatedate-timeOptional on createUpdatableSearchable
RanknumberRequired on createUpdatableSearchable
RuleIdnumberRequired on createSearchable
RuleNametext · max 200Required on createUpdatableSearchable
RuleTypetext · max 30Optional on createUpdatableSearchable
Sourcetext · max 80Read-onlySearchable
StartDatedateOptional on createUpdatableSearchable
Statustext · max 1Read-onlySearchable
StopRuletext · max 3 · default YOptional 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/spendClassificationSustainabilityRules/{RuleId}/child/<name>. Add them to a GET with expand.

Use in AI Agent Studio

More in For Builders.

Pitfalls