Ascio DNS
NodeJS CreateZone
Creates a zone in AscioDNS. Records can be provided, but are not mandatory. The owner is a user that was created with CreateUser

Response CreateZone(CreateZone createZone)Response codes
| ResultCode | Message | Value |
|---|---|---|
| 200 | OK | |
| 400 | Parameter value error - Null or invalid value | |
| 401 | Authorization failed | |
| 403 | Access denied | |
| 414 | User not found |
CreateZone Request
| Property | Description |
|---|---|
| zoneName | Example: "testing-ascio.com" |
| owner | |
| records |
CreateZoneResponse
| Property |
|---|
| CreateZoneResult |
NodeJS example
Caught error err:XPTY0004: It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching. Type error in expression: required node name is properties; got: property. Data: .
<inputs>
<api>AscioDns</api>
<type name="CreateZone"/>
</inputs>WSDL AscioDns
https://dnsservice.demo.ascio.com/2010/10/30/DnsService.wsdl (OTE)
https://dnsservice.ascio.com/2010/10/30/DnsService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://dnsservice.demo.ascio.com/2010/10/30/DnsService.wsdl (OTE)
https://dnsservice.ascio.com/2010/10/30/DnsService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.