Skip to main content
The First Step
April 19, 2024
Question

Hot desking device ordering

I am trying to update the phone number of an existing “Unify Office for Desktop” device with a phone number from the inventory with the following code and it gives me:

"errorCode" : "ORD-104",

"message" : "Hot desking device ordering is not available for current account"

$body = array(

'phoneLines' => array(

array(

'id' => '687039071'

)

)

);

$r = $platform->put("/restapi/v1.0/account/~/device/1519215071", $body);

A screenshot of a number inventoryDescription automatically generated

Best regards,

Peter

    1 reply

    PhongVu
    Community Manager
    Community Manager
    April 22, 2024

    That API won't work for your use case. Can you try this API instead to see if it helps. It may not be possible to change the phone number of a hard phone via API.

    Let me know if it helps or not so I can work on searching for another solution.