Ascio Web Service v3

Class GetPriceHistoryResponse

PropertyDescription
GetPriceHistoryResult
Currency
Prices
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

<?php
namespace ascio\v3\examples;
require("../service/autoload.php");
require("../../lib/AscioConfig.php");
use ascio\v3 as ascio;


$product =  new ascio\Product();
$product->setProductName("ProductNameTest");
$product->setObjectType(ascio\ObjectType::DomainType);
$product->setOrderType(ascio\OrderType::Register);
$product->setTld("TldTest");
$product->setTldCountry("TldCountryTest");
$product->setPeriod(1);
$product->setNote("NoteTest");

$priceInfo =  new ascio\PriceInfo();
$priceInfo->setProduct($product);
$priceInfo->setPrice("PriceTest");
$priceInfo->setValidFrom(new \DateTime());
$priceInfo->setValidTo(new \DateTime());

$prices =  new ascio\ArrayOfPrices();
$prices->setPriceInfo([$priceInfo]);

$getPriceHistoryResponse =  new ascio\GetPriceHistoryResponse();
$getPriceHistoryResponse->setResultCode(1);
$getPriceHistoryResponse->setResultMessage("ResultMessageTest");
$getPriceHistoryResponse->setErrors([
]);
$getPriceHistoryResponse->setCurrency("CurrencyTest");
$getPriceHistoryResponse->setPrices($prices);
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.