Retrieve Projects

get

/OracleBAMREST/api/projects

Retrieves list of Projects in BAM.

Request

Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Success
Body
Example Response (application/json)
{
    "items":[
        {
            "queries":{
            },
            "displayName":"Process Analytics",
            "id":"/project/BPMAnalytics",
            "alerts":{
            },
            "dataObjects":{
            },
            "name":"BPMAnalytics",
            "businessViews":{
            },
            "links":[
                {
                    "rel":"self",
                    "href":"http://example.com:7001/OracleBAMREST/api/projects/BPMAnalytics"
                }
            ],
            "dashboards":{
            },
            "parameters":{
            }
        }
    ],
    "links":[
        {
            "rel":"self",
            "href":"http://example.com:7001/OracleBAMREST/api/projects/"
        }
    ]
}
Back to Top

Examples

The following example shows how to add a new field by submitting a POST request on the REST resource using cURL.

curl -i -X POST -d @createfield.json -H "Content-Type:application/json" https://<hostname>/content/management/api/v1/fields

Example: Response Header

The following shows an example of the response header.

HTTP/1.1 201 Created

Cache-Control: max-age=0

Content-Length: 854

Content-Type: application/json

Date: Tue, 27 Dec 2016 10:37:59 GMT

Etag: "f90e00053b9ae5ad83a88b57cfd37df48274b9f60b0efed667c2d699f6ff07fe"

Server: Apache-Coyote/1.1

X-XSS-Protection: 1

x-content-type-options: nosniff

Example: Response Body

The following example shows the contents of the response body in JSON format:

{

"name": "Model",

"description": "Model description",

"datatype": "text",

"valuecount": "single"

}

Back to Top