public OvhItem cart_cartId_dns_POST ( String cartId , String duration , String planCode , String pricingMode , Long quantity ) throws IOException { String qPath = "/order/cart/{cartId}/dns" ; StringBuilder sb = path ( qPath , cartId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "duration" , duration ) ; addBody ( o , "planCode" , planCode ) ; addBody ( o , "pricingMode" , pricingMode ) ; addBody ( o , "quantity" , quantity ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhItem . class ) ; }
Post a new DNS zone item in your cart