Ascio Web Service v3
C# CreateOrder
Renews an SSL-Certificate. The process of the SSL-Renewal is the same as the Register. The verification process needs to be re-done. Please provide an SSL-Certificate-Handle for the renew. Ascio is providing multiple DCV-verficiation methods, that can be used for Single-Domain certificates, Multi-Domain certificates and Wildcard cerficates. For more information about automating the SSL DCV-Process please read here: Automating SSL.
CreateOrderResponse CreateOrder(SecurityHeaderDetails securityHeader,CreateOrderRequest request)
Response codes
ResultCode | Message | Value |
---|---|---|
200 | OK | |
401 | Authorization failed | |
501 | Syntax error in parameters or arguments | |
506 | Required attribute missing in request |
CreateOrder Request
Property | Type |
---|---|
request |
CreateOrderResponse
Property | Description |
---|---|
CreateOrderResult | |
OrderInfo | |
ResultCode | Example: 1 |
ResultMessage | |
Errors |
Used in Classes
Property | Value |
OrderType | Renew |
---|---|
request | SslCertificateOrderRequest |
C# example
AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";
SslCertificate sslCertificate = new SslCertificate();
sslCertificate.Handle = "JD123";
sslCertificate.HandleSpecified = true;
SslCertificateOrderRequest request = new SslCertificateOrderRequest();
request.Type = OrderType.Renew;
request.TypeSpecified = true;
request.Period = 1;
request.PeriodSpecified = true;
request.TransactionComment = "TransactionCommentTest";
request.TransactionCommentSpecified = true;
request.SslCertificate = sslCertificate;
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)
}
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.