Ascio Web Service v2

Class CreateSupportOrder

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
subject
body
attachments
<?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));

//Attachment

$attachment =  [
	"Data" => "DataTest",
	"FileName" => "anything.jpg"
];
//ArrayOfAttachment

$attachments =  [
	"Attachment" => [$attachment]
];
//CreateSupportOrder

$createSupportOrder =  [
	"sessionId" => env.getSessionId(),
	"subject" => "subjectTest",
	"body" => "bodyTest",
	"attachments" => $attachments
];
try{	
    $result = $client->createSupportOrder($createSupportOrder);
    echo "ResultCode : ".$result->CreateSupportOrderResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->CreateSupportOrderResult->ResultMessage."\r\n";
    if(is_array($result->CreateSupportOrderResult->Errors->string)) {
        echo "Errors:\r\n";
        foreach($result->CreateSupportOrderResult->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.