GET account/domains/{domain}/contacts/all
Gets all contacts for the specified domain. The "all" portion of the path is optional.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| domain |
The domain. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"DomainName": "example.com",
"TechnicalContact": {
"FirstName": "Jack",
"LastName": "Smith",
"Organization": "Example Consultant, Inc.",
"Department": "IT",
"Email": "jsmith@exampleconsultant.com",
"Address1": "400 Main St.",
"Address2": "",
"City": "Smalltown",
"Region": "CA",
"Country": "US",
"PostalCode": "90210",
"PhoneCountry": 1,
"Phone": "424-555-8888",
"FaxCountry": null,
"Fax": ""
},
"AdministrativeContact": {
"FirstName": "John",
"LastName": "Smith",
"Organization": "Example Company, Inc.",
"Department": "Admin",
"Email": "jsmith@examplecompany.com",
"Address1": "100 Main St.",
"Address2": "",
"City": "Smalltown",
"Region": "CA",
"Country": "US",
"PostalCode": "90210",
"PhoneCountry": 1,
"Phone": "424-555-7777",
"FaxCountry": null,
"Fax": ""
},
"RegistrantContact": {
"FirstName": "Jane",
"LastName": "Smith",
"Organization": "Example Company, Inc.",
"Department": "IT",
"Email": "janesmith@examplecompany.com",
"Address1": "100 Main St.",
"Address2": "",
"City": "Smalltown",
"Region": "CA",
"Country": "US",
"PostalCode": "90210",
"PhoneCountry": 1,
"Phone": "424-555-7778",
"FaxCountry": null,
"Fax": ""
}
}
