Cisco Cisco Meeting Server 2000 开发者指南

下载
页码 147
Cisco Meeting Server Release 2.0 : API Reference Guide
46
6.8.7 Examples
Creating coSpaces in bulk
1. Create a cospaceBulkParameterSet with parameters:
n
startIndex=1000&endIndex=1999&coSpaceUriMapping=space
n
$index$& coSpaceNameMapping=Space
$index$&coSpaceCallIdMapping=811$index$
2. Create a cospaceBulkSync with parameters:
n
cospaceBulkParameterSet=<GUID from above>
This will create 1000 spaces starting with “Space 1000” space.1000@domain.com ,
callID=8111000
and ending in “Space 1999” space.1999@domain.com ,
callID=8111999
To update the range:
1. PUT new range to cospaceBulkParameterSets/<GUID from above>
2. Create a cospaceBulkSync with parameters:
l
cospaceBulkParameterSet=<GUID from above>
This deletes all the previous spaces and creates a new set. This whole operation will succeed or
fail. In failure the transaction will be rolled back and the spaces that previously existed will still be
there.
To delete a range:
1. Create a cospaceBulkSync with parameters:
l
cospaceBulkParameterSet=<GUID from above>&removeAll=true
This removes all spaces that were created using this parameter set. They will get removed even
if they have been renamed, or edited in any other way.
6.9 coSpace Diagnostics Methods
A POST to "/coSpaces/<coSpace id>/diagnostics" triggers the generation of call diagnostics
for the specified coSpace.
6   coSpace Related Methods