public OvhOvhPabxDialplanExtension billingAccount_ovhPabx_serviceName_dialplan_dialplanId_extension_POST ( String billingAccount , String serviceName , Long dialplanId , Boolean enable , Long position , OvhSchedulerCategoryEnum schedulerCategory , OvhOvhPabxDialplanExtensionConditionScreenListTypeEnum screenListType ) throws IOException { String qPath = "/telephony/{billingAccount}/ovhPabx/{serviceName}/dialplan/{dialplanId}/extension" ; StringBuilder sb = path ( qPath , billingAccount , serviceName , dialplanId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "enable" , enable ) ; addBody ( o , "position" , position ) ; addBody ( o , "schedulerCategory" , schedulerCategory ) ; addBody ( o , "screenListType" , screenListType ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOvhPabxDialplanExtension . class ) ; }
Create a new extension for a dialplan