18.104.22.168 ServerTime Subrequest
This operation is used to retrieve the server time, which is expressed as the number of ticks (that is, the number of 100-nanosecond intervals) that have elapsed since 00:00:00, January 1, 0001. The server time SHOULD<38> be expressed in Coordinated Universal Time (UTC).
The protocol client sends a ServerTimeSubRequest message, which is of ServerTimeSubRequestType as specified in section 22.214.171.124. The protocol server responds with a ServerTimeSubResponse message, which is of type ServerTimeSubResponseType as specified in section 126.96.36.199. This is done as follows:
The protocol client prepares a request containing a URL for the file, a unique request token, and one or more SubRequest elements, as defined in section 188.8.131.52 and section 184.108.40.206. The SubRequest element is of type "ServerTime".
The protocol server receives the request and gets the server time information from the server. The requested server time information is prepared as a response and sent back to the protocol client.
The Response element is defined in section 220.127.116.11, and the SubResponse element is defined in section 18.104.22.168. The ServerTimeSubResponseDataType defines the type of the SubResponseData element that is sent in a server time SubResponse element. The ServerTimeSubResponseDataType is defined in section 22.214.171.124. The protocol server sends the server time as a ServerTime attribute in the ServerTimeSubResponseData element. The ServerTime attribute is defined in section 126.96.36.199.
The protocol returns results based on the following conditions:
If the processing of the ServerTime subrequest by the server fails to get the server time or encountered an unknown exception, the protocol server returns an error code value set to "SubRequestFail".
Otherwise, the protocol server sets the error code value to "Success" to indicate success in processing the ServerTime subrequest.