Support Forums

API Call to pull ou…
 
Notifications
Clear all

[Solved] API Call to pull out information

4 Posts
2 Users
0 Likes
10.7 K Views
0
Topic starter

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

2 Answers
0

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.

0

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.

ihsan Topic starter 2016-11-30 03:21

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 ?

Jacob Dixon 2016-12-01 10:00

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.

Share: