Handset PUT

Handset PUT
PUT /api/handset/{id}

Update the details for a single handset.

 

REQUEST BODY

id

Handset id

name optional

Handset name

ipaddress optional

Handset ipaddress

phonenumbers optional

Handset phonenumbers as string array

notes optional

Handset notes

enabled optional

Handset enabled

recordinbound optional

Handset recordinbound boolean

recordoutbound optional

Handset recordoutbound boolean

recordinternal optional

Handset recordinternal boolean

minimumcalllengthseconds optional

Handset minimumcalllengthseconds integer

overlaytonewhilepaused optional

Handset notes

whendisabledrecordinternalwithenabledhandsets optional

Handset enabled boolean

transcriptionenabled [optional]

transcription enabled boolean


Result Code

200

OK

400

Bad request

401

Unauthorized

404

Handset not found

406

SSL must be used

500

Server Error

 

Example request

Example;-
PUT
https://api.calln.com/handset
{"id":359124,"name":"Jane2","ipaddress":"10.16.1.69","macaddress":"0004F2BEA47D","phonenumbers":["0393196602","0393196619"],"useragent":"PolycomVVX-VVX_1500-UA/4.0.10.0689_0004f2bea57e","notes":"notes added","enabled":true,"recordinbound":false,"recordoutbound":false,"recordinternal":true,"minimumcalllengthseconds":35,"overlaytonewhilepaused":true,"whendisabledrecordinternalwithenabledhandsets":false}

Result;-
200 (OK)

Using Curl

curl "https://api.calln.com/api/handset/{id}" -H "Authorization: Token authtoken" -X PUT -d "{'name':'Jane Doe','phonenumbers':['0393196602','0393196619']}"


Calculate your CallN Costs in 60 Seconds

  • Accurate details are needed in order to use the right pricing tier information.
  • The calculator will give you the total cost of the plan according to the total months you specify
  • Accurate details are needed in order to use the right pricing tier information.
  • The calculator will give you the total cost of the plan according to the total months you specify
  • After you sign up, this will be used for your Calln domain.
  • A Team member will contact you on this number.
  • A summary of your calculations will be sent to this email address.
  • You may review our terms and conditions and privacy policies by clicking on the links above.