public OvhOvhPabxCustomStatus billingAccount_ovhPabx_serviceName_hunting_customStatus_POST ( String billingAccount , String serviceName , String color , String description , String name ) throws IOException { String qPath = "/telephony/{billingAccount}/ovhPabx/{serviceName}/hunting/customStatus" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "color" , color ) ; addBody ( o , "description" , description ) ; addBody ( o , "name" , name ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOvhPabxCustomStatus . class ) ; }
Create a new custom status