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);
	}
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

REST: POST /order/cart/{cartId}/dns
@param cartId [required] Cart identifier
@param planCode [required] Identifier of a DNS zone offer
@param duration [required] Duration selected for the purchase of the product
@param pricingMode [required] Pricing mode selected for the purchase of the product
@param quantity [required] Quantity of product desired