Log the Status of the Update Process
Use the deviceClass parameter to indicate the type of device for which status log updates are requested. The following values are available:
• | client—indicates a standalone device (this can also be an anonymous device) |
• | server—indicates either a Cloud License Server or a Local License Server |
• | served—indicates a served device. |
If deviceClass is not specified, client is the default value.
Item |
Description |
URI |
/uai/2.0/updates/statusLog |
Method |
POST |
Query parameters |
statusLogRequest |
Request body |
{ "deviceClass": "string", "id": "string", "idType": "string", "language": 0, "packageId": "string", "platform": "string", "publisherName": "string", "statusCode": 0, "statusReason": "string", "timeStamp": "string", "updateId": "string", "updateName": "string" } |
Response codes |
200: Not used 202: Asynchronous request. Use the URL returned to poll for a response. The response will indicate whether the request succeeded. |
Sample Response
If the request has been accepted (status 202), a URL including a polling ID to poll for completion of the update process is returned:
{
"url": "string"
}