Ascio Web Service v2
C# CreateOrder - Domain_Details_Update
Updating the next autorenew period will prompt the systems to generate an autorenew order (upon
expiry date) based on the period stated in the latest domain details update order.
This dictates that the default autorenew period no longer applied once a TLD is enabled with this
command. Privacy and proxy can be updated with the Domain-Details-Update. For more information please look at this If the domain is queued by a queue-order, the phase can be changed with Domain Details Update - Phase. It is only possible to update domain property values. In order to update domain-objects please use these commands:RenewPeriod
Privacy/Proxy
Queue Phase
Other domain objects
Response CreateOrder(string sessionId,Order order)
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 | Description |
---|---|
sessionId | Example: o58t9fjgw9bjarp6q7byv13e |
order |
CreateOrderResponse
Property |
---|
CreateOrderResult |
order |
Property | Value |
OrderType | Domain_Details_Update |
---|
C# example
AscioServices services = new ServiceReference1.AscioServices();
Extension extension = new Extension();
extension.Key = "Title";
extension.Value = "Mr.";
Extensions extensions = new Extensions(array($extension));
PrivacyProxy privacyProxy = new PrivacyProxy();
privacyProxy.Type = PrivacyProxyEnumType.None;
privacyProxy.PrivacyAdmin = false;
privacyProxy.PrivacyTech = false;
privacyProxy.PrivacyBilling = false;
privacyProxy.Extensions = extensions;
Domain domain = new Domain();
domain.DomainName = domaintest.com
domain.RenewPeriod = 1;
domain.QueueType = "QueueTypeTest";
domain.PrivacyProxy = privacyProxy;
domain.DiscloseSocialData = "true";
Order order = new Order();
order.Type = OrderType.Domain_Details_Update;
order.Domain = domain;
Response response = services.CreateOrder("mySessionId", ref request);
if (response.ResultCode == 200) {
Console.WriteLine("My new orderId is : " + request.OrderId);
} else {
if (response.Values != null) {
Console.WriteLine(String.Join(",", response.Values));
}
}
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.