Updates the default / fallback routing rule for the given business type.
Notes:
Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission.
curl --request PUT \
--url https://api.lofty.com/v1.0/routing/rule/supplement/{type} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"roleId": 123,
"strategyType": 123,
"touchMinutes": 123,
"assigneeAgentId": 123,
"assigneeGroupId": 123
}
'"ok"Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Routing business type.
1, 2, 4 Supplement routing rule payload.
Role id, This parameter is required when type == 4
Strategy type
Only next up and blast alert are affected
Only default assignee are affected
Only default assignee and routing type is AGENT_LEAD are affected
Rule updated.
The response is of type string.
"ok"
curl --request PUT \
--url https://api.lofty.com/v1.0/routing/rule/supplement/{type} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"roleId": 123,
"strategyType": 123,
"touchMinutes": 123,
"assigneeAgentId": 123,
"assigneeGroupId": 123
}
'"ok"