Get metdata for all reports based on query paramaters

get

/ec-reporting-svc/rest/v1.0/reportmetadata

Retrieves report details, filter specifications and last 10 generated jobs for a all reports based on the given query parameters. Right: ReportingGet.

Request

Query Parameters
  • Mode of the study. Accepts test, active, or training.
  • ID of the study for which you want to get the metadata. Metadata for tenant reports such as HSL report etc can be viewed by making study id as null.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ReportMetadataStatusContainer
Type: object
Show Source
Nested Schema : fieldSpecsList
Type: array
Show Source
Nested Schema : reportRunStatusList
Type: array
Show Source
Nested Schema : FieldSpec
Type: object
Show Source
Nested Schema : ReportRunStatus
Type: object
Show Source

400 Response

ID does not exist
Body ()
Root Schema : BaseResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.

404 Response

User not authorized to download the report.
Body ()
Root Schema : BaseResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top