PHP 5 CreateOrder

Update Mark

Updates the details of mark.

Response CreateOrder(MarkOrderRequest $request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

CreateOrder Request

PropertyType
request

CreateOrderResponse

PropertyDescription
CreateOrderResult
OrderInfo
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

PropertyValue
requestMarkOrderRequest
OrderTypeDetailsUpdate

PHP 5 example

<?php
$wsdl = "https://awstest.ascio.com/v3/aws.wsdl";
//$wsdl = "https://aws.ascio.com/2012/01/01/AscioService.wsdl";
$client = new SoapClient($wsdl,array( "trace" => 1 ));

//Extensions

$markExtensions= array(
	$keyValue
);
//TreatyOrStatuteMark

$mark= array(
	"Title" => "TitleTest",
	"ReferenceNumber" => "ReferenceNumberTest",
	"Country" => "DK",
	"Region" => "RegionTest",
	"ProtectionDate" => "ProtectionDateTest",
	"ExecutionDate" => "ExecutionDateTest",
	"Handle" => "JD123",
	"MarkName" => "MarkNameTest",
	"MarkId" => "MarkIdTest",
	"ServiceType" => "Standard",
	"GoodsAndServicesDescription" => "GoodsAndServicesDescriptionTest",
	"Labels" => array(labels),
	"ClaimEmailNotification1" => "ClaimEmailNotification1Test",
	"ClaimEmailNotification2" => "ClaimEmailNotification2Test",
	"ClaimEmailNotification3" => "ClaimEmailNotification3Test",
	"ClaimEmailNotification4" => "ClaimEmailNotification4Test",
	"ClaimEmailNotification5" => "ClaimEmailNotification5Test",
	"NotificationFrequency" => "Daily",
	"Extensions" => $markExtensions,
	"ObjectComment" => "Example Object Comment"
);
//MarkOrderRequest

$request= array(
	"Mark" => $mark,
	"Type" => "DetailsUpdate"
);
//CreateOrder

$createOrder= array(
	"request" => $request
);
try{	
    $result = $client->createOrder($createOrder);
    echo "ResultCode : ".$result->CreateOrderResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->CreateOrderResult->Message."\r\n";
    if($result->CreateOrderResult->Values) {
        foreach($result->CreateOrderResult->Values as $key => $value) {
            echo $value->string."\r\n";
        }
    }
} catch(Exception $e) {
	echo $e->getMessage(); 
}

WSDL for AWS v3
https://awstest.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.