Devices
devices

Update Device

Update a Device.

put/devices/{id}

Request

  • Base URL: https://api.fonestorm.com/v2
  • URL: https://api.fonestorm.com/v2/devices/{id}
  • Auth: API key in header token

Path parameters

idstring required

ID of device

Request body

fonenumberstring

10-digit Caller ID for device

namestring

Name/Label for device

typestring

Device type

mac_addressstring

Macaddress of device. Leave it blank if device type is FracTELfone OR WebRTC Device. Otherwise REQUIRED

speed_dialstring

1 to 6 digit speed dial for device

call_recording'default' | 'yes' | 'no' | 'inbound' | 'outbound' | 'ondemand'

Call recording setting for device

e911location_idstring

ID of E911Location object

areacodestring

3-digit local area code for device

ring_simultaneouslystring

10-digit Phone number to ring simultaneously with device

host_type'static' | 'dynamic'

Host type for Trunk Device. REQUIRED if Device type is Trunk Device

host_ipstring

Host IP for Trunk Device. REQUIRED if Host type is static

host_portnumber

Host Port for Trunk Device. REQUIRED if Host type is static

Response

Success

Example response

{
  "device": {
    "name": "My Device",
    "mac_address": "aabbccddeeff",
    "type": "FracTELfone",
    "call_recording": "default",
    "receive_notify": {
      "type": "Email",
      "email": "support@fractel.net"
    },
    "send_notify": {
      "type": "URL",
      "url": "https://example.com/send_notify",
      "method": "JSON"
    },
    "host_type": "dynamic",
    "timeout_service": {
      "timeout_type": "Voicemail",
      "timeout_id": "VM12341234"
    },
    "busy_service": {
      "busy_type": "Forward"
    },
    "directory_settings": {
      "first_name": "John",
      "last_name": "Doe",
      "show": true
    },
    "forwardall_settings": {
      "start_time": "18:00",
      "end_time": "24:00"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.