Sustainability Activity Types
sustainabilityActivityTypes Based on 26C
Create, change, delete and look up Sustainability Activity Types, with emission type assocs and measure type assocs.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ActivityTypeId- Required on create
ActivityTypeCode- At a glance
- 15 fields2 finders2 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/sustainabilityActivityTypes?fields=ActivityTypeCode,ActivityTypeId,ActivityTypeName,CreatedBy,CreationDate&limit=25&onlyData=true
{
"items": [
{
"ActivityTypeCode": "<string, max 100>",
"ActivityTypeId": 0,
"ActivityTypeName": "<string, max 255>",
"CreatedBy": "<string, max 64>",
"CreationDate": "2026-01-31T09:00:00+00:00"
}
],
"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 15
| Attribute | Type | Use |
|---|---|---|
ActivityTypeCode | text · max 100 | Required on createSearchable |
ActivityTypeId | number | Read-onlySearchable |
ActivityTypeName | text · max 255 | Read-onlySearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Description | text · max 255 | Read-onlySearchable |
EndDate | date | Optional on createUpdatableSearchable |
InUseFlag | yes/no | Read-onlySearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
Scope | text · max 255 | Optional on createUpdatableSearchable |
ScopeCategory | text · max 80 | Optional on createUpdatableSearchable |
ScopeCategoryCode | text · max 30 | Optional on createUpdatableSearchable |
ScopeCode | text · max 30 | Optional on createUpdatableSearchable |
StartDate | date | 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.
Finders 2
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
ActivityTypeCodeAltKey·ActivityTypeCodeByActivityTypeCodeFinder·ActivityTypeCode
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 2
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/sustainabilityActivityTypes/{ActivityTypeId}/child/<name>. Add them to a GET with expand.
EmissionTypeAssocsGET · POST · DELETE Emission Type Associations · 4 fields · 1 findersActivityTypeCodeEmissionTypeEmissionTypeAssocIdEmissionTypeCodeMeasureTypeAssocsGET · POST · DELETE Measure Type Associations · 4 fields · 1 findersActivityTypeCodeMeasureTypeMeasureTypeAssocIdMeasureTypeCode
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/sustainabilityActivityTypesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
ActivityTypeCodeAltKeyfor 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.
- 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:ActivityTypeCode, notactivitytypecode. - 8 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.