SeanK Posted September 23, 2022 Report Share Posted September 23, 2022 I don't see anything on the API for the service flags. Is there anything that can be shared for that? Also is there any api calls for i tried /open_pnp/ext but didn't work open accounts for mac-based provisioning reboot the selected accounts re-sync the select account Send welcome email download qr code Quote Link to comment Share on other sites More sharing options...
Vodia Support EU Posted September 23, 2022 Report Share Posted September 23, 2022 Hello, this looks to me like you want to remote control the entire PBX? Please remember that it is possible to log in from anywhere, which also works for admins of a tenant (even with limited functionality). Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 23, 2022 Report Share Posted September 23, 2022 If you are talking about the API documentation, the site is incomplete. The easiest way to get things done it to look into the inspector and see what the browser sends to the PBX, and in most cases it is obvious what API requests are being used. Quote Link to comment Share on other sites More sharing options...
SeanK Posted September 23, 2022 Author Report Share Posted September 23, 2022 No I'm looking at adding a simple UI to my website for my users. Some users are saying the UI is too advanced for them. They just want to put in name, phone mac and some other options. So I'm looking at simplifying it. I did check the inspector before I posted and the only thing that shows there is open_pnp. When I run that command I get ed.ca/open_pnp/100 curl: (52) Empty reply from server ed.ca/100/open_pnp curl: (52) Empty reply from server Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 23, 2022 Report Share Posted September 23, 2022 Well you have to make sure that the authentication is okay, either through a session or through Basic authentication (which must be enabled in the later versions). However if authentication is the problem you would see a 403 response. You can use curl -vvv to see more details on what went wrong on HTTP level. Quote Link to comment Share on other sites More sharing options...
SeanK Posted September 23, 2022 Author Report Share Posted September 23, 2022 I was able to figure it out by enabling some other browser dev tools. pbxserver.com/rest/domain/domain.com/domain_action -X POST -d "{'type':'accounts','selected':'100','action':'open_pnp'}" Any idea of when the api page will be updated with all the functions? Quote Link to comment Share on other sites More sharing options...
AlanS Posted October 7, 2022 Report Share Posted October 7, 2022 Everything you need is in Network tab of console Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted October 8, 2022 Report Share Posted October 8, 2022 On 9/23/2022 at 12:11 PM, SeanK said: Any idea of when the api page will be updated with all the functions? We do have some ideas in mind to take this to another level. For now, the main thing is to get the requests authenticated and then watch what the web front end is doing to get things done through the REST API. But I agree a proper documentation of all relevant functions would be more desirable. The current API web page sets high expectations but falls short delivering them. Quote Link to comment Share on other sites More sharing options...
AlanS Posted October 8, 2022 Report Share Posted October 8, 2022 https://sipharmony.stoplight.io Use stoplight. It's free and you can have internal api docs too. If you need a hand, just reach out. I know the vodia api and websocket more than anyone now. Quote Link to comment Share on other sites More sharing options...
SeanK Posted October 8, 2022 Author Report Share Posted October 8, 2022 SIP harmony is a little expensive for what I do. I like the option of bring your own carrier. I'm currently bringing in two carriers. I've figured most of the API commands that I need to start on my front end portal for clients Quote Link to comment Share on other sites More sharing options...
AlanS Posted October 8, 2022 Report Share Posted October 8, 2022 14 hours ago, SeanK said: SIP harmony is a little expensive for what I do. I like the option of bring your own carrier. I'm currently bringing in two carriers. I've figured most of the API commands that I need to start on my front end portal for clients Oh, I am not advertising Sipharmony. I am advertising Stoplight. And we allow BYOC and BYOD. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.