![]() |
REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets the information associated with a specific task.
The identifier of the task of interest
Use: Required
JSON Schema:
Object type: string
Task is not complete
Task is complete
Task does not exist
Unexpected error
GET https://1.2.3.4:8443/tasks/0
On return code 200
{
"finishTime": "",
"instance": "/tasks/22",
"responseUrl": "/tasks/22/response",
"sourceUrl": "/api/lunasa/hsms/151256/login",
"startTime": "2015-07-11T07:23:49Z",
"state": "Running",
"details": ""
}
On return code 303
{
"finishTime": "2015-07-11T07:23:54Z",
"instance": "/tasks/22",
"responseUrl": "/tasks/22/response",
"sourceUrl": "/api/lunasa/hsms/151256/login",
"startTime": "2015-07-11T07:23:49Z",
"state": "Finished",
"details": ""
}