Ascio Web Service v3
C# CreateOrder - Renew
Renews a domain. The RegPeriod defines for how many years the domain is renewed. Default is a RegPeriod of 1. Please be aware that some TLD's don't support RegPeriod 1, but 2. Some TLD's like .it don't support renew at all. In this case the domain needs to be unexpired. Then the AutoRenew will renew the domain.

CreateOrderResponse CreateOrder(SecurityHeaderDetails securityHeader,CreateOrderRequest request)Response codes
| ResultCode | Message | Value |
|---|---|---|
| 200 | Order validated | |
| 200 | Order received | |
| 400 | Order not validated | Messages |
| 401 | Authorization failed | |
| 405 | Access denied |
CreateOrder Request
| Property | Type |
|---|---|
| request |
CreateOrderResponse
| Property | Description |
|---|---|
| CreateOrderResult | |
| OrderInfo | |
| ResultCode | Example: 1 |
| ResultMessage | |
| Errors |
Used in Classes
| Property | Value |
| OrderType | Renew |
|---|---|
| request | DomainOrderRequest |
C# example
AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";
Domain domain = new Domain();
domain.Name = "ascio-is-great.com";
DomainOrderRequest request = new DomainOrderRequest();
request.Type = OrderType.Renew;
request.TypeSpecified = true;
request.TransactionComment = "TransactionCommentTest";
request.TransactionCommentSpecified = true;
request.Domain = domain;
request.AgreedPrice = 5000;
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.