Get Task By Id

Get Task By Id

Get A Task

Request
URI
GET
https://{api_host}/hybridity/api//ztp/tasks/{taskId}
COPY
Path Parameters
string
taskId
Required

Task ID


Authentication
This operation uses the following authentication methods.
Responses
200

Ok

Returns task of type(s) application/json
{
    "subTasks": [
        "task Object"
    ],
    "name": "string",
    "type": "string",
    "taskId": "string",
    "status": "string",
    "startTime": 0,
    "endTime": 0,
    "progressInPercentage": 0,
    "statusMessage": "string"
}
array of task
subTasks
Optional

subTasks

string
name
Optional

name

string
type
Optional

type

string
taskId
Optional

taskId

string
status
Optional

status

integer
startTime
Optional

startTime

integer
endTime
Optional

endTime

integer
progressInPercentage
Optional

progressInPercentage

string
statusMessage
Optional

statusMessage


400

Bad Request

Returns response of type(s) application/json
{
    "warnings": [
        {
            "message": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

500

Internal Server Error

Returns response of type(s) application/json
{
    "warnings": [
        {
            "message": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors