• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We are proud to announce new Poly Studio Series video bars and remote room control with Poly Connect. Read more about the solutions!
HP Recommended

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

Best regards - Dan Hemsø
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

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"
}
]
}
Best regards - Dan Hemsø
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"

View solution in original post

2 REPLIES 2
HP Recommended

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
HP Recommended

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"
}
]
}
Best regards - Dan Hemsø
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.