Ascio Web Service v2

Contact

The contact is not compatible with registrants.

PropertyDescriptionTLD-Kit
CreDate
Status
HandleThe Handle. Please don't use Handle and contact-data. The data won't be merged!
Example: "JD123"
4a (Admin)
5a (Tech)
6a (Billing)
FirstNameAll contacts have FirstName and LastName. This is different than Registrants.
Example: "John"
4b (Admin)
5b (Tech
6a (Billing)
LastNameAll contacts have FirstName and LastName. This is different than Registrants.
Example: "Doe"
4c (Admin)
5c (Tech)
6c (Billing)
OrgNameExample: "Ascio"4d (Admin)
5d (Tech)
6d (Billing)
Address1The Address1 is required for every Registrant/Contact. (In case no handle is used)4e (Admin)
5e(Tech)
6e (Billing)
Address24f (Admin)
5f (Tech)
6f (Billing)
PostalCodeThe PostalCode is required for every Registrant/Contact. (In case no handle is used).
Example: "888349"
4i (Admin)
5i(Tech)
6i (Billing)
CityThe City is required for every Registrant/Contact. (In case no handle is used)4g (Admin)
5g (Tech)
6g (Billing)
State4h (Admin)
5h (Tech)
6h (Billing)
CountryCodeThe ISO 3166-1 code for the Country (DE,GB,DK,CH,SE,...). The CountryCode is required for every Registrant/Contact. (In case no handle is used)
Example: "DK"
4j (Admin)
5j (Tech)
6j (Billing)
EmailThe Email is required for every Registrant/Contact. (In case no handle is used)
Example: "administrator@ascio-test-domain.com"
4m (Admin)
5m (Tech)
6m (Billing)
PhonePhone numbers must be in E164a format, eg. +45.123456789 (no spaces, hyphens, etc.).
Example: "+45.123456789"
4k (Admin)
5k (Tech)
6k (Billing)
FaxFax numbers must be in E164a format, eg. +45.123456789 (no spaces, hyphens, etc.)
Example: "+45.987654321"
4l (Admin)
5l (Tech)
6l (Billing)
TypeExample: "owner"4o (Admin)
5o (Tech)
6o (Billing)
Details4p (Admin)
5p (Tech
6p (Billing))
OrganisationNumber4n (Admin)
5n (Tech)
6n (Billing)
<?php
namespace ascio\v2\examples;
require(__DIR__."/../service/autoload.php");
require(__DIR__."/../../lib/AscioConfig.php");
use ascio\v2 as ascio;


$contact =  new ascio\Contact();
$contact->setStatus("StatusTest");
$contact->setHandle("JD123");
$contact->setFirstName("John");
$contact->setLastName("Doe");
$contact->setOrgName("Ascio");
$contact->setAddress1("Address1Test");
$contact->setAddress2("Address2Test");
$contact->setPostalCode("888349");
$contact->setCity("CityTest");
$contact->setState("StateTest");
$contact->setCountryCode("DK");
$contact->setEmail("administrator@ascio-test-domain.com");
$contact->setPhone("+45.123456789");
$contact->setFax("+45.987654321");
$contact->setType("owner");
$contact->setDetails("DetailsTest");
$contact->setOrganisationNumber("OrganisationNumberTest");
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.