Ascio Web Service v3

Class GetPricesResponse

PropertyDescription
GetPricesResult
TotalCountExample: 1
Currency
Prices
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

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

Product product =  new Product();
product.ProductName = "ProductNameTest";
product.ObjectType = ObjectType.DomainType;
product.ObjectTypeSpecified = true;
product.OrderType = OrderType.Register;
product.OrderTypeSpecified = true;
product.Tld = "TldTest";
product.TldCountry = "TldCountryTest";
product.Period = 1;
product.Note = "NoteTest";

PriceInfo priceInfo =  new PriceInfo();
priceInfo.Product = product;
priceInfo.Price = "PriceTest";
priceInfo.ValidFrom = new \DateTime();
priceInfo.ValidFromSpecified = true;
priceInfo.ValidTo = new \DateTime();
priceInfo.ValidToSpecified = true;

ArrayOfPrices prices =  new ArrayOfPrices(array($priceInfo));

GetPricesResponse getPricesResponse =  new GetPricesResponse();
getPricesResponse.ResultCode = 1;
getPricesResponse.ResultCodeSpecified = true;
getPricesResponse.ResultMessage = "ResultMessageTest";
getPricesResponse.ResultMessageSpecified = true;
getPricesResponse.Errors = array(
	);
getPricesResponse.TotalCount = 1;
getPricesResponse.TotalCountSpecified = true;
getPricesResponse.Currency = "CurrencyTest";
getPricesResponse.CurrencySpecified = true;
getPricesResponse.Prices = prices;
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.