3.1.4.26 UndoCheckOut

The UndoCheckOut operation<79> is used to undo the check out of the specified file in a document library.

 <wsdl:operation name="UndoCheckOut">
     <wsdl:input message="UndoCheckOutSoapIn" />
     <wsdl:output message="UndoCheckOutSoapOut" />
 </wsdl:operation>

The protocol client sends an UndoCheckOutSoapIn request message (section 3.1.4.26.1.1) and the protocol server responds with an UndoCheckOutSoapOut response message (section 3.1.4.26.1.2), as follows:

  1. If the pageUrl is null or an empty string, the protocol server MUST return a SOAP fault with error code 0x82000001. This indicates that the parameter pageUrl is missing or invalid.

  2. If the pageUrl is an invalid URL, the protocol server SHOULD<80> return a SOAP fault with the error string: "Invalid URI: The format of the URI could not be determined.". This indicates that the parameter pageUrl is invalid.

  3. If the pageUrl does not refer to a document, the protocol server MUST return a SOAP fault. There is no error code for this fault.

  4. If there are no errors, the protocol server MUST undo the checkout operation on the specified document.