Ascio Web Service v2

PHP 5 CreateOrder - Domain_Details_Update

The domain details update command will update the non-contact and non-nameservers information on a domain name. At present this command can be used to update on the following:

RenewPeriod

Updating the next autorenew period will prompt the systems to generate an autorenew order (upon expiry date) based on the period stated in the latest domain details update order. This dictates that the default autorenew period no longer applied once a TLD is enabled with this command.

Privacy/Proxy

Privacy and proxy can be updated with the Domain-Details-Update. For more information please look at this

Queue Phase

If the domain is queued by a queue-order, the phase can be changed with Domain Details Update - Phase.

Other domain objects

It is only possible to update domain property values. In order to update domain-objects please use these commands:

Response CreateOrder(string $sessionId,Order $order)

Response codes

ResultCodeMessageValue
200Order validated
200Order received
400Order not validatedMessages
401Authorization failed
405Access denied

CreateOrder Request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
order

CreateOrderResponse

Property
CreateOrderResult
order
PropertyValue
OrderTypeDomain_Details_Update

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,array( "trace" => 1, "soap_version" => SOAP_1_1));

//Extension

$extension =  [
	"Key" => "Title",
	"Value" => "Mr."
];
//Extensions

$extensions =  [
	"Extension" => [$extension]
];
//PrivacyProxy

$privacyProxy =  [
	"Type" => "None",
	"PrivacyAdmin" => false,
	"PrivacyTech" => false,
	"PrivacyBilling" => false,
	"Extensions" => $extensions
];
//Domain

$domain =  [
	"DomainName" => $env->getProperties()->getProperty("DomainName"),
	"RenewPeriod" => 1,
	"QueueType" => "QueueTypeTest",
	"PrivacyProxy" => $privacyProxy,
	"DiscloseSocialData" => "true"
];
//Order

$order =  [
	"Type" => "Domain_Details_Update",
	"Domain" => $domain
];
//CreateOrder

$createOrder =  [
	"sessionId" => env.getSessionId(),
	"order" => $order
];
try{	
    $result = $client->createOrder($createOrder);
    echo "ResultCode : ".$result->CreateOrderResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->CreateOrderResult->ResultMessage."\r\n";
    if(is_array($result->CreateOrderResult->Errors->string)) {
        echo "Errors:\r\n";
        foreach($result->CreateOrderResult->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.