3.1.4.15.2.2 BatchGetSyncJobStatusResponse

The BatchGetSyncJobStatusResponse element specifies the result data for the BatchGetSyncJobStatus WSDL operation.

 <xs:element name="BatchGetSyncJobStatusResponse" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:complexType>
     <xs:sequence>
       <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="ErrorCodes" nillable="true" type="q28:ArrayOfNullableOfint"/>
       <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="JobIds" nillable="true" type="q32:ArrayOfunsignedLong"/>
       <xs:element minOccurs="0" name="MoreBytesToReceive" type="xs:boolean"/>
       <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="OutputStreamsInBytes" nillable="true" type="q32:ArrayOfbase64Binary"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>

ErrorCodes: An array of ErrorCode, which is an integer value specifying the error code of a failed or incomplete immediate conversion job. If the immediate conversion job has failed or is incomplete, the protocol server MUST write a non-null value. ErrorCodes’ sequence MUST be aligned with the sequence of the array of JobIds.

ErrorCode Can be, but is not restricted to, the following values.

Value

Description

null

The immediate conversion job is successful.

-1

Unknown Failure

0

The immediate conversion job is incomplete.

1

Input file was not found in the SharePoint library.

2

Insufficient permissions to download the input file.

3

UserToken used for conversion expired before the input file could be downloaded.

4

Insufficient permissions to upload the converted file.

5

UserToken used for conversion expired before the converted file could be uploaded.

6

The input file could not be downloaded for some unknown reason.

7

The converted file could not be uploaded for some unknown reason.

9

Item assigned worker died.

10

Item exceeded the maximum conversion time.

11

The number of in-progress immediate conversion requests exceeds the limit specified by the administrator.

12

The administrator has specified that the server cannot accept synchronous conversion requests.

13

Input stream cannot be loaded because of running out of memory or space.

14

Output stream cannot be saved because of running out of memory or space.

JobIds: An array of JobId (section 2.2.3.2). This array is copied from the JobIds in BatchGetSyncJobStatusRequest.

MoreBytesToReceive: A Boolean value that is set to true when the total size of the output files is too large to send in one BatchGetSyncJobStatusResponse. When the value of MoreBytesToReceive is set to true it indicates that there are some output files that have been converted, but not sent back in this BatchGetSyncJobStatusResponse element.

OutputStreamsInBytes: This is a two-dimensional array of bytes. The first dimension matches the  JobIds array. The second dimension of bytes is the output file’s byte stream. The protocol server MUST NOT return a byte stream for conversion jobs initiated with the AddSyncJob WSDL operation (section 3.1.4.13), only for those initiated with the AddSyncStreamJob WSDL operation (section 3.1.4.14).