2.2.3.186.3 Type (FolderSync)
The Type element is a required child element of the Update element and the Add element in FolderSync command responses that specifies the type of the folder that was updated (renamed or moved) or added on the server.
All elements referenced in this section are defined in the FolderHierarchy namespace.
Command request/response |
Parent elements |
Child elements |
Data type |
Number allowed |
---|---|---|---|---|
FolderSync command response (section 2.2.1.5) |
Update (section 2.2.3.187) |
None |
integer ([MS-ASDTYPE] section 2.6) |
1…1 (required) |
FolderSync command response |
Add (section 2.2.3.7.1) |
None |
integer |
1…1 (required) |
Each Update element and each Add element included in a FolderSync response MUST contain one Type element.
The folder type values are listed in the following table.
Value |
Meaning |
---|---|
1 |
User-created folder (generic) |
2 |
Default Inbox folder |
3 |
Default Drafts folder |
4 |
Default Deleted Items folder |
5 |
Default Sent Items folder |
6 |
Default Outbox folder |
7 |
Default Tasks folder |
8 |
Default Calendar folder |
9 |
Default Contacts folder |
10 |
Default Notes folder |
11 |
Default Journal folder |
12 |
User-created Mail folder |
13 |
User-created Calendar folder |
14 |
User-created Contacts folder |
15 |
User-created Tasks folder |
16 |
User-created journal folder |
17 |
User-created Notes folder |
18 |
Unknown folder type |
19 |
Recipient information cache |
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 |
Yes |
12.0 |
Yes |
12.1 |
Yes |
14.0 |
Yes |
14.1 |
Yes |
16.0 |
Yes |
16.1 |
Yes |
The value 19 for the Type element is not supported when the protocol version 2.5, 12.0, or 12.1 is used.