ビジネス・ビューの取得
get
/OracleBAMREST/api/projects/{projectname}/businessviews
特定のプロジェクトに特有のビジネス・ビューのリストを取得します。
リクエスト
この操作にはリクエスト・パラメータはありません。
先頭に戻るレスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200 レスポンス
成功
レスポンスの例(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"
}
]
}
例
次の例は、cURLを使用してRESTリソースにGETリクエストのGUIDを発行して、集計項目を参照する方法を示しています。
curl -i -X GET https://<hostname>/content/management/api/v1/items/ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef/aggregate
例: レスポンス・ヘッダー
次にレスポンス・ヘッダーの例を示します。
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
例: レスポンス本文
JSON形式で返されるレスポンスの例を次に示します。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"
}
]
}