Ascio Web Service v3
C# CreateOrder
The Domain Monitoring scans zones for keyword variations. The keywords are scanned in a predefined NotificationFrequency: There a different scanning configuration that can be set with the Tier parameter: Please enter 1 or 2 for the Tier
For the renew, NotificationFrequency, Tier, Period and Handle are mandatory.Renew a Domain Monitoring service
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 | NameWatchOrderRequest |
C# example
AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";
NameWatch nameWatch = new NameWatch();
nameWatch.Handle = "JD123";
nameWatch.HandleSpecified = true;
nameWatch.NotificationFrequency = NotificationFrequencyType.Daily;
nameWatch.NotificationFrequencySpecified = true;
nameWatch.Tier = 1;
nameWatch.TierSpecified = true;
NameWatchOrderRequest request = new NameWatchOrderRequest();
request.Type = OrderType.Renew;
request.TypeSpecified = true;
request.Period = 1;
request.PeriodSpecified = true;
request.TransactionComment = "TransactionCommentTest";
request.TransactionCommentSpecified = true;
request.NameWatch = nameWatch;
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.