Order New SSL

Description

Order a new SSL certificate


Parameters

Name Data Type Status Description
auth-id Integer  Required Authentication parameter
auth-password String  Required Authentication parameter 
domain-name String Required Domain name for the certificate
period Integer Required Certificate period in years
type Integer Required

Type of certificate:

2 - Wildcard Positive SSL

3 - Positive SSL


Return: Array with order status and description.


Errors

When the authentication of API user is not correct, any API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}

If the entered type for SSL Certificate is invalid (2 - Positive, 3 - Wildcard ), the following status will be returned:

{"status":"Failed","statusDescription":"Invalid SSL certificate type."}/p>

Note: These are example errors in JSON format, and these are not the only errors that can be displayed.


Example

URL JSON: https://api.cloudns.net/ssl/order-new.json
POST/GET: auth-id=0&auth-password=password&domain-name=example.com&period=1&type=1
POST/GET: sub-auth-id=0&auth-password=password&domain-name=example.com&period=1&type=1

URL XML: https://api.cloudns.net/ssl/order-new.xml
POST/GET: auth-id=0&auth-password=password&domain-name=example.com&period=1&type=1
POST/GET: sub-auth-id=0&auth-password=password&domain-name=example.com&period=1&type=1


Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more