Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Update Phone via API

    Posted 06-05-2025 18:18

    Tanner_Albus | 2019-06-04 17:24:20 UTC | #1

    I'm looking to do an update on a phone and get it setup for future use and am having a hell of a time getting the formatting correct.

    I've got some of the syntax correct but i end up with it telling me duplicate names. . . Any help on the body would be much appreciated.

    { "webRtcUser": { "id": "93067cfd-5d76-48e2-a89e-db3e66d73bac" }, "lines": [ { "lineBaseSettings": { "id": "f560c3d3-b837-4c84-9e18-158730fa49d4" } } ], "site": { "id": "e7161ef4-d58c-4782-9da0-4284ac73a1f8" }, "name": "AAiza_WebRTC", "phoneBaseSettings": { "id": "00f2e321-e90b-4749-b425-d0779f2b4b01" } }


    tim.smith | 2019-06-05 16:34:26 UTC | #2

    That API accepts a lot of different configurations depending on exactly what you're doing, which can make it a bit tricky. The best approach is to open the developer tools in your browser and then do what you're trying to do via the PureCloud UI and take a look at the request it makes and implement the same in your code.

    There have been several topics here on the forum relating to creating/updating phones that may have some useful information for you, like this one.


    system | 2019-07-06 16:34:31 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5283