public OvhTask organizationName_service_exchangeService_account_POST ( String organizationName , String exchangeService , String SAMAccountName , String company , String displayName , String domain , String firstName , Boolean hiddenFromGAL , String initials , String lastName , OvhOvhLicenceEnum license , Boolean litigation , Long litigationPeriod , String login , OvhMailingFilterEnum [ ] mailingFilter , Boolean outlookLicense , String password , OvhSpamAndVirusConfiguration spamAndVirusConfiguration ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "SAMAccountName" , SAMAccountName ) ; addBody ( o , "company" , company ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "hiddenFromGAL" , hiddenFromGAL ) ; addBody ( o , "initials" , initials ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "license" , license ) ; addBody ( o , "litigation" , litigation ) ; addBody ( o , "litigationPeriod" , litigationPeriod ) ; addBody ( o , "login" , login ) ; addBody ( o , "mailingFilter" , mailingFilter ) ; addBody ( o , "outlookLicense" , outlookLicense ) ; addBody ( o , "password" , password ) ; addBody ( o , "spamAndVirusConfiguration" , spamAndVirusConfiguration ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create new mailbox in exchange server