There are two stages to interacting with the Electronic Updates web service:
1. Poll
The Electronic Updates web service should be periodically polled for a list of available data. This list includes MD5 hashes, which are used to compare the available data with the data already on your system.
This stage is performed using the Packages
method in an HTTP GET
request sent to https://ws.updates.qas.com/metadata/V2/packages
.
2. Download
If new data is available, download URIs can be requested from the Electronic Updates web service. Download requests should be made soon after they are received, as the URIs are time-sensitive.
This stage is performed using the FileLink
method in an HTTP POST
request sent to https://ws.updates.qas.com/metadata/V2/filelink
.
Communication with the Electronic Updates web service requires the following:
Communication with the Electronic Updates web service is performed using HTTP requests. Either XML or JSON representation can be used to communicate with the Electronic Updates web service – the content type must be specified in the HTTP request header. Responses will be sent in a format matching the specified content type.
Each request must include your Electronic Updates token. This stage is performed using the token method in an HTTP POST request sent to https://ws.updates.qas.com/metadata/V2/token
.
All data exchanged with the web service should be UTF-8 encoded.