Case Study - Global Reach, Local Touch: The Role of GeoDNS in eCommerce Expansion

Get the available record types

Description

Get the available record types you can set up.


 Parameters

Name Data Type Status Description
auth-id or sub-auth-id or sub-auth-user Integer Required Authentication parameter
auth-password String Required Authentication parameter
zone-type String Required

The type of the zone: domain, reverse or parked


Return: Array with the available record types.


Errors

When the authenctication of API user is not correct, any API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}

In case the credentials of API sub user are invalid, the following status and statusDescription will be returned:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect sub-auth-id, sub-auth-user or auth-password."}

When zone-type parameter is not from the suggested zone types, the API request will fail and the following status and statusDescription will be returned:

{"status":"Failed","statusDescription":"Missing or invalid zone-type"}

Note: These are example errors in JSON format.


Example

URL JSON: https://api.cloudns.net/dns/get-available-record-types.json
POST/GET: auth-id=0&auth-password=password&zone-type=domain
POST/GET: sub-auth-id=0&auth-password=password&zone-type=domain

URL XML: https://api.cloudns.net/dns/get-available-record-types.xml
POST/GET: auth-id=0&auth-password=password&zone-type=domain
POST/GET: sub-auth-id=0&auth-password=password&zone-type=domain


Last modified: 2019-07-04
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more