Ascio Web Service v3

Java Axis 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

Java Axis example

package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;
import ascio.lib.*;

public class GetOrdersExample {
	public static GetOrdersResponse main() {
		AscioConfig config = new AscioConfig();
		V3 env = config.getTesting().getV3();

		PagingInfo pageInfo =  new PagingInfo();
		pageInfo.setPageIndex(1);
		pageInfo.setPageSize(1);

		GetOrdersRequest request =  new GetOrdersRequest();
		request.setTransactionComment("TransactionCommentTest");
		request.setComments("RegistrarTag");
		request.setFromDate(Calendar.getInstance());
		request.setToDate(Calendar.getInstance());
		request.setOrderStatusTypes(new OrderStatusType[]{
			"NotSet", 
			"Received", 
			"Validated", 
			"Invalid", 
			"PendingDocumentation", 
			"PendingEndUserAction", 
			"DocumentationReceived", 
			"DocumentationApproved", 
			"DocumentationNotApproved", 
			"PendingNicProcessing", 
			"PendingNicDocumentApproval", 
			"PendingPostProcessing", 
			"PendingInternalProcessing", 
			"Completed", 
			"Failed", 
			"AuthenticationFailed"
		});
		request.setOrderTypes(new OrderType[]{
			"NotSet", 
			"ContactUpdate", 
			"ChangeLocks", 
			"Delete", 
			"RegistrantDetailsUpdate", 
			"Expire", 
			"NameserverUpdate", 
			"OwnerChange", 
			"Queue", 
			"Register", 
			"Renew", 
			"Restore", 
			"Transfer", 
			"Unexpire", 
			"TransferAway", 
			"AutoRenew", 
			"AutoDelete", 
			"DetailsUpdate", 
			"Import", 
			"PartnerChange", 
			"DeQueue", 
			"UpdateAuthInfo", 
			"Support", 
			"WhoisDataReminder"
		});
		request.setObjectTypes(new ObjectType[]{
			"DomainType", 
			"DefensiveType", 
			"MarkType", 
			"NameWatchType", 
			"SslCertificateType", 
			"LocalPresence", 
			"PrivacyProxy", 
			"MarkExtendedService", 
			"SanSsl"
		});
		request.setOrderSort(SearchOrderSortType.CreatedAsc);
		request.setPageInfo(pageInfo);
		request.setObjectNames(new String[]{
		});
		request.setObjectHandles(new String[]{
		});
		request.setOrderIds(new String[]{
		});
NotSetReceivedValidatedInvalidPendingDocumentationPendingEndUserActionDocumentationReceivedDocumentationApprovedDocumentationNotApprovedPendingNicProcessingPendingNicDocumentApprovalPendingPostProcessingPendingInternalProcessingCompletedFailedAuthenticationFailedNotSetContactUpdateChangeLocksDeleteRegistrantDetailsUpdateExpireNameserverUpdateOwnerChangeQueueRegisterRenewRestoreTransferUnexpireTransferAwayAutoRenewAutoDeleteDetailsUpdateImportPartnerChangeDeQueueUpdateAuthInfoSupportWhoisDataReminderDomainTypeDefensiveTypeMarkTypeNameWatchTypeSslCertificateTypeLocalPresencePrivacyProxyMarkExtendedServiceSanSsl
		try {
			GetOrdersResponse response = env.getClient().getOrders(request);			
			System.out.println("response\n");
			System.out.println("GetOrders Code\t:" + response.getResultCode());
			System.out.println("GetOrders Message\t: " + response.getResultMessage());

			if(response.getResultCode() > 200){
				for(String error : response.getErrors()) {
					System.out.print(error);
				}	
			}		
			return response;
		} catch (Exception e) {
			System.out.print(e);
		}
		return new GetOrdersResponse();package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;
import ascio.lib.*;

public class GetOrdersExample {
	public static GetOrdersResponse main() {
		AscioConfig config = new AscioConfig();
		V3 env = config.getTesting().getV3();

		PagingInfo pageInfo =  new PagingInfo();
		pageInfo.setPageIndex(1);
		pageInfo.setPageSize(1);

		GetOrdersRequest request =  new GetOrdersRequest();
		request.setTransactionComment("TransactionCommentTest");
		request.setComments("RegistrarTag");
		request.setFromDate(Calendar.getInstance());
		request.setToDate(Calendar.getInstance());
		request.setOrderStatusTypes(new OrderStatusType[]{
			"NotSet", 
			"Received", 
			"Validated", 
			"Invalid", 
			"PendingDocumentation", 
			"PendingEndUserAction", 
			"DocumentationReceived", 
			"DocumentationApproved", 
			"DocumentationNotApproved", 
			"PendingNicProcessing", 
			"PendingNicDocumentApproval", 
			"PendingPostProcessing", 
			"PendingInternalProcessing", 
			"Completed", 
			"Failed", 
			"AuthenticationFailed"
		});
		request.setOrderTypes(new OrderType[]{
			"NotSet", 
			"ContactUpdate", 
			"ChangeLocks", 
			"Delete", 
			"RegistrantDetailsUpdate", 
			"Expire", 
			"NameserverUpdate", 
			"OwnerChange", 
			"Queue", 
			"Register", 
			"Renew", 
			"Restore", 
			"Transfer", 
			"Unexpire", 
			"TransferAway", 
			"AutoRenew", 
			"AutoDelete", 
			"DetailsUpdate", 
			"Import", 
			"PartnerChange", 
			"DeQueue", 
			"UpdateAuthInfo", 
			"Support", 
			"WhoisDataReminder"
		});
		request.setObjectTypes(new ObjectType[]{
			"DomainType", 
			"DefensiveType", 
			"MarkType", 
			"NameWatchType", 
			"SslCertificateType", 
			"LocalPresence", 
			"PrivacyProxy", 
			"MarkExtendedService", 
			"SanSsl"
		});
		request.setOrderSort(SearchOrderSortType.CreatedAsc);
		request.setPageInfo(pageInfo);
		request.setObjectNames(new String[]{
		});
		request.setObjectHandles(new String[]{
		});
		request.setOrderIds(new String[]{
		});

		try {
			GetOrdersResponse response = env.getClient().getOrders(request);			
			System.out.println("response\n");
			System.out.println("GetOrders Code\t:" + response.getResultCode());
			System.out.println("GetOrders Message\t: " + response.getResultMessage());

			if(response.getResultCode() > 200){
				for(String error : response.getErrors()) {
					System.out.print(error);
				}	
			}		
			return response;
		} catch (Exception e) {
			System.out.print(e);
		}
		return new GetOrdersResponse();
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.