public OvhAssociationContact data_afnicAssociationInformation_POST ( Long contactId , Date declarationDate , Date publicationDate , String publicationNumber , String publicationPageNumber ) throws IOException { String qPath = "/domain/data/afnicAssociationInformation" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contactId" , contactId ) ; addBody ( o , "declarationDate" , declarationDate ) ; addBody ( o , "publicationDate" , publicationDate ) ; addBody ( o , "publicationNumber" , publicationNumber ) ; addBody ( o , "publicationPageNumber" , publicationPageNumber ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhAssociationContact . class ) ; }
Post a new association information according to Afnic