ServiceAttributes-core.dnr

From Hostway API Documentation
Revision as of 15:37, 27 September 2013 by Mike.robski (Talk | contribs)
Jump to: navigation, search

Domain Name Registration Service Attributes

Attributes used when configuring the Domain Name Registration service.

Contents


Attributes Body

{
  "domainName": "mydomain.com",
  "operation": "register",
  "registrationPeriod": 1,
  "authInfo": "mysecret",
  "nameservers": [ "ns1.siteprotect.com", "ns2.siteprotect.com" ],
  "contactList": [
    {
      "type": "admin",
      "firstName": "John",
      "lastName": "Doe",
      "company": "ACME Inc.",
      "address1": "123 First Str.",
      "city": "Chicago",
      "postal": "34567",
      "province": "IL",
      "countryCode": "US",
      "email": "john.doe@mycompany.com",
      "phone": "+1.312.456789098"
    },
    {
      "type": "registrant",
      "firstName": "Jane",
      "lastName": "Smith",
      "address1": "123 First Str.",
      "city": "Chicago",
      "postal": "34567",
      "province": "IL",
      "countryCode": "US",
      "email": "jane.smith@mycompany.com",
      "phone": "+1.312.456789111",
      "fax": "+1.312.456789112"
    },
    {
      "type": "billing",
      "firstName": "James",
      "lastName": "Johnson",
      "address1": "123 First Str.",
      "city": "Chicago",
      "postal": "34567",
      "province": "IL",
      "countryCode": "US",
      "email": "james.johnson@mycompany.com",
      "phone": "+1.312.456789111"
    },
    {
      "type": "technical",
      "firstName": "Paul",
      "lastName": "Stevenson",
      "address1": "123 First Str.",
      "city": "Chicago",
      "postal": "34567",
      "province": "IL",
      "countryCode": "US",
      "email": "paul.stevenson@mycompany.com",
      "phone": "+1.312.456789111"
    }
  ]
}
 

Parameters

domainName
The domain name for this registration.
operation
The requested operation. Supported values:
register - used to request registration of the domain name.
registrationPeriod
The domain name registration period in years.
authInfo
The password for the authentication of domain name operations.
nameservers
List of nameservers for the domain name.
contactList
List of the contacts for the domain name. Required contacts types: admin, registrant, billing, technical.


See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox