public OvhTaskSpecialAccount domain_redirection_POST ( String domain , String from , Boolean localCopy , String to ) throws IOException { String qPath = "/email/domain/{domain}/redirection" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "from" , from ) ; addBody ( o , "localCopy" , localCopy ) ; addBody ( o , "to" , to ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; }
Create new redirection in server