v1.0
post
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/report/{reportName}
Generates the following reports: DC_SUBJECT_VISIT, DC_SUBJECT_DATA, DC_SUBJECT_EVENTS, DC_SUBJECT_SETTINGS, DC_STUDY_SETTINGS, DC_SDV_SETTINGS, DC_SDV_STRATEGIES, DC_VISIT_SETTINGS, DC_GENERAL_SETTINGS, DC_ENROLLMENT_SETTINGS, DC_SCREEN_RAND_LIMIT_COUNTRY, DC_VISIT_SETTINGS_REPORT, DC_CUSTOM_ENROLLMENT_SETTINGS, DC_SITE_SETTINGS, DC_COUNTRY_SETTINGS, DC_GENERAL_SETTINGS_AUDIT, DC_COUNTRY_SETTINGS_AUDIT, SUBJECT_DATA_CTMS, DC_SUBJECT_DATA_EXTRACT, DC_SIGNATURE_CONFIGS_REPORT and DC_SIGNATURE_CONFIGS.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
active -
reportName(required): string
Name of the report to generate. Reports include: DC_SUBJECT_VISIT, DC_SUBJECT_DATA, DC_SUBJECT_EVENTS, DC_SUBJECT_SETTINGS, DC_STUDY_SETTINGS, DC_SDV_SETTINGS, DC_SDV_STRATEGIES, DC_VISIT_SETTINGS, DC_GENERAL_SETTINGS, DC_ENROLLMENT_SETTINGS, DC_SCREEN_RAND_LIMIT_COUNTRY, DC_VISIT_SETTINGS_REPORT, DC_CUSTOM_ENROLLMENT_SETTINGS, DC_SITE_SETTINGS, DC_COUNTRY_SETTINGS, DC_GENERAL_SETTINGS_AUDIT, DC_COUNTRY_SETTINGS_AUDIT, SUBJECT_DATA_CTMS, DC_SUBJECT_DATA_EXTRACT, DC_SIGNATURE_CONFIGS_REPORT and DC_SIGNATURE_CONFIGS.Example:
DC_SUBJECT_DATA -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
A1B2C3D4E5F647839ABCDEF012345678
Query Parameters
-
fileType: string
File type for data extract.File Type supported are CSV, HTML and PDFExample:
CSV -
sessionToken: string(uuid)
Token to identify the session.Example:
699EF3745FC545589F186D2198F3C65E
Supported Media Types
- application/json
Root Schema : schema
Type:
objectSearch specification wrapper including pagination and a list of field filters for reporting queries.
Show Source
-
fieldSpecsList: array
fieldSpecsList
List of field specifications used to filter or select data
-
limit: integer
(int32)
Minimum Value:
1Maximum Value:10000Maximum number of records to display per page.Example:10000 -
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:0
Nested Schema : fieldSpecsList
Type:
arrayList of field specifications used to filter or select data
Show Source
-
Array of:
object FieldSet
Defines a search field and optional lists of values for reporting queries.
Example:
[
{
"fieldName":"VisitName",
"fieldType":"STRING",
"fieldSequence":1,
"fieldValueList":[
"SCREENED",
"ENROLLED"
]
}
]Nested Schema : FieldSet
Type:
objectDefines a search field and optional lists of values for reporting queries.
Show Source
-
fieldName: string
Minimum Length:
0Maximum Length:255Name of the field.Example:studyVersion -
fieldNameList: array
fieldNameList
List of field names when specifying multiple fields together
-
fieldSequence: integer
(int32)
Minimum Value:
0Sequence/order of the field.Example:1 -
fieldType(required): string
Minimum Length:
0Maximum Length:50Type of the field.Example:list -
fieldValueList: array
fieldValueList
List of values used for filtering the field
-
fieldValueSets: array
fieldValueSets
List of value sets corresponding to fieldNameList order. Each inner list contains values or operators as applicable.
Example:
[
{
"fieldName":"VisitName",
"fieldType":"STRING",
"fieldSequence":1,
"fieldValueList":[
"SCREENED",
"ENROLLED"
]
}
]Nested Schema : fieldNameList
Type:
arrayList of field names when specifying multiple fields together
Show Source
-
Array of:
string
List of field names when specifying multiple fields togetherExample:
["dataElementId","versionStart"]
Example:
[
"dataElementId",
"versionStart"
]Nested Schema : fieldValueList
Type:
arrayList of values used for filtering the field
Show Source
-
Array of:
string
List of values used for filtering the fieldExample:
[1.0.0.1]
Example:
[1.0.0.1]Nested Schema : fieldValueSets
Type:
arrayList of value sets corresponding to fieldNameList order. Each inner list contains values or operators as applicable.
Show Source
-
Array of:
array items
List of value sets corresponding to fieldNameList order. Each inner list contains values or operators as applicable.
Example:
[
[
"299BC76CF0F943E6BAC1D209BC3D1CDC",
"2018-11-21 11:45:31.854"
]
]Nested Schema : items
Type:
arrayList of value sets corresponding to fieldNameList order. Each inner list contains values or operators as applicable.
Show Source
-
Array of:
object items
List of value sets corresponding to fieldNameList order. Each inner list contains values or operators as applicable.
Example:
[
[
"299BC76CF0F943E6BAC1D209BC3D1CDC",
"2018-11-21 11:45:31.854"
]
]Nested Schema : items
Type:
objectList of value sets corresponding to fieldNameList order. Each inner list contains values or operators as applicable.
Example:
[
[
"299BC76CF0F943E6BAC1D209BC3D1CDC",
"2018-11-21 11:45:31.854"
]
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
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:
[]
Examples
400 Response
Bad request.
Root Schema : RestResponse
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: userId