2.2.3.180 Sync
The Sync element is a required element in Sync command requests and responses that identifies the body of the HTTP POST as containing a Sync command (section 2.2.1.21). It is the top-level element in the XML stream.
All elements referenced in this section are defined in the AirSync namespace.
Command request/response |
Parent elements |
Child elements |
Data type |
Number allowed |
---|---|---|---|---|
Sync command request |
None |
Collections (section 2.2.3.31.2) Partial (section 2.2.3.131) Wait (section 2.2.3.198) HeartbeatInterval (section 2.2.3.88.2) WindowSize (section 2.2.3.199) |
container ([MS-ASDTYPE] section 2.2) |
1...1 (required) |
Sync command response |
None |
Collections (section 2.2.3.31.2) Limit (section 2.2.3.97) Status (section 2.2.3.177.17) |
container |
1...1 (required) |
The Limit element and Collections element are mutually exclusive in a Sync command response. That is, a Sync command response can include either a Limit element or a Collections element, but not both.
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 |