2.2.2.14 ClientId

The ClientId element is a required child element of the Add element (section 2.2.2.2) in a Sync command request ([MS-ASCMD] section 2.2.1.21) and a required child element of the Attachment element (section 2.2.2.7) in a Sync command response. The ClientId element specifies a client-generated temporary identifier that links to the file that is being added as an attachment.

The ClientId element is a string data type, as specified in [MS-ASDTYPE] section 2.7.

The server will return the ClientId element along with the FileReference element (section 2.2.2.24.1) as child elements of the Attachment element in response to a Sync command request that adds an attachment either to a calendar item or to a draft email item.

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 [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

2.5

12.0

12.1

14.0

14.1

16.0

Yes

16.1

Yes