Problem history REST API

Use this REST API to view the history of a problem.

Show all problems history

Table 1. Show all problems history
REST API information Value Description
URI /admin/resources/problem_history  
Method GET  
Returns 200 Returns all problems history.
404 The problem was not found.
500 The system encountered an internal error while processing the request.

Returns the history of a problem.

You can use optional parameters to modify the response from GET calls. For more information, see Custom responses from GET calls.

Response body

{
    "id": "/admin/resources/problem_history/c0da0c63-2243-46c5-bf59-68acdbfb86bc",
    "created_time_raw": 1392934713900,
    "category": "Starting call home",
    "problems": "/admin/resources/problems/874e7481-af18-4153-88ee-83270cd712ff",
    "updated_time_raw": 1392934713900,
    "description": null,
    "isas_rn": 1,
    "created_time": "Thu 20 Feb 2014 22:18:33.900 UTC",
    "updated_time": "Thu 20 Feb 2014 22:18:33.900 UTC",
    "version": "1.2.0.0"
}
id
The problem ID.
created_time_raw
The time, in raw format, that the problem was created.
category
The problem category.
problems
The ID of the problem that this problem_history object is associated with.
updated_time_raw
The time, in raw format, that the problem was last updated.
description
The problem description.
created_time
The time that the problem was created.
updated_time
The time that the problem was last updated.
version
The Cloud Pak System System version.

Show history for a specific problem

Table 2. Show history for a specific problem
REST API information Value Description
URI /admin/resources/problem_history?problems={id}  
Method GET  
Returns 200 The problem history was returned.
404 The problem was not found.
500 The system encountered an internal error while processing the request.

Returns the history of a single problem identified by {id}.

You can use optional parameters to modify the response from GET calls. For more information, see Custom responses from GET calls.