Register Contact for CZ Domains - register cz contact

Registers a contact for CZ domains.

<?php
$result = $client->sendCommand("register cz contact",array(
    "name" =>           "John Smith",
    "company" =>        "",
    "e-mail" =>         "john@example.cz",
    "id" =>             "JOHN-SMITH-22",
    "phone" =>          "+36.301112222",
    "fax-no" =>         "",
    "vat-no" =>         "",
    "notify" =>         "notify@hosting.hu",
    "street-1" =>       "Main Street 1133/3",
    "street-2" =>       "",
    "street-3" =>       "",
    "city" =>           "Budapest",
    "state" =>          "Central Hungary",
    "zip" =>            "1051",
    "country" =>        "hu",
    "ssn-type" =>       "passport",
    "ssn-num" =>        "AB-22344455",
    "whois-phone" =>    "yes",
    "whois-fax-no" =>   "yes",
    "whois-e-mail" =>   "yes",
    "whois-vat-no" =>   "yes",
    "whois-ident" =>    "yes",
    "whois-notify" =>   "yes",
    "password-plain" => "",
    "password-md5" =>   "6e456df8b805a15086f98c7b81c778cc",
    "password-crypt" => ""
));
?>

Field Description

  • name: must be set; max. 255 characters
  • company: does not have to be set; max. 255 characters
  • e-mail: must be set; max. 128 characters; /^[a-z0-9_.-]{1,}@[a-z0-9.-]{1,}$/
  • id: must be set; maximum length is 30 characters; /^[a-zA-Z0-9](-?[a-zA-Z0-9])*$/
  • phone: does not have to be set; /^+[1-9][0-9]{0,3}.[0-9]{6,11}$/
  • fax-no: does not have to be set; /^+[1-9][0-9]{0,3}.[0-9]{6,11}$/
  • vat-no: does not have to be set; VAT ID; /^[0-9]{3}-[0-9]{6,10}$/ or /^[A-Z]{2}[A-Z. +*0-9]{5,15}$/
  • notify: does not have to be set; max. 128 characters; /^[a-z0-9_.-]{1,}@[a-z0-9.-]{1,}$/
  • street-1: must be set; max. 255 characters
  • street-2: does not have to be set; max. 255 characters
  • street-3: does not have to be set; if set, street-2 must also be set; max. 255 characters
  • city: must be set; max. 255 characters
  • zip: must be set; max. 16 characters
  • state: state or region; does not have to be set; max. 255 characters
  • country: must be set; ISO country code; lowercase only; 2 characters
  • ssn-type: does not have to be set; one of the following values: op, passport, mpsv, ico, or birthday (ID card number, passport number, Ministry of Labour and Social Affairs number, date of birth, company registration number)
  • ssn-num: does not have to be set; max. 32 characters
  • whois-phone: must be set to yes or no; display phone number in the public WHOIS
  • whois-fax-no: must be set to yes or no; display fax number in the public WHOIS
  • whois-e-mail: must be set to yes or no; display e-mail address in the public WHOIS
  • whois-vat-no: must be set to yes or no; display VAT ID in the public WHOIS
  • whois-ident: must be set to yes or no; display identification data in the public WHOIS (values from ssn-type and ssn-num)
  • whois-notify: must be set to yes or no; display notification e-mail address in the public WHOIS
  • password-plain: does not have to be set; plain text password; max. 50 characters
  • password-md5: does not have to be set; md5 password hash; /^[0-9a-f]{32}$/
  • password-crypt: does not have to be set; password in crypt format; /^[a-zA-Z0-9\/.]{13}$/

Notes

Exactly one of password-plain, password-md5, and password must be set. When using hashes (crypt or md5), only ASCII passwords should be hashed; otherwise authentication issues may occur.

The ssn-type and ssn-num fields must be set together.

Some field descriptions contain regular expressions between slashes (Perl-compatible). The field value must match the expression.