[Solved] API Call to pull out information
Hello Support,
???????????????????????????? we are provide different services to customers , i.e Voip, Desktops and Exchange, for exchange we are using CloudPanel.
Now we are developing our own admin panel where if any company administrator login can see all his packages information for example package status, data usage etc we pull out info for Voip, and data now we want ” to pull out data from Cloud Panel for company administrator”?
need help how to do it
?
Thanks
I believe this issue was resolved because the IP address was not correct right? Please let me know so I can mark this as completed.
You can look under knowledge base and API for some of the API calls. Any API calls missing you can always look in the browser to see what POST, PUT, DELETE, and GET requests are being sent and you can send it with your own code.
we are trying to access cloud panel using a C# base web application the response we got is “Not Accept able”
here is the request example:
?const string BaseUrl = “http://panel.voipar.com/cloudpanel/”;
? ? ? ? static string ApiKey = “F0vCzzMA4EhyeF/jrhI9Gvo7u4zjLg4/wNv7nkb2ejv7xQylWIdb+frrqN8xMaBgv6kbDpHU9X2bpyfyhZNzCA==”;
? ?RestClient client = new RestClient(BaseUrl);
? ? ? ? ? ? RestRequest requests = new RestRequest(“company/VOI/users”, Method.GET);
? ? ? ? ? ? requests.AddQueryParameter(“ApiKey”, ApiKey);
? ? ? ? ? ? requests.AddHeader(“content-type”, “application/json”);
? ? ? ? ? ? requests.AddHeader(“accept”, “application/json”);
? ? ? ? ? ? IRestResponse responses = clients.Execute(requests);
?
Please guide us on that…?
Thanks in advance any help will b much appreciated.
Thanks ?
ihsan,
Please change your API key because you just published it to the website.
If you could please email me at support@knowmoreit.com with a test login and I can see what is wrong for you.
- 5 Forums
- 714 Topics
- 3,630 Posts
- 0 Online
- 254 Members