getPlanSwitchTimer
getPlanSwitchTimer
Permissions:
admin or user
Description:
Retrieves the Timer settings.
Parameters:
extension – a string representing an extension
number – 1 or 2 represents Timer 1 or Timer 2 in the extension setting. Default setting is 1.
Returns:
If the method succeeds, it returns a string in the result field formatted as “P<start-end-date>A<days-of-week>W<weeks>D<date-pattern>T<times>.” For details about the returned string format, refer to the “Schedule Extension” table in the section, “Extension Settings Properties.”
Related methods:
setPlanSwitchTimer