Wellness Activities
wellnessActivities Based on latest (2026.09)
Create Wellness Activities, with activitymeasures.
Oracle's specification marks GET (list), GET (one) as not supported on this resource.
The record key wellnessActivitiesUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
- Operations
- GET (list)GET (one)POST (create)
- Record key
wellnessActivitiesUniqID- Required on create
DeviceNameStartTimeStopTimeTimePeriodUnitsURIURIUserIdVendorName- At a glance
- 7 fields1 finders1 children
Try it
Adds one child row with its required fields, as a nested array.
POST /hcmRestApi/resources/11.13.18.05/wellnessActivities Content-Type: application/vnd.oracle.adf.resourceitem+json
{
"DeviceName": "<string, max 80>",
"StartTime": "2026-01-31T09:00:00+00:00",
"StopTime": "2026-01-31T09:00:00+00:00",
"TimePeriodUnitsURI": "<string, max 80>",
"URI": "<string, max 80>",
"UserId": "<string, max 80>",
"VendorName": "<string, max 80>"
}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 7
| Attribute | Type | Use |
|---|---|---|
DeviceName | text · max 80 | Required on createSearchable |
StartTime | date-time | Required on createSearchable |
StopTime | date-time | Required on createSearchable |
TimePeriodUnitsURI | text · max 80 | Required on createSearchable |
URI | text · max 80 | Required on createSearchable |
UserId | text · max 80 | Required on createSearchable |
VendorName | text · max 80 | Required on createSearchable |
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.
ActivityRowFinder·DeviceNameStartTimeURIUserIdVendorName
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: /hcmRestApi/resources/11.13.18.05/wellnessActivities/{wellnessActivitiesUniqID}/child/<name>. Add them to a GET with expand.
activitymeasuresGET · POST Activity Measures · 3 fieldsURIUnitURIValue
Use in AI Agent Studio
- Point a Business Object or REST tool at
/hcmRestApi/resources/11.13.18.05/wellnessActivitiesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
ActivityRowFinderfor 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:DeviceName, notdevicename. onlyData=trueremoveslinks, and this resource's key only comes fromlinks. Leave it off when you need the key.- 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.