acceptShareRequest

Accepts a shared folder notification or a shared personal address book notification.

Request

<acceptShareRequest>
   <id/>
   <name/>
   <container/>
   <description/>
   <sequence/>
</acceptShareRequest>

Response

<acceptShareResponse>
   <id/>
   <status/>
</acceptShareResponse>

Elements

id

Specifies the ID of the shared folder notification to accept.

name

Specifies the name of the folder to create. If no name is given, the original name from the notification message is used.

container

Specifies the container ID of the parent folder where the new folder is created. If the container is not specified, the cabinet folder is the default container.

description

(optional) Specifies a detailed description of the shared folder. This is text supplied by the creator of the shared folder.

sequence

Specifies where to place the new folder in the sequence of folders.

code

Returns the error number related to the event. 0 indicates that the request was successful.

id

Returns the ID for the newly created folder.

status

Returns the success or failure of the method.

Example

<acceptShareRequest>
   <id>44F71EE4.domain1.po1.100.16E3837.1.F86.1@37:7.
       domain1.po1.100.0.1.0.1@16</id> 
    <name>Shared Folder for project A</name> 
    <container>C.domain1.po1.100.0.1.0.1@21</container> 
    <description>Shared Folder Description</description> 
</acceptShareRequest>

<acceptShareResponse>
   <id>44F71F5C.domain1.po1.100.16E3837.1.F87.1@34:44F71EE1.
         domain1.po1.100.1676834.1.766.1</id> 
   <status>
      <code>0</code> 
   </status>
</acceptShareResponse>