Retrieve Business Views
get
/OracleBAMREST/api/projects/{projectname}/businessviews
Retrieves list of business views pertaining to a given Project.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
200 Response
Success
Example Response (application/json)
{
"items":[
{
"name":"Chart4ProcessStatusv1",
"displayName":"ProcessStatus_BV",
"isActive":false,
"links":[
{
"rel":"self",
"href":"http://example.com:7001/OracleBAMREST/api/projects/BAMFramework/businessviews/Chart4ProcessStatusv1"
}
]
},
{
"name":"TransactionSummary_Received_DRL_BV",
"displayName":"TransactionSummary_Received_DRL_BV",
"isActive":false,
"links":[
{
"rel":"self",
"href":"http://example.com:7001/OracleBAMREST/api/projects/BAMFramework/businessviews/TransactionSummary_Received_DRL_BV"
}
]
}
],
"links":[
{
"rel":"self",
"href":"http://example.com:7001/OracleBAMREST/api/projects/BAMFramework/businessviews"
}
]
}
Examples
The following example shows how to view aggregated item by submitting GUID in GET request on the REST resource using cURL.
curl -i -X GET https://<hostname>/content/management/api/v1/items/ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef/aggregate
Example: Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Cache-Control: max-age=0 Content-Length: 1399 Content-Type: application/json Date: Tue, 03 Jan 2017 11:29:25 GMT Etag: "220769d651caa39b6362cd1243348c8e1a59a70051d1809933f32856c3f51fe1" Server: Apache-Coyote/1.1 X-XSS-Protection: 1 x-content-type-options: nosniff
Example: Response Body
The following is an example of the response returned in JSON format. It shows aggregated items by GUID: ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef.
{ "ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef": { "id": "ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef", "Year": 2015, "Model": "BMW Z4", "updatedby": "userName", "description": "BMW model description", "link": { "href": "https://<hostname>/content/management/api/v1/items/ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef", "rel": "assetReference", "templated": false, "method": "GET", "profile": "", "mediaType": "" }, "name": "BMW", "createdby": "userName", "createddate": { "value": "2017-01-03T09:48:56.110Z", "timezone": "UTC", "description": "" }, "updateddate": { "value": "2017-01-03T10:02:21.360Z", "timezone": "UTC", "description": "" }, "type": "ModelType" }, "start": "ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef", "links": [ { "href": "https://<hostname>/content/management/api/v1/items/ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef/aggregate", "rel": "self", "templated": false, "method": "GET", "profile": "", "mediaType": "" }, { "href": "https://<hostname>/content/management/api/v1/items/ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef/aggregate", "rel": "canonical", "templated": false, "method": "GET", "profile": "", "mediaType": "" }, { "href": "https://<hostname>/content/management/api/v1/metadata-catalog/items", "rel": "describedby", "templated": false, "method": "GET", "profile": "", "mediaType": "application/schema+json" } ] }