Generate study design reports
post
/ec-designer-svc/rest/v2.0/report/{reportName}
Retrieves study design related data in paginated format based on a given report name and the filters applied. Protected under the right StudyDesignReportPost.
Request
Path Parameters
-
reportName(required): string
The report section name
Query Parameters
-
studyId: string(uuid)
Study ID. Example: F054C951EB74443C93716CA714AB686E
Supported Media Types
- application/json
Root Schema : SearchSpecs
Type:
objectTitle:
SearchSpecsRequest body passing search specs like limit, offset and list of fields
Show Source
-
fieldSpecsList: array
fieldSpecsList
Field Specification List
-
limit: integer
(int32)
Minimum Value:
1Maximum Value:5000Maximum number of records to display per page.Example:50 -
offset: integer
(int32)
Minimum Value:
0Maximum Value:2147483647An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter.Example:5
Nested Schema : fieldSpecsList
Type:
arrayField Specification List
Show Source
-
Array of:
object Field
Contains field details.
Nested Schema : Field
Type:
objectContains field details.
Show Source
-
fieldName(required): string
Minimum Length:
0Maximum Length:255Field name. The acceptable values are : TENANTID, STUDYID, COUNTRY, SITEID, INVID, INVNAM, USUBJID, SCRNID, SUBJID, VISITNUM, VISIT, UNSCHED, SVSTDTC, DOMAIN, LAB ID, LAB NAME, REPEATNUMBER, SREPEATID, SREPEATNUMBER, ENTERED BY, ENTERED DATE, LAST CHANGED BY, LAST CHANGED DATE etc.Example:siteIds or dateRange -
fieldSequence: integer
(int32)
Field sequenceExample:
1 -
fieldType(required): string
Minimum Length:
0Maximum Length:50Field type. The fields type can be : date-time, string, list, number etc.Example:list or date-time -
fieldValueList(required): array
fieldValueList
List of values for the Field
Nested Schema : fieldValueList
Type:
arrayList of values for the Field
Show Source
-
Array of:
string
List of values for the FieldExample:
["D5E16DD550CB4AD1B330E0D09B4B8F3F","A5E16DD550CB4AD1B330E0D09B4B8F3F"]
Example:
[
"D5E16DD550CB4AD1B330E0D09B4B8F3F",
"A5E16DD550CB4AD1B330E0D09B4B8F3F"
]Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : PaginatedResponseDto
Type:
objectTitle:
PaginatedResponseDtoPaginated Response Object for report APIs.
Show Source
-
columns: array
columns
Names of report columns in the result set
-
count: integer
(int32)
Total count of resultExample:
5 -
data: array
data
Tabular data where each item is a row (array of string values in report column order)
-
hasMore: string
Attribute describes if result set has more recordsExample:
true -
limit: integer
(int32)
Maximum number of records to display per page.Example:
5 -
offset: integer
(int32)
An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter.Example:
400 -
totalResults: integer
(int32)
Total number of entities in responseExample:
5
Nested Schema : columns
Type:
arrayNames of report columns in the result set
Show Source
-
Array of:
string
Names of report columns in the result setExample:
["Footer Message"]
Example:
[
"Footer Message"
]Nested Schema : data
Type:
arrayTabular data where each item is a row (array of string values in report column order)
Show Source
-
Array of:
array items
Tabular data where each item is a row (array of string values in report column order)
Nested Schema : items
Type:
arrayTabular data where each item is a row (array of string values in report column order)
Show Source
-
Array of:
string
Tabular data where each item is a row (array of string values in report column order)Example:
[]
400 Response
'studyId is a mandatory filter criteria', 'studyVersion is a mandatory filter criteria', 'Filter Criteria can not be empty', 'Invalid Offset', 'Invalid Limit', 'Missing Request Body'
Root Schema : DesignerResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectNested Schema : details
Type:
objectDetailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId500 Response
Error
Root Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : details
Type:
objectDetailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId