![background image](http://html1.mh-extra.com/html/patton-electronics/sipxnano/sipxnano_getting-started-manual_4061041115.webp)
Core classes and operations
104
SIPxNano IP-PBX Getting Started Guide
C • Configuration APIs
Delete User
Removes an existing user from SIPxNano. To delete a user, you use either:
•
deleteUser operation in the UserService. See the WSDL user-service.xml file
•
DeleteUserCommand class in the com.Patton.pds.applications. loader.commands package
Add Device
Creates a new device in SIPxNano from your external source data. To add a device, you use either:
•
createDevice operation in the DeviceService. See the WSDL device-service.xml file
•
AddDeviceCommand class in the com.Patton.pds.applications.loader.commands package
Table 15. Core Operations: Delete User
WSDL Parameter
Java Method
Description
Required?
existingUserId
setExistingUserId()
Must reference an existing User
ID. See
“Add User”
on page 102.
Yes
Table 16. Core Operations: Add Device
WSDL Parameter
Java Method
Description
Required?
serialNumber
setSerialNumber()
Valid strings contain only:
a-f
A-F
0-9
Must be 12 characters in length.
Cannot be a duplicate of an
existing serial number.
For Patton phones, find the
serial number on the bottom of
an xpressa phone or in the key-
config (license key) file of an
instant xpressa softphone.
Yes