Ascio Web Service v3

Perl GetOrders

Search for orders.

GetOrdersResponse GetOrders(SecurityHeaderDetails securityHeader,GetOrdersRequest request)

Response codes

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

GetOrders Request

Property
request

GetOrdersResponse

PropertyDescription
GetOrdersResult
TotalCountExample: 1
OrdersInfo
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Perl example

use SOAP::Lite;
use Date::Format;
$proxy = "https://aws.demo.ascio.com/v3/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite
    ->on_action( sub { "GetOrders" } )
    ->proxy($proxy)
    ->ns("http://www.ascio.com/2013/02", "v3")
    ->ns("http://www.ascio.com/2013/02/AscioService", "service");
    
# Please enter your ascio-credentials here

my $header = SOAP::Header->new(
            name =>"v3:SecurityHeaderDetails",
            value => {"v3:Account" => "username", "v3:Password" =>"password"} 
        );
$soap->autotype(0);
$method = SOAP::Data->name("service:GetOrders")->attr({xmlns => $namespace});

#PagingInfo
$pageInfo =  \SOAP::Data->value(
	SOAP::Data->name('v3:PageIndex',1),
	SOAP::Data->name('v3:PageSize',1)
);

#GetOrdersRequest
$request =  \SOAP::Data->value(
	SOAP::Data->name('v3:TransactionComment','TransactionCommentTest'),
	SOAP::Data->name('v3:Comments','RegistrarTag'),
	SOAP::Data->name('v3:FromDate',new \DateTime()),
	SOAP::Data->name('v3:ToDate',new \DateTime()),
	SOAP::Data->name('v3:OrderStatusTypes',SOAP::Data->value(
		SOAP::Data->name("OrderStatusType", "NotSet"), 
		SOAP::Data->name("OrderStatusType", "Received"), 
		SOAP::Data->name("OrderStatusType", "Validated"), 
		SOAP::Data->name("OrderStatusType", "Invalid"), 
		SOAP::Data->name("OrderStatusType", "PendingDocumentation"), 
		SOAP::Data->name("OrderStatusType", "PendingEndUserAction"), 
		SOAP::Data->name("OrderStatusType", "DocumentationReceived"), 
		SOAP::Data->name("OrderStatusType", "DocumentationApproved"), 
		SOAP::Data->name("OrderStatusType", "DocumentationNotApproved"), 
		SOAP::Data->name("OrderStatusType", "PendingNicProcessing"), 
		SOAP::Data->name("OrderStatusType", "PendingNicDocumentApproval"), 
		SOAP::Data->name("OrderStatusType", "PendingPostProcessing"), 
		SOAP::Data->name("OrderStatusType", "PendingInternalProcessing"), 
		SOAP::Data->name("OrderStatusType", "Completed"), 
		SOAP::Data->name("OrderStatusType", "Failed"), 
		SOAP::Data->name("OrderStatusType", "AuthenticationFailed"))),
	SOAP::Data->name('v3:OrderTypes',SOAP::Data->value(
		SOAP::Data->name("OrderType", "NotSet"), 
		SOAP::Data->name("OrderType", "ContactUpdate"), 
		SOAP::Data->name("OrderType", "ChangeLocks"), 
		SOAP::Data->name("OrderType", "Delete"), 
		SOAP::Data->name("OrderType", "RegistrantDetailsUpdate"), 
		SOAP::Data->name("OrderType", "Expire"), 
		SOAP::Data->name("OrderType", "NameserverUpdate"), 
		SOAP::Data->name("OrderType", "OwnerChange"), 
		SOAP::Data->name("OrderType", "Queue"), 
		SOAP::Data->name("OrderType", "Register"), 
		SOAP::Data->name("OrderType", "Renew"), 
		SOAP::Data->name("OrderType", "Restore"), 
		SOAP::Data->name("OrderType", "Transfer"), 
		SOAP::Data->name("OrderType", "Unexpire"), 
		SOAP::Data->name("OrderType", "TransferAway"), 
		SOAP::Data->name("OrderType", "AutoRenew"), 
		SOAP::Data->name("OrderType", "AutoDelete"), 
		SOAP::Data->name("OrderType", "DetailsUpdate"), 
		SOAP::Data->name("OrderType", "Import"), 
		SOAP::Data->name("OrderType", "PartnerChange"), 
		SOAP::Data->name("OrderType", "DeQueue"), 
		SOAP::Data->name("OrderType", "UpdateAuthInfo"), 
		SOAP::Data->name("OrderType", "Support"), 
		SOAP::Data->name("OrderType", "WhoisDataReminder"))),
	SOAP::Data->name('v3:ObjectTypes',SOAP::Data->value(
		SOAP::Data->name("ObjectType", "DomainType"), 
		SOAP::Data->name("ObjectType", "DefensiveType"), 
		SOAP::Data->name("ObjectType", "MarkType"), 
		SOAP::Data->name("ObjectType", "NameWatchType"), 
		SOAP::Data->name("ObjectType", "SslCertificateType"), 
		SOAP::Data->name("ObjectType", "LocalPresence"), 
		SOAP::Data->name("ObjectType", "PrivacyProxy"), 
		SOAP::Data->name("ObjectType", "MarkExtendedService"), 
		SOAP::Data->name("ObjectType", "SanSsl"))),
	SOAP::Data->name('v3:OrderSort','CreatedAsc'),
	SOAP::Data->name('v3:PageInfo',$pageInfo),
	SOAP::Data->name('v3:ObjectNames',SOAP::Data->value()),
	SOAP::Data->name('v3:ObjectHandles',SOAP::Data->value()),
	SOAP::Data->name('v3:OrderIds',SOAP::Data->value())
);
@query = (
	SOAP::Data->name("service:request" => $request)->attr({"xsi:type" => "v3:GetOrdersRequest"})
);

$result = $soap->call($method => @query, $header);
unless ($result->fault) {
	$response = $result->valueof("//GetOrdersResponse/GetOrdersResult");
	print "ResultCode : $response->{'ResultCode'}\r\n";
	print "Message : $response->{'ResultMessage'}\r\n";
	if ($response->{"ResultCode"} == 200) {
		print "OK";
	}
}
else {
	print join ", ",
	$result->faultcode,
	$result->faultstring,
	$result->faultdetail;
}
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.