Ascio Web Service v2
C# CreateOrder
OrderTypes
Contact_Update | Update contacts: Admin, Tech, Billing and Reseller. Please provice at least Admin,Tech and Billing contacts for this OrderType. You need to use Registrant_Details_Update or Owner_Change to update the registrant. Contact_Update example |
---|---|
Change_Locks | You can change the TransferLock, DeleteLock and UpdateLocks. TransferLock: The domain can't be transfered. DeleteLock: The domain can't be deleted. UpdateLock: The domain can't be updated. |
Delete_Domain | The domain is deleted immediatly. The recommend process is to expire the domain instead of deleting it. |
Registrant_Details_Update | You can change all details, that don't change the identity of the person/company. Don't change: FirstName, LastName, OrgName, RegistrantNumber. Registrant_Details_Update example |
Expire_Domain | The domain is deleted at the expire-date (+threshold). Ascio uses AutoRenew, so you need to explicitly expire the domain, if you don't want it to be auto-renewed. The process is: Register or Transfer, Expire. This will stop the domain from being autorenewed. If the domain is expiring, you need to use unexpire, if you want the domain to be renewed at the expire-date. Don't use Renew to unexpire a domain |
Nameserver_Update | For updating nameserver. Please be aware that the glue-record must be set properly for some TLDs. Please contact partnerservice if you need help with this. Nameserver_Update example |
Owner_Change | Change the owner of the domain. Do this, if Registrant Details Update doesn't work, because important social data has changed. Owner_Change example |
Queue_Domain | Queue the domain. Please specify the Queue-Phase in Order.Options. You can find more information about the Queue-Phase in the TLD-Kit. |
Register_Domain | Registers a domain. |
Renew_Domain | Add xxx Years to your expire-date. Must be allowed by the registry. Please read the TLD-Kit to see details. |
Restore_Domain | Restores a deleted domains. Is only possible for weeks after deletion. |
Transfer_Domain | Transfers a domain. You need to provide full data, that is the same as the original data. If trade is possible, then you can provide different data and an owner-change is done during the transfer. Transfers without data are possible for: com, net, org, biz, info, us, cc, cn, com.cn, net.cn, org.cn, tv some others. |
Unexpire_Domain | Unexpire a domain that is expiring. If you want to simulate auto-expire, then use unexpire for your renews. |
Transfer_Away | The transfer away is triggered by Ascio. Only exception: If you need to set a registrar-id like for co.uk, you can use the Transfer_Away and set the new registrar-id in the options. |
Autorenew_Domain | This order-type is triggered by Ascio. For ICANN domains it is used, to spawn the ERRP process. If your planning to send you own ERRP messages, you can wait for our autorenew and then send it. UploadMessage will prevent Ascio from sending out ERRP mails. |
Autodelete_Domain | This order-type is triggered by Ascio. For ICANN domains it is used, to spawn the ERRP process. If your planning to send you own ERRP messages, you can wait for our autorenew and then send it. UploadMessage will prevent Ascio from sending out ERRP mails. |
Defensive_Registration | A blocking registration that isn't delegated |
Name_Watch | |
Domain_Details_Update | Update domain properties. Linked handles like Contacts, Nameservers and other Objects can't be modified with this command. |
Import_Domain | |
Partner_Change | Move a domain to another Ascio account. Please contact Partnerservice to the the permissions. |
Support | |
DeQueue | |
Update_AuthInfo | Update the AuthCode for the domain. Normally the Code is generated by Ascio, but for some TLDs, like .de you need to provide the Authcode with the order |
Response CreateOrder(string sessionId,Order order)
Response codes
ResultCode | Message | Value |
---|---|---|
200 | Order validated | |
200 | Order received | |
400 | Order not validated | Messages |
401 | Authorization failed | |
405 | Access denied |
CreateOrder Request
Property | Description |
---|---|
sessionId | Example: o58t9fjgw9bjarp6q7byv13e |
order |
CreateOrderResponse
Property |
---|
CreateOrderResult |
order |
C# example
AscioServices services = new ServiceReference1.AscioServices();
Registrant registrant = new Registrant();
registrant.Name = "ascio-is-great.com";
registrant.OrgName = "Ascio";
registrant.Address1 = "Address1Test";
registrant.Address2 = "Address2Test";
registrant.City = "CityTest";
registrant.State = "StateTest";
registrant.PostalCode = "888349";
registrant.CountryCode = "DK";
registrant.Email = "administrator@ascio-test-domain.com"
registrant.Phone = "+45.123456789";
registrant.Fax = "+45.987654321";
registrant.RegistrantType = "C1";
registrant.VatNumber = "VatNumberTest";
registrant.NexusCategory = "NexusCategoryTest";
registrant.RegistrantNumber = "abc123445";
registrant.Details = "DetailsTest";
Contact adminContact = new Contact();
adminContact.Status = "StatusTest";
adminContact.Handle = "JD123";
adminContact.FirstName = "John";
adminContact.LastName = "Doe";
adminContact.OrgName = "Ascio";
adminContact.Address1 = "Address1Test";
adminContact.Address2 = "Address2Test";
adminContact.PostalCode = "888349";
adminContact.City = "CityTest";
adminContact.State = "StateTest";
adminContact.CountryCode = "DK";
adminContact.Email = "administrator@ascio-test-domain.com"
adminContact.Phone = "+45.123456789";
adminContact.Fax = "+45.987654321";
adminContact.Type = "owner";
adminContact.Details = "DetailsTest";
adminContact.OrganisationNumber = "OrganisationNumberTest";
Contact techContact = new Contact();
techContact.Status = "StatusTest";
techContact.Handle = "JD123";
techContact.FirstName = "John";
techContact.LastName = "Doe";
techContact.OrgName = "Ascio";
techContact.Address1 = "Address1Test";
techContact.Address2 = "Address2Test";
techContact.PostalCode = "888349";
techContact.City = "CityTest";
techContact.State = "StateTest";
techContact.CountryCode = "DK";
techContact.Email = "administrator@ascio-test-domain.com"
techContact.Phone = "+45.123456789";
techContact.Fax = "+45.987654321";
techContact.Type = "owner";
techContact.Details = "DetailsTest";
techContact.OrganisationNumber = "OrganisationNumberTest";
Contact billingContact = new Contact();
billingContact.Status = "StatusTest";
billingContact.Handle = "JD123";
billingContact.FirstName = "John";
billingContact.LastName = "Doe";
billingContact.OrgName = "Ascio";
billingContact.Address1 = "Address1Test";
billingContact.Address2 = "Address2Test";
billingContact.PostalCode = "888349";
billingContact.City = "CityTest";
billingContact.State = "StateTest";
billingContact.CountryCode = "DK";
billingContact.Email = "administrator@ascio-test-domain.com"
billingContact.Phone = "+45.123456789";
billingContact.Fax = "+45.987654321";
billingContact.Type = "owner";
billingContact.Details = "DetailsTest";
billingContact.OrganisationNumber = "OrganisationNumberTest";
Contact resellerContact = new Contact();
resellerContact.Status = "StatusTest";
resellerContact.Handle = "JD123";
resellerContact.FirstName = "John";
resellerContact.LastName = "Doe";
resellerContact.OrgName = "Ascio";
resellerContact.Address1 = "Address1Test";
resellerContact.Address2 = "Address2Test";
resellerContact.PostalCode = "888349";
resellerContact.City = "CityTest";
resellerContact.State = "StateTest";
resellerContact.CountryCode = "DK";
resellerContact.Email = "administrator@ascio-test-domain.com"
resellerContact.Phone = "+45.123456789";
resellerContact.Fax = "+45.987654321";
resellerContact.Type = "owner";
resellerContact.Details = "DetailsTest";
resellerContact.OrganisationNumber = "OrganisationNumberTest";
NameServer nameServer1 = new NameServer();
nameServer1.HostName = "ns1.ascio.net";
nameServer1.IpAddress = "64.98.148.24";
nameServer1.Status = "StatusTest";
nameServer1.IpV6Address = "xxxx:xxxx:xxx:xxx:xxxx";
nameServer1.Details = "DetailsTest";
NameServer nameServer2 = new NameServer();
nameServer2.HostName = "ns2.ascio.net";
nameServer2.IpAddress = "216.40.47.100";
nameServer2.Status = "StatusTest";
nameServer2.IpV6Address = "xxxx:xxxx:xxx:xxx:xxxx";
nameServer2.Details = "DetailsTest";
NameServer nameServer3 = new NameServer();
nameServer3.HostName = "ns3.ascio.net";
nameServer3.IpAddress = "64.98.148.25";
nameServer3.Status = "StatusTest";
nameServer3.IpV6Address = "xxxx:xxxx:xxx:xxx:xxxx";
nameServer3.Details = "DetailsTest";
NameServer nameServer4 = new NameServer();
nameServer4.HostName = "ns4.ascio.net";
nameServer4.IpAddress = "216.40.47.101";
nameServer4.Status = "StatusTest";
nameServer4.IpV6Address = "xxxx:xxxx:xxx:xxx:xxxx";
nameServer4.Details = "DetailsTest";
NameServer nameServer5 = new NameServer();
nameServer5.HostName = "HostNameTest";
nameServer5.IpAddress = "IpAddressTest";
nameServer5.Status = "StatusTest";
nameServer5.IpV6Address = "IpV6AddressTest";
nameServer5.Details = "DetailsTest";
NameServer nameServer6 = new NameServer();
nameServer6.HostName = "HostNameTest";
nameServer6.IpAddress = "IpAddressTest";
nameServer6.Status = "StatusTest";
nameServer6.IpV6Address = "IpV6AddressTest";
nameServer6.Details = "DetailsTest";
NameServer nameServer7 = new NameServer();
nameServer7.HostName = "HostNameTest";
nameServer7.IpAddress = "IpAddressTest";
nameServer7.Status = "StatusTest";
nameServer7.IpV6Address = "IpV6AddressTest";
nameServer7.Details = "DetailsTest";
NameServer nameServer8 = new NameServer();
nameServer8.HostName = "HostNameTest";
nameServer8.IpAddress = "IpAddressTest";
nameServer8.Status = "StatusTest";
nameServer8.IpV6Address = "IpV6AddressTest";
nameServer8.Details = "DetailsTest";
NameServer nameServer9 = new NameServer();
nameServer9.HostName = "HostNameTest";
nameServer9.IpAddress = "IpAddressTest";
nameServer9.Status = "StatusTest";
nameServer9.IpV6Address = "IpV6AddressTest";
nameServer9.Details = "DetailsTest";
NameServer nameServer10 = new NameServer();
nameServer10.HostName = "HostNameTest";
nameServer10.IpAddress = "IpAddressTest";
nameServer10.Status = "StatusTest";
nameServer10.IpV6Address = "IpV6AddressTest";
nameServer10.Details = "DetailsTest";
NameServer nameServer11 = new NameServer();
nameServer11.HostName = "HostNameTest";
nameServer11.IpAddress = "IpAddressTest";
nameServer11.Status = "StatusTest";
nameServer11.IpV6Address = "IpV6AddressTest";
nameServer11.Details = "DetailsTest";
NameServer nameServer12 = new NameServer();
nameServer12.HostName = "HostNameTest";
nameServer12.IpAddress = "IpAddressTest";
nameServer12.Status = "StatusTest";
nameServer12.IpV6Address = "IpV6AddressTest";
nameServer12.Details = "DetailsTest";
NameServers nameServers = new NameServers();
nameServers.NameServer1 = nameServer1;
nameServers.NameServer2 = nameServer2;
nameServers.NameServer3 = nameServer3;
nameServers.NameServer4 = nameServer4;
nameServers.NameServer5 = nameServer5;
nameServers.NameServer6 = nameServer6;
nameServers.NameServer7 = nameServer7;
nameServers.NameServer8 = nameServer8;
nameServers.NameServer9 = nameServer9;
nameServers.NameServer10 = nameServer10;
nameServers.NameServer11 = nameServer11;
nameServers.NameServer12 = nameServer12;
TradeMark trademark = new TradeMark();
trademark.Name = "ascio-is-great.com";
trademark.Country = "DK";
trademark.Date = "2023-04-28T09:00:00";
trademark.Number = "NumberTest";
trademark.Type = "owner";
trademark.Contact = "ContactTest";
trademark.ContactLanguage = "ContactLanguageTest";
trademark.DocumentationLanguage = "DocumentationLanguageTest";
trademark.SecondContact = "SecondContactTest";
trademark.ThirdContact = "ThirdContactTest";
trademark.RegDate = "RegDateTest";
DnsSecKey dnsSecKey1 = new DnsSecKey();
dnsSecKey1.Handle = "JD123";
DnsSecKey dnsSecKey2 = new DnsSecKey();
dnsSecKey2.Handle = "JD123";
DnsSecKey dnsSecKey3 = new DnsSecKey();
dnsSecKey3.Handle = "JD123";
DnsSecKey dnsSecKey4 = new DnsSecKey();
dnsSecKey4.Handle = "JD123";
DnsSecKey dnsSecKey5 = new DnsSecKey();
dnsSecKey5.Handle = "JD123";
DnsSecKeys dnsSecKeys = new DnsSecKeys();
dnsSecKeys.DnsSecKey1 = dnsSecKey1;
dnsSecKeys.DnsSecKey2 = dnsSecKey2;
dnsSecKeys.DnsSecKey3 = dnsSecKey3;
dnsSecKeys.DnsSecKey4 = dnsSecKey4;
dnsSecKeys.DnsSecKey5 = dnsSecKey5;
Extension extension = new Extension();
extension.Key = "Title";
extension.Value = "Mr.";
Extensions extensions = new Extensions(array($extension));
PrivacyProxy privacyProxy = new PrivacyProxy();
privacyProxy.Type = PrivacyProxyEnumType.None;
privacyProxy.PrivacyAdmin = false;
privacyProxy.PrivacyTech = false;
privacyProxy.PrivacyBilling = false;
privacyProxy.Extensions = extensions;
Domain domain = new Domain();
domain.DomainName = "ascio-test-domain".microtime().".com"
domain.DomainHandle = "DomainHandleTest";
domain.RegPeriod = 1;
domain.RenewPeriod = 1;
domain.Status = "StatusTest";
domain.AuthInfo = "X4FF!zu";
domain.ExpDate = "ExpDateTest";
domain.EncodingType = "EncodingTypeTest";
domain.DomainPurpose = "DomainPurposeTest";
domain.Comment = "CommentTest";
domain.TransferLock = "Unlock";
domain.DeleteLock = "Unlock";
domain.UpdateLock = "Unlock";
domain.QueueType = "QueueTypeTest";
domain.Registrant = registrant;
domain.AdminContact = adminContact;
domain.TechContact = techContact;
domain.BillingContact = billingContact;
domain.ResellerContact = resellerContact;
domain.NameServers = nameServers;
domain.Trademark = trademark;
domain.DnsSecKeys = dnsSecKeys;
domain.PrivacyProxy = privacyProxy;
domain.DomainType = "DomainTypeTest";
domain.DiscloseSocialData = "true";
Order order = new Order();
order.Type = OrderType.NotSet;
order.AccountReference = "AccountReferenceTest";
order.Status = OrderStatusType.NotSet;
order.TransactionComment = "TransactionCommentTest";
order.Comments = "RegistrarTag";
order.Options = "OptionsTest";
order.LocalPresence = "off";
order.Batch = "BatchTest";
order.Documentation = "DocumentationTest";
order.Domain = domain;
order.AgreedPrice = 5000;
Response response = services.CreateOrder("mySessionId", ref request);
if (response.ResultCode == 200) {
Console.WriteLine("My new orderId is : " + request.OrderId);
} else {
if (response.Values != null) {
Console.WriteLine(String.Join(",", response.Values));
}
}
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.