ServiceAttributes-core.dnr

(Difference between revisions)
Jump to: navigation, search
m (1 revision: Release 85)
Line 6: Line 6:
 
  <nowiki>
 
  <nowiki>
 
{
 
{
  "domainName": "mydomain.com",
+
  "domainName": "ng-test-fitnesse-20130412-0840.com",
  "operation": "register",
+
  "operation": "register",
  "registrationPeriod": 1,
+
  "term": 1,
  "authInfo": "mysecret",
+
  "authInfo" : "mysecret",
  "nameservers": [ "ns1.siteprotect.com", "ns2.siteprotect.com" ],
+
  "nameservers" : [ "ns1.test.com", "ns2.test.com" ],
  "contactList": [
+
  "contactInfo" : {
    {
+
       "registrant": {
       "type": "admin",
+
        "type": "registrant",
      "firstName": "John",
+
        "firstName": "John",
      "lastName": "Doe",
+
        "lastName": "Doe",
      "company": "ACME Inc.",
+
        "company": "ACME Inc.",
      "address1": "123 First Str.",
+
        "street1": "123 First Str.",
      "city": "Chicago",
+
        "city": "Chicago",
      "postal": "34567",
+
        "zipOrPostal": "34567",
      "province": "IL",
+
        "stateOrProvince": "IL",
      "countryCode": "US",
+
        "countryCode": "US",
      "email": "john.doe@mycompany.com",
+
        "email1": "john.doe@test.com",
      "phone": "+1.312.456789098"
+
        "phone1": "+1.312.456789098" },
    },
+
       "administrative": {
    {
+
        "type": "administrative",
       "type": "registrant",
+
        ...
      "firstName": "Jane",
+
       },
      "lastName": "Smith",
+
       "billing": {
      "address1": "123 First Str.",
+
        "type": "billing",
      "city": "Chicago",
+
        ...
      "postal": "34567",
+
       },
      "province": "IL",
+
       "technical": {
      "countryCode": "US",
+
        "type": "technical",
      "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"
+
    }
+
  ]
+
 
}
 
}
 
  </nowiki>
 
  </nowiki>
  
 
==== Parameters ====
 
==== Parameters ====
; domainName
+
; domainName - ''string''
: The domain name for this registration.
+
: The domain name
 
+
; operation - ''string''
; operation
+
: "register" to register a domain
: The requested operation. Supported values:
+
; term - ''integer''
:: ''register'' - used to request registration of the domain name.
+
: the registration term (period) in years
 
+
; authInfo - ''string''
; registrationPeriod
+
: authentication info, currently not supported
: The domain name registration period in years.
+
; nameservers - ''list of strings''
 
+
: domain name servers (DNS) for the domain
; authInfo
+
; usNexusCode - ''string'' (optional) (required for .us)
: The password for the authentication of domain name operations.
+
: one of the following [P1, P2, P3, P4, P5]
 
+
; usNexusCategory - ''string'' (optional) (required for .us)
; nameservers
+
: one of the following [C11, C12, C21, C31, C32]
: List of nameservers for the domain name.
+
; company - ''string'' (optional)
 
+
: The company or organization name
; contactList
+
; firstName - ''string''
: List of the contacts for the domain name. Required contacts types: ''admin'', ''registrant'', ''billing'', ''technical''.
+
: The first name of the contact person
 
+
; lastName - ''string''
 +
: The last name of the contact person
 +
; street1 - ''string''
 +
: The street address
 +
; street2 - ''string'' (optional)
 +
: The second line of the street address (if any)
 +
; city - ''string''
 +
: The city
 +
; countryCode - ''string''
 +
: The international 2-letter country code
 +
; stateOrProvince - ''string''
 +
: The state or province. For US states use the 2-letter state code
 +
; zipOrPostal - ''string''
 +
: The postal code
 +
; email1 - ''string''
 +
: The e-mail address of the contact person
 +
; phone1 - ''string''
 +
: The phone number of the contact person in valid [http://en.wikipedia.org/wiki/E.164 E.164] format, e.g. +1.3209270625
  
 
== See also ==
 
== See also ==

Revision as of 11:45, 7 October 2013

Domain Name Registration Service Attributes

Attributes used when configuring the Domain Name Registration service.

Contents


Attributes Body

{
   "domainName": "ng-test-fitnesse-20130412-0840.com",
   "operation": "register",
   "term": 1,
   "authInfo" : "mysecret",
   "nameservers" : [ "ns1.test.com", "ns2.test.com" ],
   "contactInfo" : {
      "registrant": {
         "type": "registrant",
         "firstName": "John",
         "lastName": "Doe",
         "company": "ACME Inc.",
         "street1": "123 First Str.",
         "city": "Chicago",
         "zipOrPostal": "34567",
         "stateOrProvince": "IL",
         "countryCode": "US",
         "email1": "john.doe@test.com",
         "phone1": "+1.312.456789098" },
      "administrative": {
         "type": "administrative",
         ...
      },
      "billing": {
         "type": "billing",
         ...
      },
      "technical": {
         "type": "technical",
         ...
      }
   }
}
 

Parameters

domainName - string
The domain name
operation - string
"register" to register a domain
term - integer
the registration term (period) in years
authInfo - string
authentication info, currently not supported
nameservers - list of strings
domain name servers (DNS) for the domain
usNexusCode - string (optional) (required for .us)
one of the following [P1, P2, P3, P4, P5]
usNexusCategory - string (optional) (required for .us)
one of the following [C11, C12, C21, C31, C32]
company - string (optional)
The company or organization name
firstName - string
The first name of the contact person
lastName - string
The last name of the contact person
street1 - string
The street address
street2 - string (optional)
The second line of the street address (if any)
city - string
The city
countryCode - string
The international 2-letter country code
stateOrProvince - string
The state or province. For US states use the 2-letter state code
zipOrPostal - string
The postal code
email1 - string
The e-mail address of the contact person
phone1 - string
The phone number of the contact person in valid E.164 format, e.g. +1.3209270625

See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox