Updates a routing rule identified by its ID. Validates activeHours and routingStrategy:
Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission.
curl --request PUT \
--url https://api.lofty.com/v1.0/routing/rule/{type} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"id": 123,
"activeHours": {
"activeDays": [
1,
2,
3,
4,
5
],
"hoursStart": 123,
"hoursEnd": 123
},
"routingStrategy": {
"strategyType": 123,
"groupId": 123,
"groupName": "<string>",
"touchMinutes": 123,
"memberWeights": {
"memberId": 123,
"firstName": "<string>",
"lastName": "<string>",
"weight": 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 Rule updated.
The response is of type string.
"ok"
curl --request PUT \
--url https://api.lofty.com/v1.0/routing/rule/{type} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"id": 123,
"activeHours": {
"activeDays": [
1,
2,
3,
4,
5
],
"hoursStart": 123,
"hoursEnd": 123
},
"routingStrategy": {
"strategyType": 123,
"groupId": 123,
"groupName": "<string>",
"touchMinutes": 123,
"memberWeights": {
"memberId": 123,
"firstName": "<string>",
"lastName": "<string>",
"weight": 123
}
}
}
'"ok"