2.2.3.177.8 Status (ItemOperations)

The Status element is a required child element of the ItemOperations element, the Move element, the EmptyFolderContents element, and the Fetch element in ItemOperations command responses. It contains a code that indicates the success or failure of the ItemOperations command request (section 2.2.1.10) and the operations within the ItemOperations command request.

All elements referenced in this section are defined in the ItemOperations namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

ItemOperations command response

ItemOperations (section 2.2.3.94)

None

integer ([MS-ASDTYPE] section 2.6)

 1...1  (required)

ItemOperations command response Move operation

Move (section 2.2.3.117.1)

None

integer

 1...1  (required)

ItemOperations command response EmptyFolderContents operation

EmptyFolderContents (section 2.2.3.58)

None

integer

 1...1  (required)

ItemOperations command response fetch operation

Fetch (section 2.2.3.67.1)

None

integer

 1...1  (required)

The following table lists the status codes for the ItemOperations command (section 2.2.1.10). For information about status values common to all ActiveSync commands, see section 2.2.2.

Status code

Meaning

Scope

1

Success.

Global

2

Protocol error - protocol violation/XML validation error.

Item or Global

3

Server error.

Global

4

Document library access - The specified URI is bad.

Global

5

Document library - Access denied.

Global

6

Document library - The object was not found or access denied.

Item or Global

7

Document library - Failed to connect to the server.

Global

8

The byte-range is invalid or too large.

Item

9

The store is unknown or unsupported.

Global

10

The file is empty.

Item

11

The requested data size is too large.

Item

12

Failed to download file because of input/output (I/O) failure.

Global

14

Mailbox fetch provider - The item failed conversion.

Item

15

Attachment fetch provider - Attachment or attachment ID is invalid.

Item

16

Access to the resource is denied.

Item

17

Partial success; a Fetch, Move, or EmptyFolderContents operation completed partially.

Item

18

Credentials required.

Global

155<15>

Protocol error. The Options element (section 2.2.3.125.3) and the MoveAlways element (section 2.2.3.118) are missing from the ItemOperations request.

Global

156

Action not supported. The destination folder MUST be of type IPF.Note. For more details about folder types, see [MS-OXOSFLD] section 2.2.8.

Global

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support, child of ItemOperations, Fetch, EmptyFolderContents

Element support, child of Move

2.5

12.0

Yes

12.1

Yes

14.0

Yes

Yes

14.1

Yes

Yes

16.0

Yes

Yes

16.1

Yes

Yes

The Move element is supported as a parent of the Status element only when protocol version 14.0, 14.1, 16.0, or 16.1 is used.