Ascio Web Service v3

NodeJS GetFuturePrices

Search for prices. It can be searched by:

  • TLDs
  • CountryCodes
  • Periods
  • Product Options
  • ObjectTypes (Domain, SslCertificate, Mark, Defensive, NameWatch)

Please limit the results with Paginate or other filter options. The list of Prices will contain detailed history of all prices.

GetFuturePricesResponse GetFuturePrices(SecurityHeaderDetails securityHeader,GetFuturePricesRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found
405Access denied
501Syntax error in parameters or arguments

GetFuturePrices Request

Property
request

GetFuturePricesResponse

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

Used in Classes

NodeJS example

var soap = require("soap");

var getFuturePricesExample = function(callback) {

	//PagingInfo
	pageInfo =  {};
	pageInfo.PageIndex=1;
	pageInfo.PageSize=1;

	//GetPricesRequest
	request =  {};
	request.Date="2024-11-23T08:58:54.148+01:00";
	request.ObjectTypes=[
		{"q3:ObjectType", "DomainType"}, 
		{"q3:ObjectType", "DefensiveType"}, 
		{"q3:ObjectType", "MarkType"}, 
		{"q3:ObjectType", "NameWatchType"}, 
		{"q3:ObjectType", "SslCertificateType"}, 
		{"q3:ObjectType", "LocalPresence"}, 
		{"q3:ObjectType", "PrivacyProxy"}, 
		{"q3:ObjectType", "MarkExtendedService"}, 
		{"q3:ObjectType", "SanSsl"}];
	request.OrderTypes=[
		{"q3:OrderType", "NotSet"}, 
		{"q3:OrderType", "ContactUpdate"}, 
		{"q3:OrderType", "ChangeLocks"}, 
		{"q3:OrderType", "Delete"}, 
		{"q3:OrderType", "RegistrantDetailsUpdate"}, 
		{"q3:OrderType", "Expire"}, 
		{"q3:OrderType", "NameserverUpdate"}, 
		{"q3:OrderType", "OwnerChange"}, 
		{"q3:OrderType", "Queue"}, 
		{"q3:OrderType", "Register"}, 
		{"q3:OrderType", "Renew"}, 
		{"q3:OrderType", "Restore"}, 
		{"q3:OrderType", "Transfer"}, 
		{"q3:OrderType", "Unexpire"}, 
		{"q3:OrderType", "TransferAway"}, 
		{"q3:OrderType", "AutoRenew"}, 
		{"q3:OrderType", "AutoDelete"}, 
		{"q3:OrderType", "DetailsUpdate"}, 
		{"q3:OrderType", "Import"}, 
		{"q3:OrderType", "PartnerChange"}, 
		{"q3:OrderType", "DeQueue"}, 
		{"q3:OrderType", "UpdateAuthInfo"}, 
		{"q3:OrderType", "Support"}, 
		{"q3:OrderType", "WhoisDataReminder"}];
	request.Tlds=[
		{"q3:string", "com"}, 
		{"q3:string", "net"}, 
		{"q3:string", "org"}, 
		{"q3:string", "info"}, 
		{"q3:string", "biz"}, 
		{"q3:string", "guru"}];
	request.TldCountryCode="de";
	request.Periods=[
		{"q3:int", 1}, 
		{"q3:int", 2}, 
		{"q3:int", 3}];
	request.ProductOptions=[];
	request.DefaultPeriodsOnly=true;
	request.PageInfo=pageInfo;
	request.TldsInPortfolioOnly="TldsInPortfolioOnlyTest";	
	soap.createClient("https://aws.demo.ascio.com/v3/aws.wsdl", function(err, client) {
		if(err) {
			callback(err);
		} 
		else {
			const ns="http://www.ascio.com/2013/02";
			const securityHeader = {
				SecurityHeaderDetails : {
					Account: "ascio-account",
					Password: "mypassword123"
				}			
			};			
			client.addSoapHeader(securityHeader, ns, "q1");
			const impersonationHeader = {
				ImpersonationHeaderDetails : {
					TransactionAccount: "sub-account"
				}
			}
			client.addSoapHeader(impersonationHeader, ns, "q1");
			client.GetFuturePrices({request: request}, function(err,result) {
				if(err) {
					callback({error: err, request : result.request.body});
				} else {
					if(result.GetFuturePricesResult.ResultCode < 400) {
						callback(null,result);	
					} else {
						callback({error: result.GetFuturePricesResult,request : request});
					}
				}
			});
		};
	});
};
getFuturePricesExample(function(err,result) {
	if(err) {
		console.log("\n\n Request \n\n",err.request, "\n\n Response \n\n" ,err.error,"\n");
	}
	else {
		console.log(result);
	}
});
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.