Sourcing Programs
sourcingPrograms Based on 26C
Create, change, delete and look up Sourcing Programs, with sourcing program members and sourcing program objectives.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ProgramHeaderId- Required on create
GlobalProgramFlagPersonIdProgramHeaderIdProgramPhase- At a glance
- 26 fields0 finders3 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/sourcingPrograms?fields=CategoryId,CategoryName,Comments,CurrencyCode,CurrentSpend&limit=25&onlyData=true
{
"items": [
{
"CategoryId": 0,
"CategoryName": "<string, max 255>",
"Comments": "<string, max 4000>",
"CurrencyCode": "<string, max 15>",
"CurrentSpend": 0
}
],
"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
| Attribute | Type | Use |
|---|---|---|
CategoryId | number | Optional on createUpdatableSearchable |
CategoryName | text · max 255 | Read-onlySearchable |
Comments | text · max 4000 | Optional on createUpdatableSearchable |
CurrencyCode | text · max 15 | Optional on createUpdatableSearchable |
CurrentSpend | number | Optional on createUpdatableSearchable |
DisplayPhase | text · max 255 | Optional on createUpdatableSearchable |
DisplayStatus | text · max 255 | Optional on createUpdatableSearchable |
EndDate | date | Optional on createUpdatableSearchable |
GlobalProgramFlag | yes/no · max 1 | Required on createUpdatableSearchable |
ListName | text · max 301 | Optional on createUpdatableSearchable |
PersonId | number | Required on createUpdatableSearchable |
PersonNameId | number | Read-onlySearchable |
PhaseDisplayOrder | number | Read-onlySearchable |
ProcurementBUId | number | Optional on createUpdatableSearchable |
ProgramHeaderId | number | Required on createUpdatableSearchable |
ProgramPhase | text · max 20 | Required on createUpdatableSearchable |
ProgramStatus | text · max 30 | Optional on createUpdatableSearchable |
PurchasingCatFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
RateDate | date | Optional on createUpdatableSearchable |
RateType | text · max 30 | Optional on createUpdatableSearchable |
Savings | number | Optional on createUpdatableSearchable |
SavingsPercent | number | Optional on createUpdatableSearchable |
StartDate | date | Optional on createUpdatableSearchable |
Synopsis | text · max 4000 | Optional on createUpdatableSearchable |
TargetSpend | number | Optional on createUpdatableSearchable |
Title | text · max 80 | 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.
Children 3
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/sourcingPrograms/{ProgramHeaderId}/child/<name>. Add them to a GET with expand.
sourcingProgramMembersGET · POST · PATCH · DELETE Sourcing Program Team Members · 10 fieldsAccessTypeAccessTypeCodeDisplayNameMemberTypeNoteObjectVersionNumberPersonIdPersonNameIdProgramHeaderIdTeamMemberIdsourcingProgramObjectivesGET · POST · PATCH · DELETE Sourcing Program Objectives · 21 fieldsCategoryIdCreationDateCurrentSpendDescriptionEndDateNameObjectiveHeaderIdObjectiveTypeProgramHeaderIdPurchasingCatFlagRemainingTargetSpendRollUpFlagSavingsSavingsPercentStartDateStatusTargetSpendTotalPlannedCurrentSpendTotalPlannedSavingGoalTotalPlannedSavingGoalPercentTotalPlannedTargetSpendsourcingProgramNegotiationsGET · POST · PATCH · DELETE Sourcing Program Objective Negotiations · 13 fieldsAuctionHeaderIdAwardAmountCreatedByObjectVersionNumberObjectiveHeaderIdObjectiveNegotiationIdOverrideFlagPlannedCurrentSpendPlannedSavingsPlannedSavingsPercentPlannedTargetSpendPlannedTitleProgramHeaderId
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/sourcingProgramsand 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:CategoryId, notcategoryid. - 3 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.