Jump to content

API for service flags and action menu


SeanK

Recommended Posts

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

 

Link to comment
Share on other sites

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
 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...