Newer Version Available
Omni-Channel Action
For more information about skills-based routing, see Skills-Based Routing for Omni-Channel in Salesforce Help.
This object is available in API version 44.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/skillsBasedRouting
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| recordId |
|
| routingConfigId |
|
| skillIdList |
|
Outputs
| Output | Details |
|---|---|
| pendingServiceRoutingId |
|
Usage
- Sample Input
-
The following code sample attempts to create a PendingServiceRouting record using a work record (recordId), the routing configuration (routingConfigId), and two skills (skillIdList).
- Sample Output
-
The following code sample illustrates a response after a successful request.