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 java:org.exist.xquery.XPathException: exerr:ERROR Type error in expression: required node name is {''}:properties; got: property [at line 27, column 61, source: /db/apps/aws/code-generator/lang/nodejs.xqm]
In function:
nodejs:get-array(element(properties)) [27:43:/db/apps/aws/code-generator/lang/nodejs.xqm]
nodejs:serialize-objects(element(properties)*, element(inputs)) [515:34:/db/apps/aws/code-generator/lang/nodejs.xqm]
code:generate-lang(item()*) [522:19:/db/apps/aws/code-generator/code-generator.xqm]
code:generate-code(element(inputs)) [214:24:/db/apps/aws/code-generator/code-generator.xqm]. 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.