public OvhTask packName_promotionCode_generate_POST ( String packName ) throws IOException { String qPath = "/pack/xdsl/{packName}/promotionCode/generate" ; StringBuilder sb = path ( qPath , packName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; }
Creates a task to generate a new promotion code