Generate a report based on the path parameter
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.
Rights: DataCaptureSubjectGet or SubjectDataCTMSReportPost or SubjectDataClassificationGet.
Rights: DataCaptureSubjectGet or SubjectDataCTMSReportPost or SubjectDataClassificationGet.
Request
Path Parameters
-
reportName(required): string
Name of the report to generate. Reports include: DC_SUBJECT_EVENTS, DC_SUBJECT_DATA, DC_SUBJECT_DATA_OPTION3, DC_SUBJECT_SETTINGS, DC_VISIT_SETTINGS, DC_SIGNATURE_CONFIGS_REPORT and DC_SIGNATURE_CONFIGS.
Query Parameters
-
fileType: string
File type for data extract
-
sessionToken: string(uuid)
Token to identify the session.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
fieldSpecsList: array
fieldSpecsList
-
limit: integer
(int32)
Minimum Value:
1Maximum Value:10000 -
offset: integer
(int32)
Minimum Value:
0Maximum Value:2147483647
Nested Schema : FieldSet
Type:
Show Source
object-
fieldName: string
Minimum Length:
0Maximum Length:255 -
fieldNameList: array
fieldNameList
-
fieldSequence: integer
(int32)
Minimum Value:
0 -
fieldType(required): string
Minimum Length:
0Maximum Length:50 -
fieldValueList: array
fieldValueList
-
fieldValueSets: array
fieldValueSets
Nested Schema : items
Type:
objectResponse
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array-
Array of:
object PaginatedResponseDto
Title:
PaginatedResponseDtoPaginated Response Object for report APIs.
Nested 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 result
-
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.
-
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
Nested Schema : columns
Type:
arrayNames of report columns in the result set.
Show Source
-
Array of:
string
Names of report columns in the result set.Example:
["UserName","UserId","SiteName","Role"]
Example:
[
"UserName",
"UserId",
"SiteName",
"Role"
]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).
Example:
[
[
"fiona.cobb@example.com",
"8571341A98694B82B8EB3EB901C88ACD",
"US-East",
"Rule Designer"
],
[
"lucas.james@example.com",
"225B79C982104415886DE02BC73C1E1E",
"US-West",
"Site User"
]
]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:
[["fiona.cobb@example.com","8571341A98694B82B8EB3EB901C88ACD","US-East","Rule Designer"],["lucas.james@example.com","225B79C982104415886DE02BC73C1E1E","US-West","Site User"]]
Example:
[
[
"fiona.cobb@example.com",
"8571341A98694B82B8EB3EB901C88ACD",
"US-East",
"Rule Designer"
],
[
"lucas.james@example.com",
"225B79C982104415886DE02BC73C1E1E",
"US-West",
"Site User"
]
]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: string
Detailed 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 -
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:
object