3.1.4.19.2.2 GetListContentTypesResponse

The GetListContentTypesResponse element is the response that contains all content types on a list.

 <s:element name="GetListContentTypesResponse">
   <s:complexType>
     <s:sequence>
       <s:element name="GetListContentTypesResult" minOccurs="0">
         <s:complexType mixed="true">
           <s:sequence>
             <s:element name="ContentTypes" >
               <s:complexType>
                 <s:sequence>
                   <s:element name="ContentType" maxOccurs="unbounded">
                     <s:complexType>
                       <s:sequence>
                         <s:element name="XmlDocuments" 
                                    type="core:XmlDocumentDefinitionCollection" 
                                    minOccurs="0">
                         </s:element>
                       </s:sequence>
                       <s:attribute name="Name" type="s:string" use="required" />
                       <s:attribute name="ID" type="core:ContentTypeId"  
                                    use="required" />
                       <s:attribute name="Description" type="s:string" 
                                    use="required" />
                       <s:attribute name="Scope" type="s:string" use="required" />
                       <s:attribute name="Version" type="s:int" use="required" />
                       <s:attribute name="BestMatch" type="tns:TRUEONLY" 
                                    use="optional" />
                     </s:complexType>
                   </s:element>
                 </s:sequence>
                 <s:attribute name="ContentTypeOrder" type="s:string" use="optional" />
               </s:complexType>
             </s:element>
           </s:sequence>
         </s:complexType>
       </s:element>
     </s:sequence>
   </s:complexType>
 </s:element>
  

GetListContentTypesResult: The container element for the results.

GetListContentTypesResult.ContentTypes: The container element for the content types.

GetListContentTypesResult.ContentTypes.ContentTypeOrder: A string of content type identifiers delimited by commas. This specifies the order in which the content types are displayed to the user when the user tries to create a new item in this list. This MUST NOT be returned if the list is a user information list.<61>

GetListContentTypesResult.ContentTypes.ContentType: The container element for a single content type, as specified in [MS-WSSCAML] section 2.4.

GetListContentTypesResult.ContentTypes.ContentType.XmlDocuments: A collection of XML documents associated with this content type, which can include forms and event receiver manifests. The XmlDocumentDefinitionCollection type is specified in [MS-WSSCAML] section 2.4.12.

GetListContentTypesResult.ContentTypes.ContentType.Name: The name of the content type.

GetListContentTypesResult.ContentTypes.ContentType.ID: The content type identifier for this content type.

GetListContentTypesResult.ContentTypes.ContentType.Description: The description of the content type.

GetListContentTypesResult.ContentTypes.ContentType.Scope: The fully qualified URL to the content type scope.

GetListContentTypesResult.ContentTypes.ContentType.Version: Specifies the current version of the content type. The protocol server MUST increment the value by one each time the content type definition is edited. The protocol client MUST ignore this attribute.

GetListContentTypesResult.ContentTypes.ContentType.BestMatch: MUST be specified on at most one ContentType element. If specified at all, this element MUST be specified on the ContentType element that represents the "best match" to the content type identified by the contentTypeId element in the GetListContentTypesSoapIn message (section 3.1.4.19.1.1).