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

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


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

#SearchOrderRequest
orderRequest =  {
	"OrderTypes" : {"OrderType" : ["Register_Domain"]},
	"OrderStatusTypes" : {"OrderStatusType" : ["Validated"]},
	"FromDate" : "2017-11-22T03:36:40.416Z",
	"ToDate" : "2017-11-22T03:36:40.416Z",
	"DomainName" : "test-domain.com",
	"TransactionComment" : "TransactionCommentTest",
	"Comments" : "CommentsTest",
	"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)