Ascio Web Service v2

Python SearchOrder

Search for an order on existing order objects.

Response SearchOrder(string sessionId,SearchOrderRequest orderRequest)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
405Access denied

SearchOrder Request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
orderRequest

SearchOrderResponse

PropertyDescription
SearchOrderResult
totalOrdersExample: 1
orders

Python example

import zeep
import base64
from zeep import xsd, Client, Settings

# This is the test-environment. Please remove "demo." for the live-environment 

wsdl = "https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl"
settings = Settings(strict=False)
client = zeep.Client(wsdl=wsdl, settings=settings)


# PagingInfo
pageInfo =  {
	"PageIndex" : 1,
	"PageSize" : 1
}

# SearchOrderRequest
orderRequest =  {
	"OrderTypes" : {"OrderType" : [
		"NotSet", 
		"Contact_Update", 
		"Change_Locks", 
		"Delete_Domain", 
		"Registrant_Details_Update", 
		"Expire_Domain", 
		"Nameserver_Update", 
		"Owner_Change", 
		"Queue_Domain", 
		"Register_Domain", 
		"Renew_Domain", 
		"Restore_Domain", 
		"Transfer_Domain", 
		"Unexpire_Domain", 
		"Transfer_Away", 
		"Autorenew_Domain", 
		"Autodelete_Domain", 
		"Defensive_Registration", 
		"Name_Watch", 
		"Domain_Details_Update", 
		"Import_Domain", 
		"Partner_Change", 
		"Support", 
		"DeQueue", 
		"Update_AuthInfo"
	]},
	"OrderStatusTypes" : {"OrderStatusType" : [
		"NotSet", 
		"Received", 
		"Validated", 
		"Invalid", 
		"Pending", 
		"Processing", 
		"Pending_Documentation", 
		"Pending_End_User_Action", 
		"Documentation_Received", 
		"Documentation_Approved", 
		"Documentation_Not_Approved", 
		"Pending_NIC_Processing", 
		"Pending_NIC_Document_Approval", 
		"Pending_Post_Processing", 
		"Pending_Internal_Processing", 
		"Completed", 
		"Failed", 
		"Authentication_Failed"
	]},
	"FromDate" : "2024-12-22T07:50:25.489+01:00",
	"ToDate" : "2024-12-22T07:50:25.489+01:00",
	"DomainName" : "test-domain.com",
	"TransactionComment" : "TransactionCommentTest",
	"Comments" : "RegistrarTag",
	"IncludeDomainDetails" : "true",
	"PageInfo" : pageInfo,
	"OrderSort" : "CreDateAsc"
}
result = client.service.SearchOrder(sessionId = "sessionId", orderRequest = orderRequest)
print(result)
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.