GET /task/{id}

Operation:
GET /task/{id}
Description:
Retrieve a task.
Since:
0.9
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
TaskType

Produce media type(s):
application/vnd.vmware.vcloud.task+xml
Output type:
TaskType
Examples
Request
HTTP 1.1
GET /api/task/8d47a40c-9cf1-4f20-9d98-13f3e71ae469

Headers:
x-vcloud-authorization: 5ZhjZGZh8wxA7Pur0o1M1vs+qc45VLUbCArT6/V45/0=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 1325
Content-Type: application/vnd.vmware.vcloud.task+xml; version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?>
<Task
    xmlns="http://www.vmware.com/vcloud/v1.5"
    status="running"
    startTime="2013-04-01T11:17:51.600+03:00"
    serviceNamespace="com.vmware.vcloud"
    operationName="systemUpdateAmqpTruststore"
    operation="Updating AMQP truststore Organization (a93c9db9-7471-3192-8d09-a8f7eeda85f9)"
    expiryTime="2013-06-30T11:17:51.600+03:00"
    cancelRequested="false"
    name="task"
    id="urn:vcloud:task:8d47a40c-9cf1-4f20-9d98-13f3e71ae469"
    type="application/vnd.vmware.vcloud.task+xml"
    href="https://vcloud.example.com/api/task/8d47a40c-9cf1-4f20-9d98-13f3e71ae469"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        rel="task:cancel"
        href="https://vcloud.example.com/api/task/8d47a40c-9cf1-4f20-9d98-13f3e71ae469/action/cancel"/>
    <Owner
        type="application/vnd.vmware.admin.organization+xml"
        name=""
        href="https://vcloud.example.com/api/admin/org/a93c9db9-7471-3192-8d09-a8f7eeda85f9"/>
    <User
        type="application/vnd.vmware.admin.user+xml"
        name="admin"
        href="https://vcloud.example.com/api/admin/user/0fcab391-6dbe-47ff-aa5d-75d03c027b8a"/>
    <Organization
        type="application/vnd.vmware.vcloud.org+xml"
        name="System"
        href="https://vcloud.example.com/api/org/a93c9db9-7471-3192-8d09-a8f7eeda85f9"/>
    <Details/>
</Task>