Sustainability Batches
sustainabilityProcessingBatches Based on 26C
Create and look up Sustainability Batches, with batch entries. Actions include process.
- Operations
- GET (list)GET (one)POST (create)1 action
- Record key
BatchId- Required on create
ActionCode- At a glance
- 3 fields0 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/sustainabilityProcessingBatches?fields=ActionCode,BatchId,BatchName&limit=25&onlyData=true
{
"items": [
{
"ActionCode": "<string, max 30>",
"BatchId": 0,
"BatchName": "<string, max 240>"
}
],
"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 3
| Attribute | Type | Use |
|---|---|---|
ActionCode | text · max 30 | Required on createSearchable |
BatchId | number | Read-onlySearchable |
BatchName | text · max 240 | Read-onlySearchable |
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/sustainabilityProcessingBatches/{BatchId}/child/<name>. Add them to a GET with expand.
BatchEntriesGET · POST Batch Entries · 3 fieldsActivityIdBatchEntryIdEmissionFactorMappingId
Actions 1
POST …/{BatchId}/action/process
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/sustainabilityProcessingBatchesand 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:ActionCode, notactioncode. - 2 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- 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.