POST /Info/Cubes
URL Parameters
None.
Request Body Details
This service uses the following properties of the request body:
TYPE | Optional. This property can be cubes or subjectareas. If this property is cubes, the server sends information only about cubes. If this property is subjectareas, the server sends information only about subject areas. If this property is not specified, the server sends information about both cubes and subject areas. |
BASECUBE | Optional. If specified, this property should equal the logical name of a cube. In this case, the server sends information only about cubes and subject areas based on this cube. |
Example Request
-
Request Method:
POST
-
Request URL:
http://localhost:57772/api/deepsee/v1/Info/Cubes
For comments on the possible forms of the URL, see “Introduction to the DeepSee REST API” in the chapter “Introduction and Samples.”
-
Request Body:
{"BASECUBE":"patients"}
Example Response
{
"Info":
{"Error":"","Type":"all","BaseCube":"patients"},
"Result":
{"Cubes":[
{"name":"AsthmaPatients","displayName":"AsthmaPatients","modTime":"2016-11-14 20:49:14","type":"subjectArea"},
{"name":"DemoMDX","displayName":"DemoMDX","modTime":"2016-11-14 20:49:14","type":"subjectArea"},
{"name":"YoungPatients","displayName":"YoungPatients","modTime":"2016-11-14 20:49:14","type":"subjectArea"}
]
}
}
In the response object, the Result property contains a property called Cubes, which contains an array of objects, one for each cube or subject area. In these objects, the type property indicates whether the item is a cube or a subject area.
For information that applies to all response objects, see the discussion at the start of this reference.