Domain

The domain which is necessary for every order.

PropertyDescriptionTLD-Kit
DomainNameExample: "ascio-test-domain"2a
DomainHandle2d
RegPeriodPlease use this to set the registration period for a domain. If you want to registrer a domain for 2 Years, use this and not the RenewPeriod.
Example: 1
2b
RenewPeriodAscio will use this value for all future auto-renews. Don't use this if you want to do a Renew, Register or Transfer and you want to set the Period.
Example: 1
2c
Status
AuthInfoWhen you do GetDomain the AuthCode is in this parameter. We don't have a GetAuthCode method, please use GetDomain.
Example: "X4FF!zu"
2f
CreDate
ExpDate
EncodingTypePlease look at the TLD-Kit to see which characters are allowed, and which EncodingTypes are available. You can also use the REST TLD-Kit for that. A new feature is unified country-codes for EncodingTypes.2c
DomainPurpose20a
Comment1b
TransferLockIf the Transerlock is locked, the domain cannot be transferred. The Values are "Lock" and "Unlock". To unlock a domain, you must send a Change_Locks order, and set "Unlock"
Example: "Unlock"
2n
DeleteLockIf the DeleteLock is locked, the domain cannot be deleted. The Values are "Lock" and "Unlock". To unlock a domain, you must send a Change_Locks order, and set "Unlock"
Example: "Unlock"
2n
UpdateLockIf the UpdateLock is locked, the domain cannot be updated. The values are "Lock" and "Unlock". To unlock a domain, you must send a Change_Locks order, and set "Unlock"
Example: "Unlock"
2n
QueueTypeThis is for QueueOrders. You can set the Phase here. (Phase1, Phase2, Phase3)2l
RegistrantThe registrant is different from all other contacts. You can use a Registrant as Admin/Tech/Billing/Reseller contact. You can't you a Contact as Registrant
AdminContact
TechContact
BillingContact
ResellerContact
NameServers
Trademark
DnsSecKeys
PrivacyProxy

Used in Classes

package ascio.v2.examples;
import java.util.Calendar;
import com.ascio.www._2007._01.*;


public class DomainExample {
	public static Domain main() {
		
		Registrant registrant =  new Registrant();
		registrant.setName("John Doe");
		registrant.setAddress1("Address1Test");
		registrant.setCity("CityTest");
		registrant.setPostalCode("888349");
		registrant.setCountryCode("DK");
		registrant.setEmail("administrator@ascio-test-domain.com");
		registrant.setPhone("+45.123456789");

		Contact adminContact =  new Contact();
		adminContact.setFirstName("John");
		adminContact.setLastName("Doe");
		adminContact.setAddress1("Address1Test");
		adminContact.setPostalCode("888349");
		adminContact.setCity("CityTest");
		adminContact.setCountryCode("DK");
		adminContact.setEmail("administrator@ascio-test-domain.com");
		adminContact.setPhone("+45.123456789");

		Contact techContact =  new Contact();
		techContact.setFirstName("John");
		techContact.setLastName("Doe");
		techContact.setAddress1("Address1Test");
		techContact.setPostalCode("888349");
		techContact.setCity("CityTest");
		techContact.setCountryCode("DK");
		techContact.setEmail("administrator@ascio-test-domain.com");
		techContact.setPhone("+45.123456789");

		Contact billingContact =  new Contact();
		billingContact.setFirstName("John");
		billingContact.setLastName("Doe");
		billingContact.setAddress1("Address1Test");
		billingContact.setPostalCode("888349");
		billingContact.setCity("CityTest");
		billingContact.setCountryCode("DK");
		billingContact.setEmail("administrator@ascio-test-domain.com");
		billingContact.setPhone("+45.123456789");

		Contact resellerContact =  new Contact();
		resellerContact.setFirstName("John");
		resellerContact.setLastName("Doe");
		resellerContact.setAddress1("Address1Test");
		resellerContact.setPostalCode("888349");
		resellerContact.setCity("CityTest");
		resellerContact.setCountryCode("DK");
		resellerContact.setEmail("administrator@ascio-test-domain.com");
		resellerContact.setPhone("+45.123456789");

		NameServer nameServer1 =  new NameServer();
		nameServer1.setHostName("ns1.ascio.com");

		NameServer nameServer2 =  new NameServer();
		nameServer2.setHostName("ns2.ascio.com");

		NameServers nameServers =  new NameServers();
		nameServers.setNameServer1(nameServer1);
		nameServers.setNameServer2(nameServer2);

		TradeMark trademark =  new TradeMark();
		trademark.setName("John Doe");
		trademark.setCountry("DK");
		trademark.setDate(Calendar.getInstance());
		trademark.setNumber("NumberTest");
		trademark.setType("owner");
		trademark.setContact("ContactTest");
		trademark.setContactLanguage("ContactLanguageTest");
		trademark.setDocumentationLanguage("DocumentationLanguageTest");
		trademark.setSecondContact("SecondContactTest");
		trademark.setThirdContact("ThirdContactTest");
		trademark.setRegDate(Calendar.getInstance());

		DnsSecKey dnsSecKey1 =  new DnsSecKey();
		dnsSecKey1.setDigestAlgorithm("RSA-SHA256");
		dnsSecKey1.setDigestType("SHA-256");
		dnsSecKey1.setDigest("846E5ED4AB6788032B89393619752F662CF2B7B2046A8EC0804DF88F1469AC1E");
		dnsSecKey1.setKeyTag("2224");

		DnsSecKeys dnsSecKeys =  new DnsSecKeys();
		dnsSecKeys.setDnsSecKey1(dnsSecKey1);
		ExtensionsExtension extensions[] =  new ExtensionsExtension[]{new ExtensionsExtension()};


		PrivacyProxy privacyProxy =  new PrivacyProxy();
		privacyProxy.setType(PrivacyProxyType.None);
		privacyProxy.setPrivacyAdmin(false);
		privacyProxy.setPrivacyTech(false);
		privacyProxy.setPrivacyBilling(false);
		privacyProxy.setExtensions(extensions);

		Domain domain =  new Domain();
		domain.setDomainName("ascio-test-domain"+System.currentTimeMillis()+".com");
		domain.setDomainHandle("DomainHandleTest");
		domain.setRegPeriod(1);
		domain.setRenewPeriod(1);
		domain.setAuthInfo("X4FF!zu");
		domain.setExpDate(Calendar.getInstance());
		domain.setEncodingType("EncodingTypeTest");
		domain.setDomainPurpose("DomainPurposeTest");
		domain.setComment("CommentTest");
		domain.setTransferLock("Unlock");
		domain.setDeleteLock("Unlock");
		domain.setUpdateLock("Unlock");
		domain.setQueueType("QueueTypeTest");
		domain.setRegistrant(registrant);
		domain.setAdminContact(adminContact);
		domain.setTechContact(techContact);
		domain.setBillingContact(billingContact);
		domain.setResellerContact(resellerContact);
		domain.setNameServers(nameServers);
		domain.setTrademark(trademark);
		domain.setDnsSecKeys(dnsSecKeys);
		domain.setPrivacyProxy(privacyProxy);
		return domain;
	}
}
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)