Ascio Web Service v3

C# CreateOrder

Register

The Domain Monitoring scans zones for keyword variations. The keywords are scanned in a predefined NotificationFrequency:

  • Daily
  • Weekly
  • Biweekly
  • Monthly

There a different scanning configuration that can be set with the Tier parameter:

  • 1: Search CCTlds
  • 2: Search all TLDs

Please enter 1 or 2 for the Tier

CreateOrderResponse CreateOrder(SecurityHeaderDetails securityHeader,CreateOrderRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

CreateOrder Request

PropertyType
request

CreateOrderResponse

PropertyDescription
CreateOrderResult
OrderInfo
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

PropertyValue
OrderTypeRegister
requestNameWatchOrderRequest

C# example

AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";

KeyValue keyValue =  new KeyValue();
keyValue.Key = "Title";
keyValue.KeySpecified = true;
keyValue.Value = "Mr.";
keyValue.ValueSpecified = true;

Extensions ownerExtensions =  new Extensions(array($keyValue));

Registrant owner =  new Registrant();
owner.FirstName = "John";
owner.FirstNameSpecified = true;
owner.LastName = "Doe";
owner.LastNameSpecified = true;
owner.OrgName = "Ascio";
owner.OrgNameSpecified = true;
owner.Address1 = "Address1Test";
owner.Address1Specified = true;
owner.Address2 = "Address2Test";
owner.Address2Specified = true;
owner.City = "CityTest";
owner.CitySpecified = true;
owner.State = "StateTest";
owner.StateSpecified = true;
owner.PostalCode = "888349";
owner.PostalCodeSpecified = true;
owner.CountryCode = "DK";
owner.CountryCodeSpecified = true;
owner.Phone = "+45.123456789";
owner.PhoneSpecified = true;
owner.Fax = "+45.987654321";
owner.FaxSpecified = true;
owner.Email = email@email.com
owner.Type = "owner";
owner.TypeSpecified = true;
owner.Details = "DetailsTest";
owner.DetailsSpecified = true;
owner.OrganisationNumber = "OrganisationNumberTest";
owner.OrganisationNumberSpecified = true;
owner.Extensions = ownerExtensions;
owner.VatNumber = "VatNumberTest";
owner.VatNumberSpecified = true;
owner.NexusCategory = "NexusCategoryTest";
owner.NexusCategorySpecified = true;

KeyValue keyValue =  new KeyValue();
keyValue.Key = "Title";
keyValue.KeySpecified = true;
keyValue.Value = "Mr.";
keyValue.ValueSpecified = true;

Extensions resellerExtensions =  new Extensions({(
		new KeyValue("Title", "Mrs.")
		}
	);

Contact reseller =  new Contact();
reseller.FirstName = "John";
reseller.FirstNameSpecified = true;
reseller.LastName = "Doe";
reseller.LastNameSpecified = true;
reseller.OrgName = "Ascio";
reseller.OrgNameSpecified = true;
reseller.Address1 = "Address1Test";
reseller.Address1Specified = true;
reseller.Address2 = "Address2Test";
reseller.Address2Specified = true;
reseller.City = "CityTest";
reseller.CitySpecified = true;
reseller.State = "StateTest";
reseller.StateSpecified = true;
reseller.PostalCode = "888349";
reseller.PostalCodeSpecified = true;
reseller.CountryCode = "DK";
reseller.CountryCodeSpecified = true;
reseller.Phone = "+45.123456789";
reseller.PhoneSpecified = true;
reseller.Fax = "+45.987654321";
reseller.FaxSpecified = true;
reseller.Email = email@email.com
reseller.Type = "owner";
reseller.TypeSpecified = true;
reseller.Details = "DetailsTest";
reseller.DetailsSpecified = true;
reseller.OrganisationNumber = "OrganisationNumberTest";
reseller.OrganisationNumberSpecified = true;
reseller.Extensions = resellerExtensions;

NameWatch nameWatch =  new NameWatch();
nameWatch.Name = "ascio-is-great.com";
nameWatch.NameSpecified = true;
nameWatch.NotificationFrequency = NotificationFrequencyType.Daily;
nameWatch.NotificationFrequencySpecified = true;
nameWatch.Tier = 1;
nameWatch.TierSpecified = true;
nameWatch.EmailNotification1 = "EmailNotification1Test";
nameWatch.EmailNotification1Specified = true;
nameWatch.EmailNotification2 = "EmailNotification2Test";
nameWatch.EmailNotification2Specified = true;
nameWatch.EmailNotification3 = "EmailNotification3Test";
nameWatch.EmailNotification3Specified = true;
nameWatch.EmailNotification4 = "EmailNotification4Test";
nameWatch.EmailNotification4Specified = true;
nameWatch.EmailNotification5 = "EmailNotification5Test";
nameWatch.EmailNotification5Specified = true;
nameWatch.Owner = owner;
nameWatch.Reseller = reseller;
nameWatch.ObjectComment = "Example Object Comment";
nameWatch.ObjectCommentSpecified = true;

NameWatchOrderRequest request =  new NameWatchOrderRequest();
request.Type = OrderType.Register;
request.TypeSpecified = true;
request.Period = 1;
request.PeriodSpecified = true;
request.TransactionComment = "TransactionCommentTest";
request.TransactionCommentSpecified = true;
request.NameWatch = nameWatch;
CreateOrderResponse response = services.CreateOrder(securityHeader, request);
if (response.ResultCode == 200) {
	Console.WriteLine("My new orderId is : " + request.OrderInfo.OrderId);
} else {
	if (response.Errors != null) {
		Console.WriteLine(String.Join(",", response.Errors));
	}
	Console.WriteLine(response.ResultMessage)
}
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.