v1.0
post
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/asynch/report/{reportName}
Asynchronous call to generates a report for the subject's data and events and to calculate projected dispensation date: DC_SUBJECT_EVENTS, DC_SUBJECT_DATA, DC_SUBJECT_DATA_OPTION3,DC_STUDY_SETTINGS,DC_SUBJECT_SETTINGS,DC_SDV_SETTINGS,DC_SDV_STRATEGIES,DC_ENROLLMENT_SETTINGS,DC_SCREEN_RAND_LIMIT_COUNTRY,DC_VISIT_SETTINGS_REPORT,DC_CUSTOM_ENROLLMENT_SETTINGS,DC_VISIT_SETTINGS,DC_PROJECTEDVISITDATE..
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: DC_SUBJECT_EVENTS, DC_SUBJECT_DATA, DC_SUBJECT_DATA_OPTION3,DC_STUDY_SETTINGS,DC_SUBJECT_SETTINGS,DC_SDV_SETTINGS,DC_SDV_STRATEGIES,DC_ENROLLMENT_SETTINGS,DC_SCREEN_RAND_LIMIT_COUNTRY,DC_VISIT_SETTINGS_REPORT,DC_CUSTOM_ENROLLMENT_SETTINGS,DC_VISIT_SETTINGS,DC_PROJECTEDVISITDATE.Example:
DC_SUBJECT_DATA -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
A1B2C3D4E5F647839ABCDEF012345678
Query Parameters
-
format: string
File type for data extract.File Type supported are CSV, HTML and PDFExample:
CSV -
reportid: string(uuid)
Unique report identifierExample:
1BC29B36F5D64B1B95F4BDBBCEA481BE
Supported Media Types
- application/json
Root Schema : schema
Type:
objectSpecifies fields for report generation
Show Source
-
extFieldSpecsList: object
extFieldSpecsList
Contains field details.
-
fieldSpecsList: object
fieldSpecsList
Contains field details.
Nested Schema : extFieldSpecsList
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 : fieldSpecsList
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"
]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"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
202 Response
Successful operation.
400 Response
Invalid 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: userId401 Response
User not authorized to generate the report.
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: userId500 Response
Internal server error.
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