Ascio Web Service v3
C# AutoInstallSslOrderRequest
Makes the SSL installation automated with CPanel, Plesk
Please choose you the ProductCode from this list: SSL Certificates
The php classes can be downloaded here: PHP-Classes
Request an AutoInstallSSL token.
AutoInstallSslOrderRequestResponse AutoInstallSslOrderRequest(SecurityHeaderDetails securityHeader,AutoInstallSslOrderRequestRequest request)
Response codes
ResultCode | Message | Value |
---|---|---|
200 | OK | |
401 | Authorization failed | |
501 | Syntax error in parameters or arguments | |
506 | Required attribute missing in request |
AutoInstallSslOrderRequest Request
Property | Description |
---|---|
AutoInstallSsl | |
Type | Example: "owner" |
Period | Example: 1 |
TransactionComment | |
Comments | Example: "RegistrarTag" |
Documentation | |
Options |
Used in Classes
Property | Value |
OrderType | Register |
---|---|
request | AutoInstallSslOrderRequest |
C# example
AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";
AutoInstallSsl autoInstallSsl = new AutoInstallSsl();
autoInstallSsl.CommonName = "ascio-test-domain.com";
autoInstallSsl.CommonNameSpecified = true;
autoInstallSsl.ProductCode = "positivessl";
autoInstallSsl.ProductCodeSpecified = true;
autoInstallSsl.Email = email@email.com
autoInstallSsl.SanCount = 1;
autoInstallSsl.SanCountSpecified = true;
autoInstallSsl.ObjectComment = "Example Object Comment";
autoInstallSsl.ObjectCommentSpecified = true;
AutoInstallSslOrderRequest request = new AutoInstallSslOrderRequest();
request.Type = OrderType.Register;
request.TypeSpecified = true;
request.Period = 1;
request.PeriodSpecified = true;
request.TransactionComment = "TransactionCommentTest";
request.TransactionCommentSpecified = true;
request.Comments = "RegistrarTag";
request.CommentsSpecified = true;
request.AutoInstallSsl = autoInstallSsl;
CreateOrderResponse response = services.CreateOrder(securityHeader, request);
if (response.ResultCode == 200) {
Console.WriteLine("My new orderId is : " + request.OrderInfo.OrderId);
} else {
if (response.Errors != null) {
Console.WriteLine(String.Join(",", response.Errors));
}
Console.WriteLine(response.ResultMessage)
}
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.