PHP 5 CreateApprovalDocumentation

Uploads an IRTP verfication proof.

For owner-changes and transfers both parties, gaining and losing must be verified:

  • Send an e-mail to gaining and losing endcustomer. The e-mail contains a link with secret-id, and leads to the partner-verification website.
  • On the website the ip-addresses are stored.
  • The ip-addresses of the losing and gaining partner are sent to Ascio with then CreateApprovalDocumenetation command.
  • Ascio will not send any mails regarding IRTP to the losing and gaining party.

Response CreateApprovalDocumentation(string $sessionId,int $msgId)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found

CreateApprovalDocumentation request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
approvalDocumentation

CreateApprovalDocumentationResponse

PropertyDescription
CreateApprovalDocumentationResult
documentationIdThe documentationId is used in the order.Documentation property.

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

//Extensions

$extensions= array(
	array (
		"Key" => "LoosingOwnerApprovalIP",
		"Value" => "1.1.1.1"
	),
	array (
		"Key" => "LoosingOwnerApprovalTimestamp",
		"Value" => "2016-12-06T22:09:07.707Z"
	),
	array (
		"Key" => "GainingOwnerApprovalIP",
		"Value" => "1.1.1.1"
	),
	array (
		"Key" => "GainingOwnerApprovalTimestamp",
		"Value" => "2016-12-06T22:09:07.707Z"
	),
	array (
		"Key" => "IRTPOptOut",
		"Value" => false
	)
);
//ApprovalDocumentation

$approvalDocumentation= array(
	"Type" => "IRTPApproval",
	"ObjectNames" => array(objectNames),
	"Extensions" => $extensions
);
//CreateApprovalDocumentation

$createApprovalDocumentation= array(
	"sessionId" => env.getSessionId(),
	"approvalDocumentation" => $approvalDocumentation
);
try{	
    $result = $client->createApprovalDocumentation($createApprovalDocumentation);
    echo "ResultCode : ".$result->CreateApprovalDocumentationResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->CreateApprovalDocumentationResult->Message."\r\n";
    if($result->CreateApprovalDocumentationResult->Values) {
        foreach($result->CreateApprovalDocumentationResult->Values as $key => $value) {
            echo $value->string."\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)