PHP 5 CreateOrder
Create an MarkOrderRequest that registers a Court Validated Mark.Register Court Validated Mark

Response CreateOrder(MarkOrderRequest $request)
Response codes
ResultCode | Message | Value |
---|---|---|
200 | OK | |
401 | Authorization failed | |
501 | Syntax error in parameters or arguments | |
506 | Required attribute missing in request |
CreateOrder Request
Property | Type |
---|---|
request |
CreateOrderResponse
Property | Description |
---|---|
CreateOrderResult | |
OrderInfo | |
ResultCode | Example: 1 |
ResultMessage | |
Errors |
Used in Classes
Property | Value |
OrderType | Register |
---|---|
request | MarkOrderRequest |
mark | CourtValidatedMark |
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 ));
//Registrant
$owner= array(
"FirstName" => "John",
"LastName" => "Doe",
"Address1" => "Address1Test",
"City" => "CityTest",
"PostalCode" => "888349",
"CountryCode" => "DK",
"Email" => $config->getEmail()
);
//Contact
$reseller= array(
"Type" => "owner"
);
//Extensions
$markExtensions= array(
$keyValue
);
//CourtValidatedMark
$mark= array(
"ReferenceNumber" => "ReferenceNumberTest",
"Country" => "DK",
"Region" => "RegionTest",
"ProtectionDate" => "ProtectionDateTest",
"MarkName" => "MarkNameTest",
"MarkId" => "MarkIdTest",
"AuthInfo" => "X4FF!zu",
"ServiceType" => "Standard",
"GoodsAndServicesDescription" => "GoodsAndServicesDescriptionTest",
"Labels" => array(labels),
"ClaimEmailNotification1" => "ClaimEmailNotification1Test",
"ClaimEmailNotification2" => "ClaimEmailNotification2Test",
"ClaimEmailNotification3" => "ClaimEmailNotification3Test",
"ClaimEmailNotification4" => "ClaimEmailNotification4Test",
"ClaimEmailNotification5" => "ClaimEmailNotification5Test",
"NotificationFrequency" => "Daily",
"Owner" => $owner,
"Reseller" => $reseller,
"Extensions" => $markExtensions,
"ObjectComment" => "Example Object Comment"
);
//MarkOrderRequest
$request= array(
"Mark" => $mark,
"Type" => "Register",
"Period" => 1
);
//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.
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.