Brekeke PBX Wiki

setContact

setContact

 

Permissions:

admin or user

 

Description:

Sets a contact.

 

Parameters:

aid – the ID of the contact
phonebook – name of the phonebook
shared – set true if the phonebook is shared
info – all field data of the contact (Refer to the [Phone book] > [Import/Export] page for the details of the standard field of the data.)

 

Returns:

If the method succeeds, it returns an object with a property aid like { “aid” : 6636 }. (Available only in version 3.8.3.5 or later)

 

Related methods:

getContact

 

Version:

3.8 or later

Yes No
Suggest Edit