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 AscioServices();


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

orderRequest =  new SearchOrderRequest();
orderRequest.OrderTypes = array(OrderType.Register_Domain);
orderRequest.OrderStatusTypes = array(OrderStatusType.Validated);
orderRequest.FromDate = "FromDateTest";
orderRequest.ToDate = "ToDateTest";
orderRequest.DomainName = env.getProperties().getProperty("DomainName")
orderRequest.TransactionComment = "TransactionCommentTest";
orderRequest.Comments = "CommentsTest";
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)