V2.0
get
/ec-dc-svc/rest/v2.0/studies/{studyId}/{mode}/dataelements/formassociations/history/sourceForm/{sourceFormId}
Retrieves the audit history for a form association. The api response has additional fields like userId, versionStart, versionEnd, objectVersionNumber and softwareVersionNumber.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
active -
sourceFormId(required): string(uuid)
ID of the Source Form. The format should be UUID, 32-character uppercase hexadecimal stringExample:
40DB4EF4847849CCB24EFCCB71CDA436 -
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
9FCBB303F8D24A3FB7DABCACF7600629
Query Parameters
-
associatedFormId: string(uuid)
ID of the Associated Form. The format should be UUID, 32-character uppercase hexadecimal stringExample:
50DB4EF4847849CCB24EFCCB71CDA436 -
eventId(required): string(uuid)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
D803C898CCC6499693FE3D8D70FAF303 -
eventInstanceNum: integer(int64)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
sourceRepeatFormNumber: integer(int64)
Repeat Form Number of Source Form.Example:
1 -
sourceRepeatSequenceNumber: integer(int64)
Repeat Sequence Number of Source Form. The format should be UUID, 32-character uppercase hexadecimal stringExample:
1 -
subjectId(required): string(uuid)
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
C5EDB9AEDFE5401F9EE8002FBC5CC59A
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array-
Array of:
object FormsAssociationsHistoryDto2
Extends FormsAssociationsHistoryDto with version end timestamp, software version number and section linkage details for source and associated forms including repeat form numbers.
Nested Schema : FormsAssociationsHistoryDto2
Type:
objectExtends FormsAssociationsHistoryDto with version end timestamp, software version number and section linkage details for source and associated forms including repeat form numbers.
Show Source
-
associatedEventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
93CC828113AC439181071CB44D2C6FE5 -
associatedEventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
associatedFormId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
AA11BB22CC33DD44EE55FF6677889900 -
associatedFormSectionId: string
ID (UUID, 32-character uppercase hexadecimal string) of the form section.Example:
C6E0C7D5A1F3428C8B8B6A77C5E9D4AB -
associatedRepeatFormNumber: integer
(int32)
Represents the ordinal number assigned to a repeated instance of a data collection form. It uniquely identifies each occurrence of a repeating form for a subject when multiple instances of the form.Example:
1 -
associatedRepeatSequenceNumber: integer
(int32)
Indicates the order of occurrence for a repeating form instance, used to distinguish between multiple repetitions of the same form.Example:
1 -
associatedStudyVersion: string
String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:
3.0.0.2 -
comment: string
CommentExample:
Linked forms across events -
id: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) of the association recordExample:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
objectVersionNumber: number
Object version number used for concurrency control.Example:
14 -
operationType: string
Operation type on the record, can have values CREATED, MODIFIED or REMOVEDExample:
CREATED -
reason: string
ReasonExample:
Association created -
siteId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
ABCDEF1234567890ABCDEF1234567890 -
softwareVersionNumber: number
Software version numberExample:
14 -
srcEventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
srcEventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
srcFormId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
40DB4EF4847849CCB24EFCCB71CDA436 -
srcFormSectionId: string
ID (UUID, 32-character uppercase hexadecimal string) of the form section.Example:
B6E0C7D5A1F3428C8B8B6A77C5E9D4AA -
srcItemId: string
Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.Example:
DEADBEEFDEADBEEFDEADBEEFDEADBEEF -
srcRepeatFormNumber: integer
(int32)
Represents the ordinal number assigned to a repeated instance of a data collection form. It uniquely identifies each occurrence of a repeating form for a subject when multiple instances of the form.Example:
1 -
srcRepeatSequenceNumber: integer
(int32)
Indicates the order of occurrence for a repeating form instance, used to distinguish between multiple repetitions of the same form.Example:
1 -
srcStudyVersion: string
String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:
3.0.0.1 -
subjectId: string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
ABCDEF1234567890ABCDEF1234567890 -
userId: string
User identifier (UUID) who created or modified the associationExample:
9F8E7D6C5B4A3A2B1C0D9E8F7A6B5C4D -
versionEnd: string
(date-time)
The end date until which the data is applicable or valid.Example:
2023-01-01T10:00:00Z -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2023-01-01T09:00:00Z
Examples
400 Response
Bad request.
Root Schema : DcsResponse
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