Status Log
Instructions for logging status updates are described in the following sections:
| • | Log the Status of the Update Process | 
| • | Poll for Completion of Status Change | 
Log the Status of the Update Process
| Item | Description | 
| URI | /uai/2.0/updates/statusLog | 
| Method | POST | 
| Query parameters | statusLogRequest | 
| Request body | { "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"
}
Poll for Completion of Status Change
Indicate the success or failure to log the status of an update's progress.
| Item | Description | 
| URI | |
| Method | GET | 
| Query parameters | pollingId | 
| 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 indicating the success or failure to log the status of an update's progress (status 200):
{
"arguments": "string",
"key": "string",
"message": "string"
}
If the request is still being processed (status 202), a URL to poll for completion of the status change is returned:
{
"url": "string"
}