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": [
        null,
        null
    ],
    "name": "name",
    "startTime": 1,
    "progressInPercentage": 5,
    "endTime": 5,
    "type": "type",
    "taskId": "taskId",
    "statusMessage": "statusMessage",
    "status": "status"
}
array of task
subTasks
Optional

subTasks

string
name
Optional

name

string
type
Optional

type

string
taskId
Optional

taskId

string
status
Optional

status

integer As int64 As int64
startTime
Optional

startTime

integer As int64 As int64
endTime
Optional

endTime

integer
progressInPercentage
Optional

progressInPercentage

string
statusMessage
Optional

statusMessage


301

API endpoint has permanently moved.

Returns redirectResponse of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Bad Request

Returns response of type(s) application/json
{
    "warnings": [
        {
            "message": "message"
        },
        {
            "message": "message"
        }
    ],
    "errors": [
        {
            "code": "code",
            "message": "message"
        },
        {
            "code": "code",
            "message": "message"
        }
    ]
}
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": "message"
        },
        {
            "message": "message"
        }
    ],
    "errors": [
        {
            "code": "code",
            "message": "message"
        },
        {
            "code": "code",
            "message": "message"
        }
    ]
}
array of warning
warnings
Optional

warnings

array of error
errors
Optional

errors