Accounts-accountNumber-web-domainName-ssl-canorder:GET

From Hostway API Documentation
Jump to: navigation, search

GET /accounts/{accountNumber}/web/ssl

Get Ssl detail for existing account

Contents


Request

GET /accounts/{accountNumber}/web/ssl

URI Parameters

accountNumber - string
The user account to which the domain name and the ssl feature belong

Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.


Response

Response Body

{"services": [{"ProductTypeName": "GeoTrust Quick SSL", "ProductTypeConfiguration": "core.ssl.hosted.geotrust.quickssl"}]}
 

Parameters

services - string
list of services a account can order
ProductTypeName - string
type of product
ProductTypeConfiguration - string
configuration type of product

Status Code

200 OK
Success
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation.
403 Forbidden
The authenticated user is not allowed to access this resource
404 Not Found
The domain name does not exist.


Examples

Get Ssl detail for existing account

Request

GET /accounts/acct138699/email/ng-test-fitnesse-websplanet-20150624-1057.us/ssl
 

Response

200 OK

{"ssl": [{"fax": "1-866-274-2178", "admin_lastname": "Sireni", "PrivateKey": null, "billing_firstname": "Doron", "addressline1": "Bentall Tower 5 550 Burrard St., 2nd Fl.", "certificate_status": "waiting_approval", "phone": "1-866-274-2178", "common_name": "ng-test-fitnesse-websplanet-20150624-1057.us", "is_hosted": "True", "approver_email": "support_preprod@geotrust.com", "postalcode": "V6C2B5", "product_code": "QuickSSLPremium", "billing_phone": "1-866-274-2178", "tech_email": "someemail@ng-test-fitnesse-websplanet-20150624-1057.us", "webserver_type": "linux", "city": "Vancouver", "admin_email": "someemail@ng-test-fitnesse-websplanet-20150624-1057.us", "billing_lastname": "Sireni", "tech_phone": "1-866-274-2178", "admin_firstname": "Doron", "billing_email": "someemail@ng-test-fitnesse-websplanet-20150624-1057.us", "admin_phone": "1-866-274-2178", "duns": "", "domain_name": "ng-test-fitnesse-websplanet-20150624-1057.us", "organization_name": "Home", "tech_firstname": "Doron", "tech_lastname": "Sireni", "addressline2": "", "addressline3": "", "country": "CA", "ssl_provider_order_id": "OC6J8RVJPwKQ1Pxlf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", "type": "Geotrust", "validity_period": "12", "ServerCertificate": null}]}
 

Get ssl feature for not existing domain

Request

GET /accounts/test-account/email/test.com/php
 

Response

404 Not Found

{"itemNotFound": {"guid": "59f9fad4-e7ac-4e5b-a217-21578337542d", "message": "Resource not found", "code": 404, "details": ""}}

 

blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox