XML-RPC API - Smart Dials Manipulation

Smart Dials Manipulation
S
Written by Sergiiy
Updated 11 months ago

addSmartDial

Parameters:

  • i_account - Account ID. Integer. Required.
  • did - DID number. String. Required.
  • dest - Destination number. String. Required.
  • description - Custom description of smart dial. String. Optional.

Returns:

  • result - OK means that operation successful. String.
  • XMLRPC fault in case of any error.

deleteSmartDial

Parameters:

  • i_account - Account ID. Integer. Required.
  • did - DID number. String. Required.

Returns:

  • result - OK means that operation successful. String.
  • XMLRPC fault in case of any error.

updateSmartDial

Parameters:

  • i_account - Account ID. Integer. Required.
  • did - DID number. String. Required.
  • dest - Destination number. String. Optional.
  • description - Custom description of smart dial. String. Optional.

Returns:

  • result - OK means that operation successful. String.
  • XMLRPC fault in case of any error.

listSmartDials

Parameters:

  • i_account - Account ID. Integer. Required.

Returns:

  • result - OK means that operation successful. String.
  • smart_dials - an array containing structures:
    • did - DID number. String.
    • dest - Destination number to dial. String.
    • description - Custom description of smart dial. String.
  • XMLRPC fault in case of any error.
Did this answer your question?