This endpoint returns a list of tenant created reports on a platform. The returned reports will be determined by the permissions/access of the API client.
GET
Request
Url Params
tennatId | int |
Authorization
The following authorization header is required. The authorisation header should be set to a 'Bearer Token' type
Token |
Response
The response will return an array of 0 to n JSON objects. Each JSON object in the array contains the following properties:
id | int | the id of the report |
tenantId | int | the id of the tenant |
name | string | the name of the report |
description | string | description of the report |
isMergeReportSource | bool | is the report used as source in any merge report. |
reoprtType | enum | is the report type report or merge report. value 0 for report and 1 for merge report. |
isDeleted | bool | is the report already deleted |
Permissions
Examples
C# Example
var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://{platform API url}/api/tenant/reportbuilder/list/get/{tenantId}"); request.Headers.Add("Authorization", "Bearer {access token}"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync());
cURL Example
curl --location 'https://{platform API url}/api/tenant/reportbuilder/list/get/{tenantId}%filter=isDeleted=true' \ --header 'Authorization: Bearer {access token}'