-
×InformationWindows update impacting certain printer icons and names. Microsoft is working on a solution.
Click here to learn moreInformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationWindows update impacting certain printer icons and names. Microsoft is working on a solution.
Click here to learn moreInformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Poly Video Conferencing
- Meeting Room Solutions
- Re: Poly OS Rest API Provision option
![Sign in](/html/assets/sign-in-banner.png)
Create an account on the HP Community to personalize your profile and ask a question
10-05-2022 02:07 AM
Hi...
I'm searching for a way to manage the provision setting using REST api. Enable/Disable.
I have searched in the REST API documentation and have not been able to see any REST API commands to manage Provision settings. I can only find documentation in Command Line API for this function.
Commandline API ex.
#Disable Prov
provisionserverenable false
#Disable SIP
systemsetting sipenable False
#Enable Prov
provisionserverenable true
This will initiate the endpoint to SIP register.
Is there any undocumented commands that could be used?
My goal is to easy re-register SIP and H323 (without restarting the endpoint), for devices that is configured SIP and H323 settings using provisioning.
/Dan
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
Solved! Go to Solution.
Accepted Solutions
10-27-2022 05:32 AM
Hi all..
NOTE: This not in the documentation, so use at own risk. Remember to TEST TEST.
Just to follow-up on my own question. With some help and web browser debugging I manage to find the REST API command.
I used this as a base script:
https://community.poly.com/t5/Video-Endpoints/help-with-REST-API-for-G7500/m-p/111586#M14453
$rebootURL - Remember to use the correct URL for the settings. ex. Provision is "/rest/config": $rebootURL = ("https://" + $IP + "/rest/config");
$rebootBody - I used the below defined JSON vars instead for each command.
Defined some JSON vars:
$jsonEnableProvision = @"
{
"vars":[
{
"name": "management.provisioning.enabled",
"value": "True"
}
]
}
"@
$jsonDisableProvision = @"
{
"vars":[
{
"name": "management.provisioning.enabled",
"value": "False"
}
]
}
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
10-05-2022 03:13 AM
Hello @Dan_Hemsø
please open a ticket and I can see if I can find out.
Let me know the ticket number via Email
Best Regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
10-27-2022 05:32 AM
Hi all..
NOTE: This not in the documentation, so use at own risk. Remember to TEST TEST.
Just to follow-up on my own question. With some help and web browser debugging I manage to find the REST API command.
I used this as a base script:
https://community.poly.com/t5/Video-Endpoints/help-with-REST-API-for-G7500/m-p/111586#M14453
$rebootURL - Remember to use the correct URL for the settings. ex. Provision is "/rest/config": $rebootURL = ("https://" + $IP + "/rest/config");
$rebootBody - I used the below defined JSON vars instead for each command.
Defined some JSON vars:
$jsonEnableProvision = @"
{
"vars":[
{
"name": "management.provisioning.enabled",
"value": "True"
}
]
}
"@
$jsonDisableProvision = @"
{
"vars":[
{
"name": "management.provisioning.enabled",
"value": "False"
}
]
}
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
Didn't find what you were looking for? Ask the community