Ascio Web Service v2
PHP 5 SearchOrder
Response SearchOrder(string $sessionId,SearchOrderRequest $orderRequest)
Response codes
ResultCode | Message | Value |
---|---|---|
200 | OK | |
401 | Authorization failed | |
405 | Access denied |
SearchOrder Request
Property | Description |
---|---|
sessionId | Example: o58t9fjgw9bjarp6q7byv13e |
orderRequest |
SearchOrderResponse
Property | Description |
---|---|
SearchOrderResult | |
totalOrders | Example: 1 |
orders |
PHP 5 example
<?php
$wsdl = "https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl";
//$wsdl = "https://aws.ascio.com/2012/01/01/AscioService.wsdl";
$client = new SoapClient($wsdl,[ "trace" => 1, "soap_version" => SOAP_1_1)];
//PagingInfo
$pageInfo = [
"PageIndex" => 1,
"PageSize" => 1
];
//SearchOrderRequest
$orderRequest = [
"OrderTypes" => [
"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" => [
"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" => "FromDateTest",
"ToDate" => "ToDateTest",
"DomainName" => "ascio-test-domain".time().".com",
"TransactionComment" => "TransactionCommentTest",
"Comments" => "RegistrarTag",
"IncludeDomainDetails" => true,
"PageInfo" => $pageInfo,
"OrderSort" => "CreDateAsc"
];
//SearchOrder
$searchOrder = [
"sessionId" => env.getSessionId(),
"orderRequest" => $orderRequest
];
try{
$result = $client->searchOrder($searchOrder);
echo "ResultCode : ".$result->SearchOrderResult->ResultCode."\r\n";
echo "ResultMessage : ".$result->SearchOrderResult->ResultMessage."\r\n";
if(is_array($result->SearchOrderResult->Errors->string)) {
echo "Errors:\r\n";
foreach($result->SearchOrderResult->Errors->string as $key => $value) {
echo " - " . $value."\r\n";
}
}
} catch(Exception $e) {
echo $e->getMessage();
}
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.
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.