Domains-domainName-contactverification:GET

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
(Response parameters)
 
m (1 revision: Release 100)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
Or
 
Or
 
Get will send a verification email for {domainName}
 
Get will send a verification email for {domainName}
 +
 +
*[This page requires more explanatory detail and examples]*
  
 
__TOC__
 
__TOC__
Line 32: Line 34:
 
=== Response Body ===
 
=== Response Body ===
 
  <nowiki>
 
  <nowiki>
giver parameter action=info
 
 
{
 
{
 
   "verificationStatus":"pending"
 
   "verificationStatus":"pending"

Latest revision as of 00:09, 19 November 2014

[edit] GET /domains/{domainName}/contactverification

Get the status of the contactverification for {domainName} Or Get will send a verification email for {domainName}

  • [This page requires more explanatory detail and examples]*

Contents

[edit] Request

GET /domains/{domainName}/contactverification

[edit] Parameters

action
The action GET will take.
info | sendVerificationEmail

[edit] URI Parameters

domainName - string
The domain name. IE: example.com is a valid domain name, whereas http://www.example.com or www.example.com are not. If the domain name is invalid, or is otherwise not registerable such as for a non-existent or non-supported TLD, an error will be returned. Domain names are case insensitive. The domain name must be an open or suspended product under the authenticated franchise.

[edit] Request Headers

None.

[edit] Request Body

None.

[edit] Response

[edit] Status Code

200 OK
Returns contact verification status when action=info
204 No Content
when action=sendVerificationEmail

[edit] Response Body

{
   "verificationStatus":"pending"
}
 

[edit] Response parameters

verificationStatus - string
"Verified", "Cancelled", "Queued, Pending Verification", "Queue Expired", "Pending Suspension", "Suspended"

[edit] Example getting contact verification status for a domain.

Request

GET /domains/example.com/contactverification?action=info
 

Response

200 OK
Content-Type: application/json; charset=UTF-8
{"verificationStatus": "pending"}
 

[edit] Example sending contact verification for a domain.

Request

GET /domains/example.com/contactverification?action=sendVerificationEmail
 

Response

204 No Content
 

[edit] See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox