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

<?php
namespace ascio\v2\examples;
require("../service/autoload.php");
require("../../lib/AscioConfig.php");
use ascio\v2 as ascio;


$registrant =  new ascio\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");

$adminContact =  new ascio\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");

$techContact =  new ascio\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");

$billingContact =  new ascio\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");

$resellerContact =  new ascio\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");

$nameServer1 =  new ascio\NameServer();
$nameServer1->setHostName("ns1.ascio.com");

$nameServer2 =  new ascio\NameServer();
$nameServer2->setHostName("ns2.ascio.com");

$nameServers =  new ascio\NameServers();
$nameServers->setNameServer1($nameServer1);
$nameServers->setNameServer2($nameServer2);

$trademark =  new ascio\TradeMark();
$trademark->setName("John Doe");
$trademark->setCountry("DK");
$trademark->setDate("DateTest");
$trademark->setNumber("NumberTest");
$trademark->setType("owner");
$trademark->setContact("ContactTest");
$trademark->setContactLanguage("ContactLanguageTest");
$trademark->setDocumentationLanguage("DocumentationLanguageTest");
$trademark->setSecondContact("SecondContactTest");
$trademark->setThirdContact("ThirdContactTest");
$trademark->setRegDate("RegDateTest");

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

$dnsSecKeys =  new ascio\DnsSecKeys();
$dnsSecKeys->setDnsSecKey1($dnsSecKey1);

$extensions =  new ascio\Extensions(array($extension));

$privacyProxy =  new ascio\PrivacyProxy();
$privacyProxy->setType(ascio\PrivacyProxyEnumType::None);
$privacyProxy->setPrivacyAdmin(false);
$privacyProxy->setPrivacyTech(false);
$privacyProxy->setPrivacyBilling(false);
$privacyProxy->setExtensions($extensions);

$domain =  new ascio\Domain();
$domain->setDomainName("ascio-test-domain".microtime().".com");
$domain->setDomainHandle("DomainHandleTest");
$domain->setRegPeriod(1);
$domain->setRenewPeriod(1);
$domain->setAuthInfo("X4FF!zu");
$domain->setExpDate("ExpDateTest");
$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);
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)