Routing Profile¶
Retrieve configuration¶
-
GET
/api/v1/tenants/
(string: tenant_id)/groups/
(string: group_id)/routing_profile/
¶ Get the details about the routing profile of the group.
Example request:
GET /api/v1/tenants/foo/groups/foogroup/routing_profile/ HTTP/1.1 Host: example.com
Example response:
HTTP/1.1 200 OK Content-Type: "application/json" { "routingProfile": "routing" }
- Response JSON Object:
routingProfile (string) – The routing profile name.
- Status Codes:
200 OK – no error
Update configuration¶
-
PUT
/api/v1/tenants/
(string: tenant_id)/groups/
(string: group_id)/routing_profile/
¶ Update the routing profile of the group.
Example request:
PUT /api/v1/tenants/foo/groups/foogroup/routing_profile/ HTTP/1.1 Host: example.com Content-Type: "application/json" { "routingProfile": "routing" }
- Request JSON Object:
routingProfile (string) – (Required) The routing profile name, must be inline with what is supported by the Main AS (See Retrieve available routing profiles).
Example response:
- Response:
Similar to GET instance method response.
- Status Codes:
200 OK – no error
400 Bad Request – failed to update