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

use SOAP::Lite;
use Date::Format;
$proxy = "https://awstest.ascio.com/2012/01/01/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite -> on_action( sub { "" } ) -> proxy($proxy);
$soap->autotype(0);
$method = SOAP::Data->name("Domain")
->attr({xmlns => $namespace});

#Registrant
$registrant =  \SOAP::Data->value(
SOAP::Data->name('Name','John Doe'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Phone','+45.123456789')
);

#Contact
$adminContact =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Phone','+45.123456789')
);

#Contact
$techContact =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Phone','+45.123456789')
);

#Contact
$billingContact =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Phone','+45.123456789')
);

#Contact
$resellerContact =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Phone','+45.123456789')
);

#NameServer
$nameServer1 =  \SOAP::Data->value(
SOAP::Data->name('HostName','ns1.ascio.com')
);

#NameServer
$nameServer2 =  \SOAP::Data->value(
SOAP::Data->name('HostName','ns2.ascio.com')
);

#NameServers
$nameServers =  \SOAP::Data->value(
SOAP::Data->name('NameServer1',$nameServer1),
SOAP::Data->name('NameServer2',$nameServer2)
);

#TradeMark
$trademark =  \SOAP::Data->value(
SOAP::Data->name('Name','John Doe'),
SOAP::Data->name('Country','DK'),
SOAP::Data->name('Date',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST')),
SOAP::Data->name('Number','NumberTest'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Contact','ContactTest'),
SOAP::Data->name('ContactLanguage','ContactLanguageTest'),
SOAP::Data->name('DocumentationLanguage','DocumentationLanguageTest'),
SOAP::Data->name('SecondContact','SecondContactTest'),
SOAP::Data->name('ThirdContact','ThirdContactTest'),
SOAP::Data->name('RegDate',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST'))
);

#DnsSecKey
$dnsSecKey1 =  \SOAP::Data->value(
SOAP::Data->name('DigestAlgorithm','RSA-SHA256'),
SOAP::Data->name('DigestType','SHA-256'),
SOAP::Data->name('Digest','846E5ED4AB6788032B89393619752F662CF2B7B2046A8EC0804DF88F1469AC1E'),
SOAP::Data->name('KeyTag','2224')
);

#DnsSecKeys
$dnsSecKeys =  \SOAP::Data->value(
SOAP::Data->name('DnsSecKey1',$dnsSecKey1)
);

#Extensions
$extensions =  \SOAP::Data->value(
\SOAP::Data->value(

)
);

#PrivacyProxy
$privacyProxy =  \SOAP::Data->value(
SOAP::Data->name('Type','None'),
SOAP::Data->name('PrivacyAdmin','false'),
SOAP::Data->name('PrivacyTech','false'),
SOAP::Data->name('PrivacyBilling','false'),
SOAP::Data->name('Extensions',$extensions)
);

#Domain
$domain =  \SOAP::Data->value(
SOAP::Data->name('DomainName','testdomain123.com'),
SOAP::Data->name('DomainHandle','DomainHandleTest'),
SOAP::Data->name('RegPeriod',1),
SOAP::Data->name('RenewPeriod',1),
SOAP::Data->name('AuthInfo','X4FF!zu'),
SOAP::Data->name('ExpDate',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST')),
SOAP::Data->name('EncodingType','EncodingTypeTest'),
SOAP::Data->name('DomainPurpose','DomainPurposeTest'),
SOAP::Data->name('Comment','CommentTest'),
SOAP::Data->name('TransferLock','Unlock'),
SOAP::Data->name('DeleteLock','Unlock'),
SOAP::Data->name('UpdateLock','Unlock'),
SOAP::Data->name('QueueType','QueueTypeTest'),
SOAP::Data->name('Registrant',$registrant),
SOAP::Data->name('AdminContact',$adminContact),
SOAP::Data->name('TechContact',$techContact),
SOAP::Data->name('BillingContact',$billingContact),
SOAP::Data->name('ResellerContact',$resellerContact),
SOAP::Data->name('NameServers',$nameServers),
SOAP::Data->name('Trademark',$trademark),
SOAP::Data->name('DnsSecKeys',$dnsSecKeys),
SOAP::Data->name('PrivacyProxy',$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)