Corpdirsearch – TANDBERG 6000MXP User Manual
Page 148
![background image](/manuals/212695/148/background.png)
148
TANDBERG 3000
MXP
&
6000
MXP
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
Command Information
D 13887.08
MAY 2008
Required parameters are identified by an
(r)
appended to the parameter name. The
(r)
appears in this table for your information only and shall not be included when writing the commands – see the column Example for an illustration of this. Empty lines in the examples provided may have been removed to save space in the tables.
Command
Description
Parameters
Result parameters
when OK
Result parameters
when error
Example
CorpDirSearch
Command to search
for contacts in the
corporate directory
phone book.
Use the CorpDirGetNext
and the ID of the last
entity to search for the
next contacts.
Use the
CorpDirGetPrevious
and the ID of the first
entity to search for the
previous contacts.
With no parameters specified the
result will show the first 40 catalogs.
Path:
folder or subfolder, to search in.
The result will show the first 40
entries in the given catalog. If no
catalog specified by Path, then the
root catalog is used.
Query:
StartsWith:
Hits: <1..40>
Specify the number of hits to show.
SubFolders:
include subfolders.
IsFirst:
matching the search criteria.
False indicates that this is not the
first hit matching the search criteria.
CorpDirGetPrevious can be used to
search for more contacts.
IsLast:
matching the search criteria.
False indicates that this is not the
last hit matching the search criteria.
CorpDirGetNext can be used to
search for more contacts.
None
As above
xcommand corpdirsearch
*r Result (status=OK):
Entity 1
Name: “0.1 - Personal Systems“
Path: ““
ID: “138“
IsFirst: True
IsLast: False
Entity 2
Name: “0.2 - Meeting Rooms“
Path: ““
ID: “140“
IsFirst: False
IsLast: True
*r/end
OK
xcommand corpdirsearch query:charlie
hits:1
*r Result (status=OK):
Entity 1
Name: “charlie.brown“
Path: ““
ID: “29“
IsFirst: True
IsLast: False
ContactInfo 1:
Protocol: H323
CallRate: 384
Restrict: Off
DialString: “[email protected]“
Description: “[email protected]
ContactInfo 2:
Protocol: H320
CallRate: 384
Restrict: Off
DialString: “791“
Description: “791
*r/end
OK
CorpDirSearch