Goals
goals Based on latest (2026.09)
Create, change, delete and look up Goals, with goal history, goal metrics and goal participants.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
GoalNumber- Required on create
EndDateFrequencyGoalNameKPIIdStartDate- At a glance
- 27 fields1 finders5 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /crmRestApi/resources/11.13.18.05/goals?fields=CommonTarget,ConflictId,CreatedBy,CreationDate,CurrencyCode&limit=25&onlyData=true
{
"items": [
{
"CommonTarget": 0,
"ConflictId": 0,
"CreatedBy": "<string, max 64>",
"CreationDate": "2026-01-31T09:00:00+00:00",
"CurrencyCode": "<string>"
}
],
"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 latest (2026.09) REST specification.
Fields 27
| Attribute | Type | Use |
|---|---|---|
CommonTarget | number · default 0 | Optional on createUpdatableSearchable |
ConflictId | number · default 0 | Optional on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
CurrencyCode | text | Read-onlySearchable |
DeleteFlag | yes/no | Read-only |
EndDate | date-time | Required on createUpdatableSearchable |
Frequency | text · max 64 | Required on createUpdatableSearchable |
GoalId | number | Optional on createSearchable |
GoalName | text · max 275 | Required on createUpdatableSearchable |
GoalNumber | text · max 64 | Optional on createSearchable |
KPIAggregation | text · max 200 | Read-onlySearchable |
KPIDescription | text · max 3000 | Read-onlySearchable |
KPIId | number | Required on createUpdatableSearchable |
KPIName | text · max 275 | Read-onlySearchable |
KPINumber | text · max 64 | Optional on createSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
ObjectVersionNumber | number | Optional on createUpdatableSearchable |
OwnerId | number | Optional on createUpdatableSearchable |
OwnerName | text · max 360 | Read-onlySearchable |
OwnerNumber | text · max 30 | Read-onlySearchable |
OwnerUniqueName | text · max 900 | Read-onlySearchable |
StartDate | date-time | Required on createUpdatableSearchable |
TimezoneCode | text · max 50 | Optional on createUpdatableSearchable |
UpdateFlag | yes/no | Read-only |
Names, types, labels and flags from Oracle's REST specification (latest (2026.09)). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 1
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
RowFinder·GoalNumber
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 5
Child resources sit under one record: /crmRestApi/resources/11.13.18.05/goals/{GoalNumber}/child/<name>. Add them to a GET with expand.
GoalHistoryGET · POST · PATCH · DELETE Goal History · 21 fields · 1 findersDynamicNumber1NameDynamicNumber1UOMDynamicNumber1ValueDynamicNumber2NameDynamicNumber2UOMDynamicNumber2ValueDynamicText1NameDynamicText1ValueDynamicText2NameDynamicText2ValueGoalIdHistoryParticipantIdHistoryRecordDateHistoryRecordIdHistoryRecordObjectIdHistoryRecordObjectNumberHistoryRecordOwnerIdHistoryRecordOwnerNameHistoryRecordOwnerNumberKPIIdStaticTextGoalMetricsGET · POST · PATCH · DELETE Goal Metric · 44 fields · 4 findersActualCumulativeActualCumulativeProgressCumulativeTargetCurrencyCodeDenomActualDenomRollupActualExcludeRootResourceFrequencyGoalEndDateGoalIdGoalNameGoalNumberGoalStartDateIsFirstIsGoalParticipantIsLastIsResourceFromMyOrgKPIAggregationKPIIdKPINameKPINumberKPIObjectManagerIdManagerNumberNoOfGoalPeriodsNumerActualNumerRollupActualPersonIdProgressResourceAvatarUriResourceIdResourceNameResourceNumberRollupActualRollupCumulativeActualRollupCumulativeProgressRollupCumulativeTargetRollupProgressRollupTargetTargetTargetEndDateTargetStartDateUOMCodeGoalMetricBreakdownGET · POST · PATCH · DELETE Goal Metric Breakdowns · 18 fieldsBreakdownFrequencyBreakdownMeasuredAliasBreakdownMeasurementDateBreakdownPeriodEndDateBreakdownPeriodStartDateDayActualDenomDayActualDenomPeriodRunningActualGoalFrequencyGoalIdIsForLaterDateKPIIdLastDayOfPeriodNoOfDaysInPeriodNumerDayActualNumerPeriodRunningActualPeriodRunningActualResourceIdGoalMetricDetailsGET · POST · PATCH · DELETE Goal Metric Detail · 28 fields · 1 findersActualCumulativeActualDenomActualDenomCumulativeActualDenomRollupActualDenomRollupCumulativeActualFrequencyGoalIdGoalNameGoalNumberKPICategoryCodeKPICategoryNameKPIIdKPINameKPINumberKPIObjectNumerActualNumerCumulativeActualNumerRollupActualNumerRollupCumulativeActualResoruceNumberResourceIdResourceNameRollupActualRollupCumulativeActualTargetEndDateTargetStartDateUOMCodeGoalParticipantsGET · POST · PATCH · DELETE Goal Participants · 15 fields · 2 findersConflictIdCreatedByCreationDateGoalIdGoalNumberGoalParticipantIdLastUpdateDateLastUpdateLoginLastUpdatedByObjectVersionNumberResourceAvatarUriResourceIdResourceNameResourceNumberTarget
Use in AI Agent Studio
- Point a Business Object or REST tool at
/crmRestApi/resources/11.13.18.05/goalsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
RowFinderfor 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:CommonTarget, notcommontarget. - 14 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.