3.1.4.4.2.2 RestoreVersionResponse

The RestoreVersionResponse element specifies the result data for the RestoreVersion WSDL operation.

 <s:element name="RestoreVersionResponse">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="1" maxOccurs="1" name="RestoreVersionResult">
         <s:complexType>
           <s:sequence>
             <s:element name="results" minOccurs="1" maxOccurs="1" type="tns:Results" />
           </s:sequence>
         </s:complexType>
       </s:element>
     </s:sequence>
   </s:complexType>
 </s:element>

RestoreVersionResult: MUST return an XML node that conforms to the structure specified in section 2.2.4.1, which contains the details about all the versions of the specified file that the user can access.

The error conditions that can be encountered during this operation generate the error codes that are shown in the following table.

Error code

Description

No error code element returned

The file specified by the fileName and fileVersion elements of the RestoreVersion element could not be found on the site.<8>

0x8007009E

The file is not checked out.<9> This file needs to be checked out before changes can be made.

0x81020073

This error code SHOULD<10> indicate that the fileName file or folder name contains invalid characters.<11>

Note that invalid characters are defined as the following:

  • Percent sign (%)

  • Ampersand (&)

  • Asterisk (*)

  • Colon (:)

  • Left angle bracket (<)

  • Right angle bracket (>)

  • Question mark (?)

  • Forward slash (/)

  • Left curly bracket ({)

  • Vertical bar (|)

  • Right curly bracket (})

  • Tilde (~)

  • Double quotation mark (")

  • Backward slash (\)

  • Two consecutive dots (..)

  • Any character that has a value less than 32 or greater than 126