// fusionrest agent · sales and service (cx)
Self-Service Roles
selfServiceRoles Based on latest (2026.09)
Create, change, delete and look up Self-Service Roles.
/crmRestApi/resources/11.13.18.05/selfServiceRoles
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
RoleId- Required on create
- none marked
- At a glance
- 22 fields1 finders0 children
Try it
Response fields ·
Filters (q)
Only attributes Oracle marks as searchable are offered.
Finder
Paging and options
limit
GET /crmRestApi/resources/11.13.18.05/selfServiceRoles?fields=AccountPartyId,AccountPartyName,AccountPartyNumber,CanDeleteFlag,CanUpdateFlag&limit=25&onlyData=true
Response shape (placeholders)
{
"items": [
{
"AccountPartyId": 0,
"AccountPartyName": "<string, max 360>",
"AccountPartyNumber": "<string, max 30>",
"CanDeleteFlag": true,
"CanUpdateFlag": false
}
],
"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 22
| Attribute | Type | Use |
|---|---|---|
AccountPartyId | number | Optional on createUpdatableSearchable |
AccountPartyName | text · max 360 | Read-onlySearchable |
AccountPartyNumber | text · max 30 | Read-onlySearchable |
CanDeleteFlag | yes/no · default true | Read-only |
CanUpdateFlag | yes/no · default false | Read-only |
ContactPartyId | number | Optional on createSearchable |
ContactPartyName | text · max 360 | Read-onlySearchable |
ContactPartyNumber | text · max 30 | Read-onlySearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
EmailAddress | text · max 320 | Read-onlySearchable |
EndDate | date | Read-onlySearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
LoginId | text · max 320 | Optional on createSearchable |
RegistrationId | number | Read-onlySearchable |
RelationshipTypeCd | text · max 320 | Optional on createSearchable |
RelationshipTypeCdMeaning | text · max 80 | Read-only |
RequestTypeCd | text · max 30 | Optional on createSearchable |
RoleId | number | Read-onlySearchable |
StartDate | date | Read-onlySearchable |
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.
MyRoles·ContactPartyId
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/crmRestApi/resources/11.13.18.05/selfServiceRolesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
MyRolesfor 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:AccountPartyId, notaccountpartyid. - 17 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.