A command for getting group ID in the tree-like common contact list via full path.
{
"cmd" : "001C",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"Path" : "USA\New York\Tech dept"
}
Parameter |
Type |
Value |
---|---|---|
ServerKey |
string |
IntegrationAPI key; you can set it in the server settings; |
APIStype |
string |
integration type. You can set any string. |
Path |
string |
full path to a department from the tree root; text string with a group separator, the symbol "\". |
{
"Cmd" : 28
"DeptID" : 12
}
Field |
Type |
Value |
---|---|---|
Cmd |
integer |
command name that was executed successfully; equal to 24 (HEX 0018). |
DeptID |
integer |
group ID in the common contact list. |
#5: MCIAPI_Error_WrongIntegrationKey
#32: MCIAPI_Error_WrongDepartmentPath