public class ApiOvhNewAccount extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhNewAccount(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
area_GET(OvhCountryEnum country)
All available areas for a given country
REST: GET /newAccount/area
|
ArrayList<String> |
corporationType_GET(OvhCountryEnum country)
All available corporation types for a given country
REST: GET /newAccount/corporationType
|
ArrayList<OvhCountryEnum> |
countries_GET(OvhOvhCompanyEnum ovhCompany,
OvhOvhSubsidiaryEnum ovhSubsidiary)
All available countries for an ovh company and an ovh subsidiary
REST: GET /newAccount/countries
|
OvhCreationRules |
creationRules_GET(OvhCountryEnum country,
OvhLegalFormEnum legalform,
OvhOvhCompanyEnum ovhCompany,
OvhOvhSubsidiaryEnum ovhSubsidiary)
Give all the rules to follow in order to create an OVH identifier
REST: GET /newAccount/creationRules
|
ArrayList<String> |
legalform_GET(OvhCountryEnum country)
All available legal forms for a given country
REST: GET /newAccount/legalform
|
OvhNewAccountAndToken |
POST(String firstname,
String vat,
String spareEmail,
String nationalIdentificationNumber,
String birthDay,
String area,
OvhOvhSubsidiaryEnum ovhSubsidiary,
OvhOvhCompanyEnum ovhCompany,
String email,
String city,
String fax,
String address,
String companyNationalIdentificationNumber,
OvhCountryEnum country,
String birthCity,
String organisation,
OvhLanguageEnum language,
String name,
OvhGenderEnum sex,
String phone,
String zip,
String corporationType,
OvhLegalFormEnum legalform)
Create a new OVH identifier
REST: POST /newAccount
|
public ApiOvhNewAccount(ApiOvhCore core)
public OvhNewAccountAndToken POST(String firstname, String vat, String spareEmail, String nationalIdentificationNumber, String birthDay, String area, OvhOvhSubsidiaryEnum ovhSubsidiary, OvhOvhCompanyEnum ovhCompany, String email, String city, String fax, String address, String companyNationalIdentificationNumber, OvhCountryEnum country, String birthCity, String organisation, OvhLanguageEnum language, String name, OvhGenderEnum sex, String phone, String zip, String corporationType, OvhLegalFormEnum legalform) throws IOException
firstname - [required]vat - [required]spareEmail - [required]nationalIdentificationNumber - [required]birthDay - [required]area - [required]ovhSubsidiary - [required]ovhCompany - [required]email - [required]city - [required]fax - [required]address - [required]companyNationalIdentificationNumber - [required]country - [required]birthCity - [required]organisation - [required]language - [required]name - [required]sex - [required]phone - [required]zip - [required]corporationType - [required]legalform - [required]IOExceptionpublic ArrayList<String> area_GET(OvhCountryEnum country) throws IOException
country - [required]IOExceptionpublic OvhCreationRules creationRules_GET(OvhCountryEnum country, OvhLegalFormEnum legalform, OvhOvhCompanyEnum ovhCompany, OvhOvhSubsidiaryEnum ovhSubsidiary) throws IOException
country - [required]ovhSubsidiary - [required]ovhCompany - [required]legalform - [required]IOExceptionpublic ArrayList<String> corporationType_GET(OvhCountryEnum country) throws IOException
country - [required]IOExceptionpublic ArrayList<String> legalform_GET(OvhCountryEnum country) throws IOException
country - [required]IOExceptionpublic ArrayList<OvhCountryEnum> countries_GET(OvhOvhCompanyEnum ovhCompany, OvhOvhSubsidiaryEnum ovhSubsidiary) throws IOException
ovhSubsidiary - [required]ovhCompany - [required]IOExceptionCopyright © 2017. All rights reserved.