Poll for Response to the Request for Updates

Poll for a response to the request for updates, using the polling ID returned by a POST to the /uai/2.0/updates API. It can be used repeatedly until a 200 response is received.

Poll for Response to the Request for Updates

Item

Description

URI

/uai/2.0/updates/{pollingId} 

Method

GET 

Query parameters

pollingId: ID returned in Find Available Updates service

Request body

N/A

Response codes

200: Processing complete.

202: Submitted request is still being processed. Use the URL returned to continue to poll for the response.

401: The request is unauthorized. This could be because a JWT was not found in the header, the token has expired, the signature is invalid, or a public key could not be identified (most commonly because the public key has not been uploaded to FlexNet Operations).

Sample Response

This is the data structure for a response (status 200) to the request for available updates. In case of an error, the structure will be populated with relevant error details:

{

   "error": {

      "arguments": "string",

      "key": "string",

      "message": "string"

   },

   "updateItems": [

      {

          "commandLine": "string",

          "description": "string",

          "expireDate": "string",

          "fromPackageId": "string",

          "languageCode": 0,

          "manifestURL": "string",

          "productName": "string",

          "startDate": "string",

          "title": "string",

          "toPackageId": "string",

          "updateId": "string",

          "updateName": "string"

      }

   ]

}

If the request is still being processed (status 202), a URL to poll for completion of the request is returned:

{

   "url": "string"

}