Question

How to provision polycom phone using API

  • 5 July 2018
  • 1 reply
  • 795 views

How to register a polycom device, using sandbox account. How to do sip provisioning for Polycom phone post /restapi/v1.0/client-info/sip-provision


I tried -


Curl

curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer U0pDMTFQMDFQQVMwMHxBQUJvTTZoTmZiSnp1Tk5XWVFCQkNUWFZWTDNTdGR2eWltODNWWF9BR2tVOUdLZVFEc2cweEUwb3lENWZ2X3lla0pGNF9QWWRPMEVYNENYQjd4dmJsWHJocDNNR1QxN2FqZWJIczcycTVONm13M3kwVDdfcUkzSFRVSENBUDVsSWZISXFIWVpuSm0xUmdlSGtoRHdNUl9WR3ZqNlZVSnN0M2l4eVZ1RnBFOWx0YUN2LU5tQV90azJmdEhNQ1I1eWh3SE18SkVsdUxRfDR5U1pkWUk5eGljSGRCVjI0NVZCQ2d8QUE" -d "{"device":[{"id":"64167f7f7f81","appExternalId":"","computerName":"VVX 500"}],"sipInfo":[{"transport":"UDP"}]}" "https://platform.devtest.ringcentral.com/restapi/v1.0/client-info/sip-provision"



Request URL

https://platform.devtest.ringcentral.com/restapi/v1.0/client-info/sip-provision


Response Body

{    "errorCode": "InvalidParameter",    "message": "Parameter [device] value is invalid",    "errors": [      {        "errorCode": "CMN-101",        "message": "Parameter [device] value is invalid",        "parameterName": "device"      }    ],    "parameterName": "device"  }


Response Code

400





1 reply

https://developer.ringcentral.com/api-docs/latest/index.html#!#RefCreateSipRegistration

According to the doc, there should be a "sipInfo" property in request body.

Reply