Export (0) Print
Expand All

3.1.4.18 GetListContentType

SharePoint

The GetListContentType operation<48> is used to get content type data for a given content type identifier.

<wsdl:operation name="GetListContentType">
    <wsdl:input message="GetListContentTypeSoapIn" />
    <wsdl:output message="GetListContentTypeSoapOut" />
</wsdl:operation>

The protocol client sends a GetListContentTypeSoapIn request message (section 3.1.4.18.1.1) and the protocol server responds with a GetListContentTypeSoapOut response message (section 3.1.4.18.1.2), as follows:

  1. If the specified listName is a valid GUID and corresponds to the identification of a list on the site, use that list.

  2. If the specified listName is not a valid GUID or does not correspond to the identification of a list on the site, check if the listName corresponds to the list title of a list on the site and if so, use that list.

  3. If the specified listName does not correspond to a list from either of these checks, the protocol server SHOULD<49> return a SOAP fault with error code 0x82000006. This indicates that the list does not exist or might have been deleted by another user.

  4. If contentTypeId does not match a content type identifier on the list, the protocol server MUST return a SOAP fault. There is no error code for this fault.

  5. If no other errors occurred, the protocol server MUST respond with a GetListContentTypeResponse element (section 3.1.4.18.2.2).

Show:
© 2014 Microsoft