V3.0
post
/ec-designer-svc/rest/v3.0/report/{reportName}
Generates a designer report for the requested report type using the provided search criteria.
Request
Path Parameters
-
reportName(required): string
The report section nameExample:
DESIGNER_RANDOMIZATION_SECTION
Query Parameters
-
studyId: string(uuid)
Study ID (UUID, 32-character uppercase hexadecimal string). Optional.Example:
2F9A6C7E1B8F4D56A23C9F3A0C7D4E11
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. Each element describes a single filter applied to the report.
-
limit: integer
(int32)
Minimum Value:
1Maximum Value:5000Maximum number of records to display per page. Provide a value between 1 and 5000 inclusive. Negative numbers are not accepted.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. Provide a zero or positive value.Example:5
Nested Schema : fieldSpecsList
Type:
arrayField Specification List. Each element describes a single filter applied to the report.
Show Source
-
Array of:
object Field
Generic representation of a report filter. Each entry specifies the field to evaluate, its data type, and the values to use when filtering.
Example:
[
{
"fieldName":"ruleState",
"fieldType":"list",
"fieldSequence":1,
"fieldValueList":[
"approved"
]
}
]Nested Schema : Field
Type:
objectGeneric representation of a report filter. Each entry specifies the field to evaluate, its data type, and the values to use when filtering.
Show Source
-
fieldName(required): string
Minimum Length:
1Maximum Length:255Field name to evaluate. Examples include STUDYID, SITEID, ruleState, and dateRange.Example:ruleState -
fieldSequence: integer
(int32)
Minimum Value:
0Maximum Value:2147483647Sequence/order of the field. Provide a non-negative integer.Example:1 -
fieldType(required): string
Minimum Length:
4Maximum Length:16Allowed Values:[ "list", "date", "date-time", "number", "string", "boolean" ]Field value classification. Use list for enumerations, date for calendar values, date-time for timestamps, number for numeric filters, string for textual filters, or boolean for true/false.Example:list -
fieldValueList(required): array
fieldValueList
List of values for the Field. Provide GUIDs for identifier filters or literal values for textual filters.
Example:
{
"fieldName":"ruleState",
"fieldType":"list",
"fieldSequence":1,
"fieldValueList":[
"approved"
]
}Nested Schema : fieldValueList
Type:
arrayList of values for the Field. Provide GUIDs for identifier filters or literal values for textual filters.
Show Source
-
Array of:
string
Minimum Length:
1Maximum Length:256Example:publish
Example:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Examples
Back to Top
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
-
count: integer
(int32)
Minimum Value:
0Maximum Value:5000Total count of result Provide a non-negative integer.Example:5 -
data: array
data
Tabular data where each item is a row represented as an array of string values that align with the columns order.
-
hasMore: string
Minimum Length:
4Maximum Length:5Allowed Values:[ "true", "false" ]Attribute describes if result set has more records Returns "true" when additional records exist, otherwise "false".Example:true -
limit: integer
(int32)
Minimum Value:
1Maximum Value:5000Maximum number of records to display per page. Provide a value between 1 and 5000 inclusive.Example:5 -
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. Provide a zero or positive value.Example:400 -
totalResults: integer
(int32)
Minimum Value:
0Maximum Value:2147483647Total number of entities in response Provide a non-negative integer.Example:5
Nested Schema : columns
Type:
Show Source
array-
Array of:
string
Example:
["name","status"]
Example:
[
"name",
"status"
]Nested Schema : data
Type:
arrayTabular data where each item is a row represented as an array of string values that align with the columns order.
Show Source
-
Array of:
array items
Row values aligned with the `columns` list; each row must include between 1 and 50 string columns.
Example:
[
[
"38891F5E75BB4071BBF8ACE1F43BD1BD",
"Visit Start Date Validation",
"approved"
]
]Nested Schema : items
Type:
arrayRow values aligned with the `columns` list; each row must include between 1 and 50 string columns.
Show Source
-
Array of:
string
Row values aligned with the `columns` list; each row must include between 1 and 50 string columns.Example:
["38891F5E75BB4071BBF8ACE1F43BD1BD","Visit Start Date Validation","approved"]
Example:
[
"38891F5E75BB4071BBF8ACE1F43BD1BD",
"Visit Start Date Validation",
"approved"
]Examples
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'
Nested Schema : result
Type:
objectNested Schema : details
Type:
object500 Response
Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
Nested Schema : details
Type:
object