[Deprecated]: Generate a report based on the path parameter
post
/ec-dc-svc/rest/v2.0/studies/{studyId}/{mode}/report/{reportName}
Deprecated: Generates the following reports: DC_SUBJECT_EVENTS, DC_SUBJECT_DATA, DC_SUBJECT_DATA_OPTION3, DC_SUBJECT_SETTINGS, and DC_VISIT_SETTINGS. Rights: DataCaptureSubjectGet and SubjectDataClassificationGet. API has been deprecated and moved to DIS (Data Integration Service), Path: /ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/report/{reportName}
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
reportName(required): string
Name of the report to generate. Reports include: DC_SUBJECT_EVENTS, DC_SUBJECT_DATA, DC_SUBJECT_DATA_OPTION3, DC_SUBJECT_SETTINGS, and DC_VISIT_SETTINGS.
-
studyId(required): string
ID of the study for which you want to generate a report.
Query Parameters
-
fileType: string
File type for data extract
-
sessionToken(required): string(uuid)
Token to identify the session.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Request body passing search specs like limit, offset and list of fields
Show Source
-
fieldSpecsList: array
fieldSpecsList
-
limit: integer
(int32)
Minimum Value:
1
Maximum Value:5000
Maximum number of records to display per page.Example:50
-
offset: integer
(int32)
Minimum Value:
0
Maximum Value:2147483647
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. Offset is affected by the value of the order parameterExample:5
Nested Schema : fieldSpecsList
Type:
Show Source
array
-
Array of:
object Field
Contains field details.
Nested Schema : Field
Type:
object
Contains field details.
Show Source
-
fieldName(required): string
Minimum Length:
0
Maximum Length:255
Field nameExample:siteIds
-
fieldSequence: integer
(int32)
Minimum Value:
0
Field sequenceExample:1
-
fieldType(required): string
Minimum Length:
0
Maximum Length:50
Field typeExample:list
-
fieldValueList(required): array
fieldValueList
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array
-
Array of:
object PaginatedResponseDto
Paginated Response Object for report APIs.
Nested Schema : PaginatedResponseDto
Type:
object
Paginated Response Object for report APIs.
Show Source
-
columns: array
columns
-
count: integer
(int32)
Total count of result
-
data: array
data
-
hasMore: string
Attribute describes if result set has more recordsExample:
true
-
limit: integer
(int32)
Maximum number of records to display per page.
-
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. Offset is affected by the value of the order parameterExample:
400
-
totalResults: integer
(int32)
Total number of entities in response
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object