Ascio Web Service v3
Class NameWatch
Property | Type | Description |
---|---|---|
Handle | Example: "JD123" | |
Name | Example: "ascio-is-great.com" | |
NotificationFrequency | ||
Tier | Example: 1 | |
EmailNotification1 | ||
EmailNotification2 | ||
EmailNotification3 | ||
EmailNotification4 | ||
EmailNotification5 | ||
Owner | ||
Reseller | ||
ObjectComment | Example: "Example Object Comment" |
package ascio.v3.examples;
import com.ascio.www._2013._02.*;
public class NameWatchExample {
public static NameWatch main() {
KeyValue keyValue = new KeyValue();
keyValue.setKey("Title");
keyValue.setValue("Mr.");
ExtensionsKeyValue ownerExtensions[] = new ExtensionsKeyValue[]{keyValue};
Registrant owner = new Registrant();
owner.setFirstName("John");
owner.setLastName("Doe");
owner.setOrgName("Ascio");
owner.setAddress1("Address1Test");
owner.setAddress2("Address2Test");
owner.setCity("CityTest");
owner.setState("StateTest");
owner.setPostalCode("888349");
owner.setCountryCode("DK");
owner.setPhone("+45.123456789");
owner.setFax("+45.987654321");
owner.setEmail("administrator@ascio-test-domain.com");
owner.setType("owner");
owner.setDetails("DetailsTest");
owner.setOrganisationNumber("OrganisationNumberTest");
owner.setExtensions(ownerExtensions);
owner.setVatNumber("VatNumberTest");
owner.setNexusCategory("NexusCategoryTest");
KeyValue keyValue = new KeyValue();
keyValue.setKey("Title");
keyValue.setValue("Mr.");
ExtensionsKeyValue resellerExtensions[] = new ExtensionsKeyValue[]{keyValue};
resellerExtensions[0].setKey("Title");
resellerExtensions[0].setValue("Mrs.");
Contact reseller = new Contact();
reseller.setFirstName("John");
reseller.setLastName("Doe");
reseller.setOrgName("Ascio");
reseller.setAddress1("Address1Test");
reseller.setAddress2("Address2Test");
reseller.setCity("CityTest");
reseller.setState("StateTest");
reseller.setPostalCode("888349");
reseller.setCountryCode("DK");
reseller.setPhone("+45.123456789");
reseller.setFax("+45.987654321");
reseller.setEmail("administrator@ascio-test-domain.com");
reseller.setType("owner");
reseller.setDetails("DetailsTest");
reseller.setOrganisationNumber("OrganisationNumberTest");
reseller.setExtensions(resellerExtensions);
NameWatch nameWatch = new NameWatch();
nameWatch.setHandle("JD123");
nameWatch.setName("ascio-is-great.com");
nameWatch.setNotificationFrequency(NotificationFrequencyType.Daily);
nameWatch.setTier(1);
nameWatch.setEmailNotification1("EmailNotification1Test");
nameWatch.setEmailNotification2("EmailNotification2Test");
nameWatch.setEmailNotification3("EmailNotification3Test");
nameWatch.setEmailNotification4("EmailNotification4Test");
nameWatch.setEmailNotification5("EmailNotification5Test");
nameWatch.setOwner(owner);
nameWatch.setReseller(reseller);
nameWatch.setObjectComment("Example Object Comment");
return nameWatch;package ascio.v3.examples;
import com.ascio.www._2013._02.*;
public class NameWatchExample {
public static NameWatch main() {
KeyValue keyValue = new KeyValue();
keyValue.setKey("Title");
keyValue.setValue("Mr.");
ExtensionsKeyValue ownerExtensions[] = new ExtensionsKeyValue[]{keyValue};
Registrant owner = new Registrant();
owner.setFirstName("John");
owner.setLastName("Doe");
owner.setOrgName("Ascio");
owner.setAddress1("Address1Test");
owner.setAddress2("Address2Test");
owner.setCity("CityTest");
owner.setState("StateTest");
owner.setPostalCode("888349");
owner.setCountryCode("DK");
owner.setPhone("+45.123456789");
owner.setFax("+45.987654321");
owner.setEmail("administrator@ascio-test-domain.com");
owner.setType("owner");
owner.setDetails("DetailsTest");
owner.setOrganisationNumber("OrganisationNumberTest");
owner.setExtensions(ownerExtensions);
owner.setVatNumber("VatNumberTest");
owner.setNexusCategory("NexusCategoryTest");
KeyValue keyValue = new KeyValue();
keyValue.setKey("Title");
keyValue.setValue("Mr.");
ExtensionsKeyValue resellerExtensions[] = new ExtensionsKeyValue[]{keyValue};
resellerExtensions[0].setKey("Title");
resellerExtensions[0].setValue("Mrs.");
Contact reseller = new Contact();
reseller.setFirstName("John");
reseller.setLastName("Doe");
reseller.setOrgName("Ascio");
reseller.setAddress1("Address1Test");
reseller.setAddress2("Address2Test");
reseller.setCity("CityTest");
reseller.setState("StateTest");
reseller.setPostalCode("888349");
reseller.setCountryCode("DK");
reseller.setPhone("+45.123456789");
reseller.setFax("+45.987654321");
reseller.setEmail("administrator@ascio-test-domain.com");
reseller.setType("owner");
reseller.setDetails("DetailsTest");
reseller.setOrganisationNumber("OrganisationNumberTest");
reseller.setExtensions(resellerExtensions);
NameWatch nameWatch = new NameWatch();
nameWatch.setHandle("JD123");
nameWatch.setName("ascio-is-great.com");
nameWatch.setNotificationFrequency(NotificationFrequencyType.Daily);
nameWatch.setTier(1);
nameWatch.setEmailNotification1("EmailNotification1Test");
nameWatch.setEmailNotification2("EmailNotification2Test");
nameWatch.setEmailNotification3("EmailNotification3Test");
nameWatch.setEmailNotification4("EmailNotification4Test");
nameWatch.setEmailNotification5("EmailNotification5Test");
nameWatch.setOwner(owner);
nameWatch.setReseller(reseller);
nameWatch.setObjectComment("Example Object Comment");
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.