Reorder Answering Rules
Change the priority order of a user's answering rules.
/?object=answerrule&action=reorderRequest URL
https://uc.hopdial.com/ns-api/?object=answerrule&action=reorderSend your access token in the Authorization: Bearer header. Body parameters are sent as application/x-www-form-urlencoded. New to the API? Start with authentication and rate limits.
Parameters
| Name | Type | Description |
|---|---|---|
domainrequiredbody | string | Domain of the answering rules |
userrequiredbody | string | Subscriber of the answering rules |
priorityrequiredbody | array<integer> | The new intended order of answering rules. Supposing you have this current order of answering rules named ABC (having priority=0), DEF (having priority=1), and GHI (having priority 99). If you would like to reorder them to GHI, DEF, ABC, you would pass ["99","1","0"]. |
Example request
curl https://uc.hopdial.com/ns-api/ \
-H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
-d object='answerrule' \
-d action='reorder' \
-d domain='abc-company.11111.service' \
-d user='100'
-d priority= ["99","1","0"]Responses
202 · application/xml
More Answering Rules endpoints
Read and change how each user’s calls are routed by time of day.
Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.