public OvhContact contact_POST ( String city , String country , String email , String firstname , String lastname , String phone , String province , String street , String title , String zip ) throws IOException { String qPath = "/store/contact" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "city" , city ) ; addBody ( o , "country" , country ) ; addBody ( o , "email" , email ) ; addBody ( o , "firstname" , firstname ) ; addBody ( o , "lastname" , lastname ) ; addBody ( o , "phone" , phone ) ; addBody ( o , "province" , province ) ; addBody ( o , "street" , street ) ; addBody ( o , "title" , title ) ; addBody ( o , "zip" , zip ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhContact . class ) ; }
Create a marketplace contact for current nic