Omni-Channel Action
Create a PendingServiceRouting record used for Omni-Channel skills-based routing.
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.
URI: /services/data/vXX.X/actions/standard/skillsBasedRouting
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
recordId | ID | Required. ID of the Salesforce record to be routed by Omni-Channel. |
routingConfigId | ID | Required. ID of the QueueRoutingConfig record to be used by Omni-Channel. |
skillIdList | string | Optional. Comma-separated list of Skill IDs. Maximum number of skills is 25. |
| Output | Type | Description |
|---|---|---|
pendingServiceRoutingId | ID | ID of the new PendingServiceRouting record, if the request was successful. |
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.