View Single Post
  #1  
Old 18th October 2011, 20:00
laptop_user laptop_user is offline
Member
 
Join Date: Aug 2011
Posts: 78
Thanks: 34
Thanked 7 Times in 7 Posts
Default Get DNS zone from admin

Hello,

How can I retrieve DNS zone from admin? Using dns_zone_get and dns_zone_get_by_user function give me the same permission error:

Code:
permission_deniedYou do not have the permissions to access this function. SOAP Error: You do not have the permissions to access this function.

Also in dns_zone_get help file - remoting_client/API-docs/dns_zone_get.html
Code:
Input Variables:

$session_id, $primary_id

but in the example php file - dns_zone_get.php
Code:
$id = 1;
	
	$dns_record = $client->dns_zone_get($session_id, $id);

	print_r($dns_record);
I change $id to $primary_id but I'm not sure what admin value should I put there?

Any help is appreciated. Thank you.
Reply With Quote
Sponsored Links