ServiceAttributes-core.dnr
(Difference between revisions)
				
																
				
				
								
				Mike.robski  (Talk | contribs) m (1 revision: Release 85)  | 
		Mike.robski  (Talk | contribs)   | 
		||
| Line 6: | Line 6: | ||
  <nowiki>  |   <nowiki>  | ||
{  | {  | ||
| − | + |    "domainName": "ng-test-fitnesse-20130412-0840.com",  | |
| − | + |    "operation": "register",  | |
| − | + |    "term": 1,  | |
| − | + |    "authInfo" : "mysecret",  | |
| − | + |    "nameservers" : [ "ns1.test.com", "ns2.test.com" ],  | |
| − | + |    "contactInfo" : {  | |
| − | + |        "registrant": {  | |
| − |        "type": "  | + |          "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",  | |
| − | + |          ...  | |
| − | + |        }  | |
| − |        "  | + |    }  | 
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
}  | }  | ||
  </nowiki>  |   </nowiki>  | ||
==== Parameters ====  | ==== Parameters ====  | ||
| − | ; domainName  | + | ; domainName - ''string''  | 
| − | : The domain name   | + | : The domain name  | 
| − | + | ; operation - ''string''  | |
| − | ; operation  | + | : "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  | |
| − | ; authInfo  | + | ; 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 [http://en.wikipedia.org/wiki/E.164 E.164] format, e.g. +1.3209270625  | ||
== See also ==  | == See also ==  | ||
Revision as of 10: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