Ascio Web Service v2
Python 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 |
---|
Python example
import zeep
import base64
from zeep import xsd, Client, Settings
# This is the test-environment. Please remove "demo." for the live-environment
wsdl = "https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl"
settings = Settings(strict=False)
client = zeep.Client(wsdl=wsdl, settings=settings)
# Extension
extension = {
"Key" : "Title",
"Value" : "Mr."
}
# Extensions
extensions = []
# PrivacyProxy
privacyProxy = {
"Type" : "None",
"PrivacyAdmin" : "false",
"PrivacyTech" : "false",
"PrivacyBilling" : "false",
"Extensions" : extensions
}
# Domain
domain = {
"DomainName" : "test-domain.com",
"RenewPeriod" : 1,
"QueueType" : "QueueTypeTest",
"PrivacyProxy" : privacyProxy,
"DiscloseSocialData" : "true"
}
# Order
order = {
"Type" : "Domain_Details_Update",
"Domain" : domain
}
result = client.service.CreateOrder(sessionId = "sessionId", order = order)
print(result)
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.