リスト・パラメータの取得。プロジェクトに特有のリスト・パラメータを取得します。
get
/OracleBAMREST/api/projects/{projectname}/queries/businessqueries/parameters/listparameters
リクエスト
この操作にはリクエスト・パラメータはありません。
レスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200 レスポンス
成功
レスポンスの例(application/json)
{
"items":[
{
"id":"/project/Sample2/parameter/ListParam1",
"name":"ListParam1",
"displayName":"ListParam1",
"links":[
{
"rel":"self",
"href":"http://example.com:7001/OracleBAMREST/api/projects/Sample2/parameters/listparameters/ListParam1"
}
]
}
],
"links":[
{
"rel":"self",
"href":"http://example.com:7001/OracleBAMREST/api/projects/Sample2/parameters/listparameters"
}
]
}
例
次の例は、cURLを使用してRESTリソースにGETリクエストを発行して、集計タイプを参照する方法を示しています。
curl -i -X GET https://<hostname>/content/management/api/v1/aggregates/types/ModelAggregateType
例: レスポンス・ヘッダー
次にレスポンス・ヘッダーの例を示します。
HTTP/1.1 200 OK Cache-Control: max-age=0 Content-Length: 945 Content-Type: application/json Date: Tue, 27 Dec 2016 10:37:59 GMT Etag: " aa6c3797a837a2a8f98b3b6c5a2801c1a2905734fa01eea302bc667958b6f6e5" Server: Apache-Coyote/1.1 X-XSS-Protection: 1 x-content-type-options: nosniff
例: レスポンス本文
JSON形式で返されるレスポンスの例を次に示します。タイプ名ModelAggregateTypeの詳細を表示します。
{
"id": "CoreDef:1483957090201",
"name": "ModelAggregateType",
"description": "Aggregate Type Model",
"createdby": "userName",
"createddate": {
"value": "2017-01-10T12:22:49.277Z",
"timezone": "UTC",
"description": ""
},
"updatedby": "username",
"updateddate": {
"value": "2017-01-10T12:22:49.277Z",
"timezone": "UTC",
"description": ""
},
"fields": [
{
"id": "CoreAttribute:1483957090194",
"name": "ModelAggr",
"description": "Model of the car",
"datatype": "text",
"required": true,
"valuecount": "single",
"properties": null,
"settings": null,
"link": null
},
{
"id": "CoreAttribute:1483957090187",
"name": "YearAggr",
"description": "Year of the car",
"datatype": "number",
"required": true,
"valuecount": "single",
"properties": null,
"settings": null,
"link": null
}
],
"properties": null,
"links": [
{
"href": "http://<hostname>/content/management/api/v1/aggregates/types/ModelAggregateType",
"rel": "self",
"templated": false,
"method": "GET",
"profile": "",
"mediaType": ""
},
{
"href": "http://<hostname>/content/management/api/v1/aggregates/types/ModelAggregateType",
"rel": "canonical",
"templated": false,
"method": "GET",
"profile": "",
"mediaType": ""
},
{
"href": "http://<hostname>/content/management/api/v1/metadata-catalog/aggregates/types/ModelAggregateType",
"rel": "describedby",
"templated": false,
"method": "GET",
"profile": "",
"mediaType": "application/schema+json"
}
]
}