moveItemsRequest

Copies (links) multiple items for a source (from) container to a destination (container). --For GroupWise 2012 and later.

Request

<moveItemsRequest>
  <item type="types:MoveItem"/>
</moveItemsRequest>

Response

<moveItemResponse>
  <id type="typs:uid"/>
  <status type="types:Status"/>
</moveItemResponse>

Elements

item

MoveItem element. (Contains id, container and from elements.)

id

On input, specifies the uid of the item that you want to move or copy.

On otput, specifies the id of the item in the new container.

container

Specifies the destination container where the moved or copied item appears.

from

Specifies the from container uid to move an item from one container to another container. If you want to copy an item in one container to another container, do not provide the from uid.

code

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

status

Returns the success or failure of the method.

Example

<moveItemsRequest>
  <item>
    <id>4D3EE0F2.domain.PO1.100.1776172.1.25C9F.1@1:
               C.domain.PO1.100.0.1.0.1@21</id>
    <container>7.domain.PO1.100.0.1.0.1@16</container>
    <from>C.domain.PO1.100.0.1.0.1@21</from>
  </item>
  <item>
    <id>4D3EE101.domain.PO1.100.1776172.1.25CA2.1@1:
               C.domain.PO1.100.0.1.0.1@21</id>
    <container>7.domain.PO1.100.0.1.0.1@16</container>
    <from>C.domain.PO1.100.0.1.0.1@21</from>
  </item>
</moveItemsRequest>

<moveItemsResponse>
  <id>4D3EE0F2.domain.PO1.100.1776172.1.25C9F.1@1:
             7.domain.PO1.100.0.1.0.1@16</id>
  <id>4D3EE101.domain.PO1.100.1776172.1.25CA2.1@1:
            7.domain.PO1.100.0.1.0.1@16</id>
  <status>
    <code>0</code>
  </status>
</moveItemsResponse>