Ascio Web Service v2

C# 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

C# example

AscioServices services = new ServiceReference1.AscioServices();


PagingInfo pageInfo =  new PagingInfo();
pageInfo.PageIndex = 1;
pageInfo.PageSize = 1;

SearchOrderRequest orderRequest =  new SearchOrderRequest();
orderRequest.OrderTypes = array(
		"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"
	);
orderRequest.OrderStatusTypes = array(
		"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"
	);
orderRequest.FromDate = "FromDateTest";
orderRequest.ToDate = "ToDateTest";
orderRequest.DomainName = "ascio-test-domain".microtime().".com"
orderRequest.TransactionComment = "TransactionCommentTest";
orderRequest.Comments = "RegistrarTag";
orderRequest.IncludeDomainDetails = true;
orderRequest.PageInfo = pageInfo;
orderRequest.OrderSort = SearchOrderSortType.CreDateAsc;;
Response response = services.SearchOrder(todo);

if (response.ResultCode == 200) {
	Console.WriteLine("OK");
} else {
	Console.WriteLine("Error: "+response.ResultMessage+" ("+response.resultMessage+")";
}
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.