getDocumentTypeListRequest

Returns the list of document types in a library.

Request

<getDocumentTypeListRequest>
   <library/>
</getDocumentTypeListRequest>

Response

<getDocumentTypeListResponse>
   <items type="types:DocumentTypeList"/>
   <status type="types:Status"/>
</getDocumentTypeListResponse>

Elements

library

Specifies which GroupWise library to query.

items

Returns the list of document types for a library.

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

<getDocumentTypeListRequest> 
   <library>domain1.po1.po1 Library@67</library> 
</getDocumentTypeListRequest>

<getDocumentTypeListResponse> 
   <items> 
      <item type="DocumentType"> 
         <name>Agenda</name> 
         <life>99</life> 
         <maximumVersions>100</maximumVersions> 
         <ageAction>archive</ageAction> 
      </item> 
      <item type="DocumentType"> 
         <name>Contract</name> 
         <life>99</life> 
         <maximumVersions>100</maximumVersions> 
         <ageAction>archive</ageAction> 
      </item> 
      <item type="DocumentType"> 
         <name>Corresp</name> 
         <life>99</life> 
         <maximumVersions>100</maximumVersions> 
         <ageAction>archive</ageAction>
      </item> 
   </items> 
   <status> 
      <code>0</code> 
   </status> 
</getDocumentTypeListResponse>