• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. Common Parameters
  5. Task Request Result
  6. Responses (Task)

Responses (Task)

  • Normal response description

    Parameter

    Type

    Description

    job_id

    String

    Specifies the returned task ID after delivering the task. Users can query the task progress using this ID. For how to query the execution status of the task based on the task ID, see Task Status Management.

  • Abnormal response description

    Parameter

    Type

    Description

    error

    Dictionary data structure

    Specifies the returned error message when an error occurs. For details, see Table 1.

    Table 1 error field structure

    Parameter

    Type

    Description

    message

    String

    Describes the error message when an error occurs.

    code

    String

    Specifies the error code when an error occurs.

  • Example response

    Normal response

    { 
        "job_id": "70a599e0-31e7-49b7-b260-868f441e862b", 
    } 

    Abnormal response

    { 
        "error": {"message": "", "code": XXX}
    }