Core classes and operations
106
SIPxNano IP-PBX Getting Started Guide
C • Configuration APIs
Edit Device
Modifies data for an existing SIPxNano device to match your external source data. To edit a device, you use
either:
•
editDevice operation in the DeviceService. See the WSDL device-service.xml file
•
EditDeviceCommand class in the com.Patton.pds.applications. loader.commands package
If a value is “null”, the value of that field will be set to null in SIPxNano.
Note
You cannot change the device type for a SIPxNano device. Instead, you must
delete the current device, add a new device with the different device type,
and then assign the device to a user.
Table 17. Core Operations: Edit Device
WSDL Parameter
Java Method
Description
Required?
existingSerialNumber
setExistingSerialNumber()
See
“Add Device”
on page 104.
Yes
newSerialNumber
setNewSerialNumber()
See
“Add Device”
on page 104.
Yes
name
setName()
See
“Add Device”
on page 104.
No
deviceGroupName
setDeviceGroupName()
See
“Add Device”
on page 104.
No
description
setDescription()
See
“Add Device”
on page 104.
No