The criteria
object specifies which contact
group to organize and how. This involves:
Defining the target group
Defining the target contact or contacts
Defining whether to add the contacts to the group (associate) or remove the contacts from the group (disassociate)
Optionally defining on which contacts database to perform the operation
The criteria
object has three main properties: Type
, Data
,
and OperationType
. These are described in the following
table. Properties enclosed in brackets are optional.
Note: All string values in the object are Unicode.
Property |
Description |
Type |
Value |
---|---|---|---|
|
Specifies the type of contact information to organize. This is always |
string |
Possible values:
|
|
Specifies the contact group to organize. |
object |
Object with the properties specified below |
|
Specifies the contacts database on which to perform the operation. If this property is not specified, the default database is used. |
string |
|
|
Specifies the unique identifier of the contact group to organize. Use |
string |
|
|
Specifies the unique identifiers of the contacts to add or remove.
Use |
array of strings |
|
|
Specifies whether to add the contacts to the group (associate) or remove the contacts from the group (disassociate). |
string |
Possible values:
|