/management/wls/{version}/jobs/deployment/id/{job-id}

This resource returns information about a deployment-related job.

The resource supports the following methods:

GET Method

The GET method on this resource returns information about the deployment-related job identified by the resource URL.

Roles

Administrator, Deployer, Operator, Monitor

Response Body

The response body returned includes a DeploymentJob entity that contains information about the specified deployment-related job.

This method can return the following links:

  • uri=/management/wls/{version}/jobs/deployment rel=parent

Response Codes

This method returns one of the Standard HTTP Status Codes.

Example

Example 1   Viewing a Deployment-Related Job

This example uses the GET method to obtain information about a deployment job.

Example Request

curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/wls/latest/jobs/deployment/id/11

Example Response

HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "parent",
        "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/jobs\/deployment"
    }],
    "item": {
        "operation": "deploy",
        "status": "in progress",
        "beginTime": 1390587139546,
        "name": "ADTR-11",
        "id": "11",
        "type": "deployment",
        "targets": [{
            "errors": [],
            "status": "in progress",
            "name": "myserver",
            "type": "server"
        }],
        "deploymentName": "airline",
        "description": "[Deployer:149117]deploy library airline on myserver."
    }
}