Accounts-accountNumber-web-domainName-ssl:POST
From Hostway API Documentation
Revision as of 15:39, 16 July 2015 by Venzi.iliev (Talk)
POST /accounts/{accountNumber}/web/{domainName}/ssl
Add SSL certificate
Contents |
Request
POST /accounts/{accountNumber}/web/{domainName}/ssl
URI Parameters
- accountNumber - string
- The user account of the web site owner
- domainName - string
- The domain name of the website
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
Request Body
{ "administrative":{ "firstName":"Doron", "lastName":"Sireni", "phone":"1-866-274-2178", "email":"someemail@ng-test-fitnesse-websplanet-20150624-1057.us" }, "billing":{ "firstName":"Doron", "lastName":"Sireni", "phone":"1-866-274-2178", "email":"someemail@ng-test-fitnesse-websplanet-20150624-1057.us" }, "technical":{ "firstName":"Doron", "lastName":"Sireni", "email":"someemail@ng-test-fitnesse-websplanet-20150624-1057.us", "phone":"1-866-274-2178" }, "approverEmail":"support_preprod@geotrust.com", "commonName":"ng-test-fitnesse-websplanet-20150716-0722.us", "webserverType":"linux", "city":"Vancouver", "duns":"", "domainName":"ng-test-fitnesse-websplanet-20150716-0722.us", "webserverAddress":"pegasus-vip.bhp.staging.chicago.hostway", "validityPeriod":"12", "zipOrPostal":"V6C2B5", "phone":"1-866-274-2178", "stateOrProvince":"BC", "fax":"1-866-274-2178", "countryCode":"CA", "address1":"Bentall Tower 5 550 Burrard St., 2nd Fl.", "address2":"", "address3":"", "specialInstructions":"", "company":"Home", "service":"%service%" }
Parameters
- domainName - string
- The domain name of the website
- administrative - contact info
- The administrative contact
- billing - contact info
- The billing contact
- technical - contact info
- The technical contact
- approverEmail - string
- The approver e-mail
- commonName - string
- webserverType - string
- city - string
- duns - string
- webserverAddress - string
- validityPeriod - integer
- address1 - string
- address2 - string
- address3 - string
- stateOrProvince - string
- zipOrPostal - string
- countryCode - string
- phone - string
- fax - string
- specialInstructions - string
- company - string
- service - string
Response
Status Code
- 202 Accepted
- 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
Examples
Ordering SSL cerificate
Request
POST /accounts/acct411359/web/g-test-fitnesse-websplanet-20150624-1057.us/ssl { "administrative":{ "firstName":"Doron", "lastName":"Sireni", "phone":"1-866-274-2178", "email":"someemail@ng-test-fitnesse-websplanet-20150624-1057.us" }, "billing":{ "firstName":"Doron", "lastName":"Sireni", "phone":"1-866-274-2178", "email":"someemail@ng-test-fitnesse-websplanet-20150624-1057.us" }, "technical":{ "firstName":"Doron", "lastName":"Sireni", "email":"someemail@ng-test-fitnesse-websplanet-20150624-1057.us", "phone":"1-866-274-2178" }, "approverEmail":"support_preprod@geotrust.com", "commonName":"ng-test-fitnesse-websplanet-20150716-0722.us", "webserverType":"linux", "city":"Vancouver", "duns":"", "domainName":"ng-test-fitnesse-websplanet-20150716-0722.us", "webserverAddress":"pegasus-vip.bhp.staging.chicago.hostway", "validityPeriod":"12", "zipOrPostal":"V6C2B5", "phone":"1-866-274-2178", "stateOrProvince":"BC", "fax":"1-866-274-2178", "countryCode":"CA", "address1":"Bentall Tower 5 550 Burrard St., 2nd Fl.", "address2":"", "address3":"", "specialInstructions":"", "company":"Home", "service":"%service%" }
Response
202 Accepted