Omnichannel Presence and Availability
resourcePresences Based on latest (2026.09)
Change and look up Omnichannel Presence and Availability. Actions include get presence availability and set presence availability. No create.
- Operations
- GET (list)GET (one)PATCH (update)3 actions
- Record key
ResourcePartyId- Required on create
- no create on this resource
- At a glance
- 14 fields1 finders0 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /crmRestApi/resources/11.13.18.05/resourcePresences?fields=AvailabilityFlag,DisabledAvailabilityCd,EndAgentSessionFlag,GetAvailabilityFlag,LastPingDate&limit=25&onlyData=true
{
"items": [
{
"AvailabilityFlag": false,
"DisabledAvailabilityCd": "<string>",
"EndAgentSessionFlag": false,
"GetAvailabilityFlag": false,
"LastPingDate": "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 latest (2026.09) REST specification.
Fields 14
| Attribute | Type | Use |
|---|---|---|
AvailabilityFlag | yes/no | Updatable |
DisabledAvailabilityCd | text | Updatable |
EndAgentSessionFlag | yes/no | UpdatableSearchable |
GetAvailabilityFlag | yes/no | Updatable |
LastPingDate | date-time | Read-onlySearchable |
MediaGroup | text | Updatable |
NewPresenceCd | text | Updatable |
PresenceCd | text · max 30 | Read-only |
PresenceChangedFlag | yes/no | Updatable |
ResourcePartyId | number | Read-onlySearchable |
SessionId | text | Updatable |
SetResourceAvailabilityFlag | yes/no | Updatable |
SetResourcePresenceFlag | yes/no | Updatable |
StartAgentSessionFlag | yes/no | Updatable |
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.
findByResource·ResourcePartyId
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Actions 3
POST …/action/getPresenceAvailability·resourceIdPOST …/action/setPresenceAvailability·unavailableTypeCdresourceIdpresenceTypeCdavailabilityListPOST …/{ResourcePartyId}/action/keepAlive
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
/crmRestApi/resources/11.13.18.05/resourcePresencesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByResourcefor 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:AvailabilityFlag, notavailabilityflag. - 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.