Ascio Web Service v2
Contact
The contact is not compatible with registrants.
Property | Description | TLD-Kit |
---|---|---|
CreDate | ||
Status | ||
Handle | The Handle. Please don't use Handle and contact-data. The data won't be merged! Example: "JD123" | 4a (Admin) 5a (Tech) 6a (Billing) |
FirstName | All contacts have FirstName and LastName. This is different than Registrants. Example: "John" | 4b (Admin) 5b (Tech 6a (Billing) |
LastName | All contacts have FirstName and LastName. This is different than Registrants. Example: "Doe" | 4c (Admin) 5c (Tech) 6c (Billing) |
OrgName | Example: "Ascio" | 4d (Admin) 5d (Tech) 6d (Billing) |
Address1 | The Address1 is required for every Registrant/Contact. (In case no handle is used) | 4e (Admin) 5e(Tech) 6e (Billing) |
Address2 | 4f (Admin) 5f (Tech) 6f (Billing) | |
PostalCode | The PostalCode is required for every Registrant/Contact. (In case no handle is used). Example: "888349" | 4i (Admin) 5i(Tech) 6i (Billing) |
City | The City is required for every Registrant/Contact. (In case no handle is used) | 4g (Admin) 5g (Tech) 6g (Billing) |
State | 4h (Admin) 5h (Tech) 6h (Billing) | |
CountryCode | The 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) |
The 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) | |
Phone | Phone numbers must be in E164a format, eg. +45.123456789 (no spaces, hyphens, etc.). Example: "+45.123456789" | 4k (Admin) 5k (Tech) 6k (Billing) |
Fax | Fax numbers must be in E164a format, eg. +45.123456789 (no spaces, hyphens, etc.) Example: "+45.987654321" | 4l (Admin) 5l (Tech) 6l (Billing) |
Type | Example: "owner" | 4o (Admin) 5o (Tech) 6o (Billing) |
Details | 4p (Admin) 5p (Tech 6p (Billing)) | |
OrganisationNumber | 4n (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.
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.