appliance recovery restore job: get

See restore job progress/result.

Request:

HTTP request

GET https://{server}/rest/appliance/recovery/restore/job
No request parameters

Response:

HTTP Status Code: 200

Representations:

{
    "value"{
        "messages"[
            {
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            {
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            }
        ],
        "progress"1,
        "state""FAILED"
    }
}
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/appliance/recovery/restore/job" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value>
    <progress>1</progress>
    <state>FAILED</state>
    <messages-array>
      <array-item>
        <default_message>string</default_message>
        <id>string</id>
        <args-array>
          <array-item>string</array-item>
          <array-item>string</array-item>
        </args-array>
      </array-item>
      <array-item>
        <default_message>string</default_message>
        <id>string</id>
        <args-array>
          <array-item>string</array-item>
          <array-item>string</array-item>
        </args-array>
      </array-item>
    </messages-array>
  </value>
</ns0:Get-Result>

Response Type:

Name Type Description
bold = required
value restore_job_status RestoreJobStatus Structure.
value.state string process state

Defines state of backup/restore process Value is one of:
FAILED: Failed
INPROGRESS: In progress
NONE: Not started
SUCCEEDED: Completed successfully

value.messages localizable_message[] list of messages

value.messages[].id string id in message bundle

value.messages[].default_message string text in english

value.messages[].args string[] nested data

value.progress long percentage complete

Errors:

HTTP Status Code Type Description
500 error Generic error