Get list of child tasks

  1. HTTP Request
  2. Query Parameters
  3. Responses
    1. Code 200
      1. Representation
      2. Fields
    2. Code 400
      1. Representation
      2. Fields
    3. Code 401
      1. Representation
      2. Fields
    4. Code 422
      1. Representation
      2. Fields

Get a list of child tasks for a given parent task id.

HTTP Request

GET https://courier.yandex.ru/vrs/api/v1/children\
?apikey={string}\
&parent_task_id={string}

Query Parameters

apikey *

string

API key.

parent_task_id *

string

Parent task id.

apikey *

string

API key.

parent_task_id *

string

Parent task id.

Responses

Code 200

Operation succeeded.

[
  {
    "added_at": number,
    "task_id": string
  }
]
Copied to clipboard

Representation

Collapse all
Expand all

Fields

added_at

number

Creation timestamp.

task_id

string

Task id.

added_at

number

Creation timestamp.

task_id

string

Task id.

Code 400

Apikey does not match the one specified in the task.

{
  "error": {
    "incident_id": string,
    "message": string
  }
}
Copied to clipboard

Representation

Collapse all
Expand all

Fields

error *

object

Error description.

error.incident_id

string

Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation.

error.message *

string

Human-readable error description.

error *

object

Error description.

error.incident_id

string

Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation.

error.message *

string

Human-readable error description.

Code 401

Missing apikey.

{
  "error": {
    "incident_id": string,
    "message": string
  }
}
Copied to clipboard

Representation

Collapse all
Expand all

Fields

error *

object

Error description.

error.incident_id

string

Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation.

error.message *

string

Human-readable error description.

error *

object

Error description.

error.incident_id

string

Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation.

error.message *

string

Human-readable error description.

Code 422

Parent task with a given id not found.

{
  "error": {
    "incident_id": string,
    "message": string
  }
}
Copied to clipboard

Representation

Collapse all
Expand all

Fields

error *

object

Error description.

error.incident_id

string

Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation.

error.message *

string

Human-readable error description.

error *

object

Error description.

error.incident_id

string

Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation.

error.message *

string

Human-readable error description.