ビジネス・ビュー・データの取得

get

/OracleBAMREST/api/projects/{projectname}/businessviews/{businessviewname}/data

特定のビジネス・ビューに特有のビジネス問合せを実行して得られるレコードを取得します。

リクエスト

この操作にはリクエスト・パラメータはありません。

先頭に戻る

レスポンス

サポートされているメディア・タイプ

200 レスポンス

成功
本文
レスポンスの例(application/json)
{
    "COUNTEventTypeCode_Recv":[
        {
            "x":"1-In Flight",
            "y":"34"
        },
        {
            "x":"2-Discarded",
            "y":"18"
        },
        {
            "x":"3-Delivered",
            "y":"244"
        },
        {
            "x":"4-Failed",
            "y":"34"
        }
    ]
}
先頭に戻る

次の例は、cURLを使用してRESTリソースにGETリクエストを発行して、GUID別に一括で項目を参照する方法を示しています。

curl -i -X GET https://<hostname>/content/management/api/v1/items/bulk?guids= ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef,ModelType_core_b446f89e-1516-468f-9b7a-f483613641a2

例: レスポンス・ヘッダー

次にレスポンス・ヘッダーの例を示します。

HTTP/1.1 200 OK
Cache-Control: max-age=0
Content-Length: 1750
Content-Type: application/json
Date: Tue, 03 Jan 2017 10:30:12 GMT
Etag: "ba12800a55d800aa095e45c5a7d8e6a5487b72727b4753febd81fd755757e8d7"
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_b446f89e-1516-468f-9b7a-f483613641a2

        {
        "items":
        {
            "ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef":
            {
                "id": "ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef",
                "type": "ModelType",
                "name": "BMW",
                "description": "BMW model description",
                "createdby": "userName",
                "createddate":
                {
                    "value": "2017-01-03T09:48:56.110Z",
                    "timezone": "UTC",
                    "description": ""
                },
                "updatedby": "userName",
                "updateddate":
                {
                    "value": "2017-01-03T10:02:21.360Z",
                    "timezone": "UTC",
                    "description": ""
                },
                "links": null,
                "data" : {
								"Model": "BMW Z4"
								"Year": 2015,
                		}
            },
            "ModelType_core_b446f89e-1516-468f-9b7a-f483613641a2":
            {
                "id": "ModelType_core_b446f89e-1516-468f-9b7a-f483613641a2",
                "type": "ModelType",
                "name": "BMW",
                "description": "BMW model description",
                "createdby": "userName",
                "createddate":
                {
                    "value": "2017-01-03T10:28:28.690Z",
                    "timezone": "UTC",
                    "description": ""
                },
                "updatedby": "userName",
                "updateddate":
                {
                    "value": "2017-01-03T10:28:28.690Z",
                    "timezone": "UTC",
                    "description": ""
                },
                "links": null,
                "data" : {
								"Model": "BMW 3-Series"
								"Year": 2015,
                		}
            }
        },
        "links":
        [
            {
                "href": "https://<hostname>/content/management/api/v1/items/bulk?guids=ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef,ModelType_core_b446f89e-1516-468f-9b7a-f483613641a2",
                "rel": "self",
                "templated": false,
                "method": "GET",
                "profile": "",
                "mediaType": ""
            },
            {
                "href": "https://<hostname>/content/management/api/v1/items/bulk?guids=ModelType_core_65c6becf-08d1-4755-9d5e-cecd3eef34ef,ModelType_core_b446f89e-1516-468f-9b7a-f483613641a2",
                "rel": "canonical",
                "templated": false,
                "method": "GET",
                "profile": "",
                "mediaType": ""
            },
            {
                "href": "https://<hostname>/content/management/api/v1/metadata-catalog/items/bulk",
                "rel": "describedby",
                "templated": false,
                "method": "GET",
                "profile": "",
                "mediaType": "application/schema+json"
            }
        ]
    }
先頭に戻る