Get Provisioned Instances

get

/api/v1.1/instances/{identityId}

Retrieves all provisioned instances.

Request

Path Parameters
identityId
Type: string
Required: true
Name of the identity domain for the Oracle Cloud Service account.
Query Parameters
status
Type: string
Required: true
Status of the Oracle SOA Service instance. Valid values include: Provisioning Not Started, Running, In Progress, Terminating, and Failed.

Response

Supported Media Types
  • application/json
  • text/html
200 Response
success
Body
Root Schema : GetInstanceInfoResponse
Type: object

Examples

The following example shows how to view information about all Oracle SOA Cloud Service instances by submitting a GET request on the REST resource using cURL. For more information, see Use cURL.

See also Exploring the Oracle SOA Cloud Service Console.

cURL Command

curl -i -X GET -u joe@example.com:Welcome1!  -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain
Note:: This example uses the URL prefix for the United States ( soacs). For information about the URL prefixes for other regions of the world, see Send Requests.

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Date: Fri, 22 Aug 2014 14:28:33 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following shows an example of the response body in JSON format. In this example, there are two service instances, My12cServer that is running 12c and My11gServer that is running 11g. Verbose output is not enabled.

{
"uri":"https:\/\/api-host/\/paas\/service\/soa\/api\/v1.1\/instances\/yourIdentityDomain",
"service_type":"soacs",
"implementation_version":"1.0",
"services" : [
    {
        "service_name":"My12cServer",
        "version":"12cR3",
        "wlsVersion":"12.1.3.0.4",
        "status":"Running",
        "error_status_desc": "",
        "compliance_status": "",
        "compliance_status_desc": "",
        "auto_update": "true",
        "description":"WebLogicEnterprise",
        "identity_domain":"ExampleIdentityDomain",
        "creation_time":"Wed Jul 23 15:36:57 GMT 2014",
        "last_modified_time":"Thu Jul 24 09:15:57 GMT 2014",
        "created_by":"joe@example.com",
        "service_uri":"https:\/\/api-host/\/paas\/service\/soa\/api\/v1.1\/instances\/yourIdentityDomain\/My12cServer"    
    },
    {
        "service_name":"My11gServer",
        "version":"11g",
        "wlsVersion":"10.3.6.0.9",
        "status":"Running",
        "description":"",
        "identity_domain":"ExampleIdentityDomain",
        "creation_time":"Tue Jul 22 18:11:41 GMT 2014",
        "last_modified_time":"Wed Jul 23 00:35:11 GMT 2014",
        "created_by":"joe@example.com",
        "service_uri":"https:\/\/api-host/\/paas\/service\/soa\/api\/v1.1\/instances\/yourIdentityDomain\/My11gServer"    
     }
]}

The following shows an example of the response body in JSON format with verbose output enabled.

{
"uri":"https:\/\/api-host/\/paas/\service\/soa\/api\/v1.1\/instances\/yourIdentityDomain?outputLevel=verbose",
"service_type":"soacs",
"implementation_version":"1.0",
"services" : [
    {
        "service_name":"My12cServer",
        "version":"12cR3",
        "wlsVersion":"12.1.3.0.4",
        "status":"Running",
        "error_status_desc": "",
        "compliance_status": "",
        "compliance_status_desc": "",
        "auto_update": "true",
        "description":"WebLogicEnterprise",
        "identity_domain":"ExampleIdentityDomain",
        "creation_time":"Wed Jul 23 15:36:57 GMT 2014",
        "last_modified_time":"Thu Jul 24 09:15:57 GMT 2014",
        "created_by":"joe@example.com",
        "service_uri":"https:\/\/api-host/\/paas\/service\/soa\/api\/v1.1\/instances\/yourIdentityDomain\/My12cServer",
        "domain_name" : "ExampleDomain",
        "domain_mode" : "PRODUCTION",
        "cluster_name" : "ExampleCluster",
        "num_nodes" : 3,
        "level" : "PAAS",
        "subscription_type" : "HOURLY",
        "edition" : "EE",
        "shape" : "oc3m",
        "otd_provisioned" : "yes",
        "otd_shape" : "oc3",
        "otd_storage_size": 43008,
        "service_components": [
            {
                "type": "JDK",
                "version": "1.7.0_76"
            },
            {
                "type": "OTD_JDK",
                "version": "1.7.0_76"
            },
            {
                "type": "OTD",
                "version": "11.1.1.7.0"
            },
            {
                "type": "WLS",
                "version": "12.1.3.0.4"
            }
        ],
        "creation_job_id" : "1",
        "deletion_job_id" : "0",
        "lifecycle_control_job_id": 273,
        "db_info" : "myDB:1521\/PDB1.exampleidentitydomain",
        "db_service_name" : "myDBService", 
        "num_ip_reservations" : 3,
        "wls_admin_url" : "https:\/\/192.0.2.0:7002\/console",
        "fmw_control_url" : "https:\/\/192.0.2.16:7002\/em",
        "otd_admin_url" : "https:\/\/192.0.2.23:8989",
        "sample_app_url": "https:\/\/192.1.2.3\/sample-app\/",
        "secure_content_url" : "https:\/\/192.0.2.3:8081",
        "content_url" : "https:\/\/192.0.4.5:8080",
        "wls_deployment_channel_port": 9001,
        "psm_plugin_version": "15.3.3-0-1507110315"   
    },
    {
        "service_name":"My11gServer",
        "version":"11g",
        "wlsVersion":"10.3.6.0.9",
        "status":"Running",
        "description":"",
        "identity_domain":"ExampleIdentityDomain",
        "creation_time":"Tue Jul 22 18:11:41 GMT 2014",
        "last_modified_time":"Wed Jul 23 00:35:11 GMT 2014",
        "created_by":"joe@example.com",
        "service_uri":"https:\/\/api-host/\/paas\/service\/soa\/api\/v1.1\/instances\/yourIdentityDomain\/My11gServer" ,        
        "domain_name" : "ExampleDomain",
        "domain_mode" : "PRODUCTION",
        "cluster_name" : "ExampleCluster",
        "num_nodes" : 3,
        "level" : "PAAS",
        "subscription_type" : "HOURLY",
        "edition" : "EE",
        "shape" : "oc3m",
        "otd_provisioned" : "yes",
        "otd_shape" : "oc3",
        "otd_storage_size": 43008,
        "service_components": [
            {
                "type": "JDK",
                "version": "1.7.0_76"
            },
            {
                "type": "OTD_JDK",
                "version": "1.7.0_76"
            },
            {
                "type": "OTD",
                "version": "11.1.1.7.0"
            },
            {
                "type": "WLS",
                "version": "12.1.3.0.4"
            }
        ],
        "creation_job_id" : "1",
        "deletion_job_id" : "0",
        "lifecycle_control_job_id": 236,
        "db_info" : "myDB:1521\/PDB1.exampleidentitydomain",
        "db_service_name" : "myDBService", 
        "num_ip_reservations" : 3,
        "wls_admin_url" : "https:\/\/192.1.2.0:7002\/console",
        "fmw_control_url" : "https:\/\/192.1.2.16:7002\/em",
        "otd_admin_url" : "https:\/\/192.0.2.23:8989",
        "sample_app_url": "https:\/\/192.1.2.3\/sample-app\/",
        "secure_content_url" : "https:\/\/192.1.2.3:8081",
        "content_url" : "https:\/\/192.1.4.5:8080",
        "wls_deployment_channel_port": 9001,
        "psm_plugin_version": "15.3.3-0-1507110315"  
   }
]}