Ascio Web Service v3

Class DefensiveOrderRequest

PropertyDescription
Defensive
AgreedPriceExample: 5000
TypeExample: "owner"
PeriodExample: 1
TransactionComment
CommentsExample: "RegistrarTag"
Documentation
Options

Used in Classes

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 = "administrator@ascio-test-domain.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 adminExtensions =  new Extensions({(
		new KeyValue("Title", "Mrs.")
		}
	);

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

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

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

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

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

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

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

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 = "administrator@ascio-test-domain.com"
reseller.Type = "owner";
reseller.TypeSpecified = true;
reseller.Details = "DetailsTest";
reseller.DetailsSpecified = true;
reseller.OrganisationNumber = "OrganisationNumberTest";
reseller.OrganisationNumberSpecified = true;
reseller.Extensions = resellerExtensions;

DomainTradeMark trademark =  new DomainTradeMark();
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";

Defensive defensive =  new Defensive();
defensive.Handle = "JD123";
defensive.HandleSpecified = true;
defensive.Name = "ascio-is-great.com";
defensive.NameSpecified = true;
defensive.MarkHandle = "MarkHandleTest";
defensive.MarkHandleSpecified = true;
defensive.AuthInfo = "X4FF!zu";
defensive.AuthInfoSpecified = true;
defensive.Encoding = "EncodingTest";
defensive.EncodingSpecified = true;
defensive.Owner = owner;
defensive.Admin = admin;
defensive.Tech = tech;
defensive.Billing = billing;
defensive.Reseller = reseller;
defensive.ObjectComment = "Example Object Comment";
defensive.ObjectCommentSpecified = true;
defensive.Trademark = trademark;

DefensiveOrderRequest defensiveOrderRequest =  new DefensiveOrderRequest();
defensiveOrderRequest.Type = OrderType.Register;
defensiveOrderRequest.TypeSpecified = true;
defensiveOrderRequest.Period = 1;
defensiveOrderRequest.PeriodSpecified = true;
defensiveOrderRequest.TransactionComment = "TransactionCommentTest";
defensiveOrderRequest.TransactionCommentSpecified = true;
defensiveOrderRequest.Comments = "RegistrarTag";
defensiveOrderRequest.CommentsSpecified = true;
defensiveOrderRequest.Documentation = "DocumentationTest";
defensiveOrderRequest.DocumentationSpecified = true;
defensiveOrderRequest.Options = "OptionsTest";
defensiveOrderRequest.OptionsSpecified = true;
defensiveOrderRequest.Defensive = defensive;
defensiveOrderRequest.AgreedPrice = 5000;
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.