Ascio Web Service v3
Class ArrayOfNameWatchInfo
Property |
---|
NameWatchInfo |
AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";
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.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 = "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;
KeyValue keyValue = new KeyValue();
keyValue.Key = "Title";
keyValue.KeySpecified = true;
keyValue.Value = "Mr.";
keyValue.ValueSpecified = true;
Extensions customerReferenceExtensions = new Extensions(array($keyValue));
CustomerReferenceInfo customerReference = new CustomerReferenceInfo();
customerReference.Handle = "JD123";
customerReference.HandleSpecified = true;
customerReference.ExternalId = "ExternalIdTest";
customerReference.ExternalIdSpecified = true;
customerReference.Description = "DescriptionTest";
customerReference.DescriptionSpecified = true;
customerReference.Extensions = customerReferenceExtensions;
customerReference.CreationDate = "CreationDateTest";
customerReference.Status = "StatusTest";
NameWatchInfo nameWatchInfo = new NameWatchInfo();
nameWatchInfo.Handle = "JD123";
nameWatchInfo.HandleSpecified = true;
nameWatchInfo.Status = "StatusTest";
nameWatchInfo.StatusSpecified = true;
nameWatchInfo.Created = new \DateTime();
nameWatchInfo.CreatedSpecified = true;
nameWatchInfo.Expires = new \DateTime();
nameWatchInfo.ExpiresSpecified = true;
nameWatchInfo.Name = "ascio-is-great.com";
nameWatchInfo.NameSpecified = true;
nameWatchInfo.NotificationFrequency = NotificationFrequencyType.Daily;
nameWatchInfo.NotificationFrequencySpecified = true;
nameWatchInfo.Tier = 1;
nameWatchInfo.TierSpecified = true;
nameWatchInfo.EmailNotification1 = "EmailNotification1Test";
nameWatchInfo.EmailNotification1Specified = true;
nameWatchInfo.EmailNotification2 = "EmailNotification2Test";
nameWatchInfo.EmailNotification2Specified = true;
nameWatchInfo.EmailNotification3 = "EmailNotification3Test";
nameWatchInfo.EmailNotification3Specified = true;
nameWatchInfo.EmailNotification4 = "EmailNotification4Test";
nameWatchInfo.EmailNotification4Specified = true;
nameWatchInfo.EmailNotification5 = "EmailNotification5Test";
nameWatchInfo.EmailNotification5Specified = true;
nameWatchInfo.Owner = owner;
nameWatchInfo.Reseller = reseller;
nameWatchInfo.ObjectComment = "Example Object Comment";
nameWatchInfo.ObjectCommentSpecified = true;
nameWatchInfo.CustomerReference = customerReference;
nameWatchInfo.ReportUrl = "ReportUrlTest";
nameWatchInfo.ReportUrlSpecified = true;
ArrayOfNameWatchInfo arrayOfNameWatchInfo = new ArrayOfNameWatchInfo(array($nameWatchInfo));
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.
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.