3.1.5.3 Data Upload Message

The SQM client creates a data upload (dataupload) message to request that the SQM server accept the uploaded SQM session data as shown in Figure 4.

SQM Client to SQM Server data upload message

Figure 4: SQM Client to SQM Server data upload message

The SQM client uploads SQM session data by creating a data upload message and appending the SQM session data to the XML message in the HTTP upload. The complete XML message MAY contain more than one data upload request. There is a one-to-one mapping of data upload command request (req) elements to each SQM session binary data package as specified in section 2.2.2.12.

The data upload message MUST be preceded by a request to upload a message in order to obtain a valid data upload token as specified in section 2.2.2.16.2. The client checks the token expiration time provided in the approved response (section 2.2.3.6.2). The client does not send the data upload if the client system time has exceeded the token expiration time. The server rejects the upload if the token is malformed or expired.

The SQM client sends the data upload message to the SQM server or SQM proxy by using HTTP(S) PUT or POST.