3.1.4.20.2.2 GetListContentTypesAndPropertiesResponse

The GetListContentTypesAndPropertiesResponse element provides the content types and properties requested by the GetListContentTypesAndPropertiesSoapIn message (section 3.1.4.20.1.1).

 <s:element name="GetListContentTypesAndPropertiesResponse">
   <s:complexType>
     <s:sequence>
       <s:element name="GetListContentTypesAndPropertiesResult" 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:element name="Properties">
               <s:complexType>
                 <s:sequence>
                   <s:element name="Property" minOccurs="0" maxOccurs="unbounded">
                     <s:complexType>
                       <s:attribute name="Key" type="s:string" 
                                    use="required" />
                       <s:attribute name="Value" type="s:string" 
                                    use="required" />
                     </s:complexType>
                   </s:element>
                 </s:sequence>
               </s:complexType>
             </s:element>
           </s:sequence>
         </s:complexType>
       </s:element>
     </s:sequence>
   </s:complexType>
 </s:element>

GetListContentTypesAndPropertiesResult: The container element for the results.

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

GetListContentTypesAndPropertiesResult.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.

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

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

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

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

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

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

GetListContentTypesAndPropertiesResult.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.

GetListContentTypesAndPropertiesResult.ContentTypes.ContentType.BestMatch: MUST be specified on at most one ContentType element. If specified at all, it MUST be specified on the ContentType element that represents the "best match" to the content type identified by the contentTypeId element in the GetListContentTypesAndPropertiesSoapIn message. See section 3.1.4.19.2.1 for a description of the "best match" algorithm.

GetListContentTypesAndPropertiesResult.Properties: The container element for the set of returned properties.

GetListContentTypesAndPropertiesResult.Properties.Property: The container element for a single property. A property consists of either a key and value from the list or site property bag, or of a file name and file contents from the list or site property bag.

GetListContentTypesAndPropertiesResult.Properties.Property.Key: When the property does not represent a file, the value MUST be the property key. When the property does represent a file, the value MUST be the file name.

GetListContentTypesAndPropertiesResult.Properties.Property.Value: When the property does not represent a file, the value MUST be the property value. When the property does represent a file, the value MUST be the file contents.