Ascio Web Service v2
Domain
The domain which is necessary for every order.
Property | Description | TLD-Kit |
---|---|---|
DomainName | Example: "ascio-test-domain" | 2a |
DomainHandle | 2d | |
RegPeriod | The lifetime of a domain for Registration, Renew and Transfer orders. The domain will expire after RegPeriod years. Example: 1 | 2b |
RenewPeriod | The RegPeriod for the next AutoRenew that is spawned by the backend. When the domain is renewed by a AutoRenew order, it will be for RenewPeriod years. Example: 1 | 2c |
Status | ||
AuthInfo | When 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 | ||
EncodingType | Please 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 |
DomainPurpose | 20a | |
Comment | 1b | |
TransferLock | If 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 |
DeleteLock | If 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 |
UpdateLock | If 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 |
QueueType | This is for QueueOrders. You can set the Phase here. (Phase1, Phase2, Phase3) | 2l |
Registrant | The 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 | ||
DomainType | ||
DiscloseSocialData | Example: "true" |
use SOAP::Lite;
use Date::Format;
$proxy = "https://aws.demo.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','ascio-is-great.com'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
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'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('RegistrantType','C1'),
SOAP::Data->name('VatNumber','VatNumberTest'),
SOAP::Data->name('NexusCategory','NexusCategoryTest'),
SOAP::Data->name('RegistrantNumber','abc123445'),
SOAP::Data->name('Details','DetailsTest')
);
#Contact
$adminContact = \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);
#Contact
$techContact = \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);
#Contact
$billingContact = \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);
#Contact
$resellerContact = \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);
#NameServer
$nameServer1 = \SOAP::Data->value(
SOAP::Data->name('HostName','ns1.ascio.net'),
SOAP::Data->name('IpAddress','64.98.148.24'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer2 = \SOAP::Data->value(
SOAP::Data->name('HostName','ns2.ascio.net'),
SOAP::Data->name('IpAddress','216.40.47.100'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer3 = \SOAP::Data->value(
SOAP::Data->name('HostName','ns3.ascio.net'),
SOAP::Data->name('IpAddress','64.98.148.25'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer4 = \SOAP::Data->value(
SOAP::Data->name('HostName','ns4.ascio.net'),
SOAP::Data->name('IpAddress','216.40.47.101'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer5 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer6 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer7 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer8 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer9 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer10 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer11 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServer
$nameServer12 = \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);
#NameServers
$nameServers = \SOAP::Data->value(
SOAP::Data->name('NameServer1',$nameServer1),
SOAP::Data->name('NameServer2',$nameServer2),
SOAP::Data->name('NameServer3',$nameServer3),
SOAP::Data->name('NameServer4',$nameServer4),
SOAP::Data->name('NameServer5',$nameServer5),
SOAP::Data->name('NameServer6',$nameServer6),
SOAP::Data->name('NameServer7',$nameServer7),
SOAP::Data->name('NameServer8',$nameServer8),
SOAP::Data->name('NameServer9',$nameServer9),
SOAP::Data->name('NameServer10',$nameServer10),
SOAP::Data->name('NameServer11',$nameServer11),
SOAP::Data->name('NameServer12',$nameServer12)
);
#TradeMark
$trademark = \SOAP::Data->value(
SOAP::Data->name('Name','ascio-is-great.com'),
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('Handle','JD123')
);
#DnsSecKey
$dnsSecKey2 = \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);
#DnsSecKey
$dnsSecKey3 = \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);
#DnsSecKey
$dnsSecKey4 = \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);
#DnsSecKey
$dnsSecKey5 = \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);
#DnsSecKeys
$dnsSecKeys = \SOAP::Data->value(
SOAP::Data->name('DnsSecKey1',$dnsSecKey1),
SOAP::Data->name('DnsSecKey2',$dnsSecKey2),
SOAP::Data->name('DnsSecKey3',$dnsSecKey3),
SOAP::Data->name('DnsSecKey4',$dnsSecKey4),
SOAP::Data->name('DnsSecKey5',$dnsSecKey5)
);
#Extension
$extension = \SOAP::Data->value(
SOAP::Data->name('Key','Title'),
SOAP::Data->name('Value','Mr.')
);
#Extensions
$extensions = \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('Status','StatusTest'),
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),
SOAP::Data->name('DomainType','DomainTypeTest'),
SOAP::Data->name('DiscloseSocialData','true')
);
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)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.