MyChat Integration API: MCIAPI_CS_CommonContactsRebuild

MyChat Integration API: MCIAPI_CS_CommonContactsRebuild

You should use this command if you do operations with the common contact list and you need to display all changes for users immediately.

 

Syntax

{

 "cmd"       : "0018",

 "ServerKey" : "iddqd",

 "APIStype"  : "mydata"

}

 

Parameters

Parameter

Type

Value

ServerKey

string

IntegrationAPI key; you can set it in the server settings;

APIStype

string

integration type. You can set any string.

 

Work result

{

"Cmd"     : 24

}

 

Field

Type

Value

Cmd

integer

command name that was executed successfully; equal to 24 (HEX 0018).

 

Possible errors

MCIAPI_Error_WrongIntegrationKey

 

See also

MCIAPI_CS_MoveUserToDepartment