V1.0
post
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/labnormals
Creates lab data elements for a subject for a particular visit and particular form.
Request
Path Parameters
-
mode(required): string
Indicates the operational mode of the study. Accepted values: active, test, or training.Example:
active -
studyId(required): string(uuid)
Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
eventId(required): string
Unique identifier(UUID, 32-character uppercase hexadecimal string) of the clinical event. A clinical event can be, for example: Screening, Randomization, Visit 1, etc. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
799EF3745FC545589F186D2198F3C65E -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits (e.g., 1, 2, 3). It is null for scheduled events.Example:
1 -
formId(required): string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
899EF3745FC545589F186D2198F3C65E -
labId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) of the lab normals record. Include for update requests; omit for new create.Example:
999EF3745FC545589F186D2198F3C65E -
siteId(required): string
Unique identifier of the site. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
699EF3745FC545589F186D2198F3C65E -
studyVersion(required): string
String representing the version of the study. Helps track changes in form or study design.Example:
1.0.0.3 -
subjectId(required): string
Unique identifier of the subject. Used to represent a participant enrolled in a study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
A1B2C3D4E5F6471890ABCDEF12345678
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : labAddresses
Type:
Show Source
arrayExample:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Nested Schema : LabDetailsDto
Type:
Show Source
object-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
labId: string
(uuid)
-
labIdName: string
Minimum Length:
0Maximum Length:50Example:Central Lab -
labName: string
Example:
Sample Name -
labStatus: string
(uuid)
-
objectVersionNumber: number
Title:
Object Version NumberInternal object version number captured for optimistic locking.Example:1 -
oldSdfId: string
(uuid)
-
operationType: string
Title:
Operation TypeMinimum Length:1Maximum Length:16Operation applied to the record. Allowed values: CREATED (record was added), MODIFIED (record was updated), REMOVED (record was logically removed).Example:MODIFIED -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
softwareVersionNumber: number
Title:
Software Version NumberSoftware version number captured when the record was updated.Example:1 -
studyLabId: string
(uuid)
-
userId: string
(uuid)
Title:
User IDIdentifier of the user who performed the audited action. -
vendorId(required): string
(uuid)
-
versionEnd: string
(date-time)
Title:
Version EndTimestamp when the version ended.Example:2026-03-30T12:00:00Z -
versionStart: string
(date-time)
Example:
2026-01-15T10:30:00Z
Example:
{
"studyLabId":"B1B8327AFAA6412287106192AB5984EF",
"labId":"B1B8327AFAA6412287106192AB5984EF",
"labStatus":"ACTIVE"
}Nested Schema : labProperties
Type:
Show Source
arrayExample:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Nested Schema : SDFAddressAssociationDetailsDto
Type:
Show Source
object-
addressCity: string
Example:
sample -
addressCountry: string
(uuid)
-
addressCountryName: string
Example:
United States -
addressPostalCode: string
Example:
sample -
addressStateOrProvOrCounty: string
(uuid)
-
addressStateOrProvOrCountyName: string
Example:
California -
addressStreet1: string
Example:
sample -
addressStreet2: string
Example:
sample -
addressTypeId(required): string
(uuid)
-
addressTypeIdCodeValue: string
Example:
C36A3197FDEE433FB5547EE83DE99E4B -
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
entityAddressAssociationId(required): string
(uuid)
-
entityAddressProperties: array
entityAddressProperties
-
id: string
(uuid)
-
objectVersionNumber: number
Title:
Object Version NumberInternal object version number captured for optimistic locking.Example:1 -
operationType: string
Title:
Operation TypeMinimum Length:1Maximum Length:16Operation applied to the record. Allowed values: CREATED (record was added), MODIFIED (record was updated), REMOVED (record was logically removed).Example:MODIFIED -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
sdfAddressProperties: array
sdfAddressProperties
-
sdfId: string
(uuid)
-
softwareVersionNumber: number
Title:
Software Version NumberSoftware version number captured when the record was updated.Example:1 -
userId: string
(uuid)
Title:
User IDIdentifier of the user who performed the audited action. -
versionEnd: string
(date-time)
Title:
Version EndTimestamp when the version ended.Example:2026-03-30T12:00:00Z -
versionStart: string
(date-time)
Example:
2026-01-15T10:30:00Z
Example:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Nested Schema : entityAddressProperties
Type:
Show Source
array-
Array of:
object PROPERTY_DTO_TITLE
Title:
PROPERTY_DTO_TITLEPROPERTY_DTO_DESC
Example:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Nested Schema : sdfAddressProperties
Type:
Show Source
arrayExample:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Nested Schema : PROPERTY_DTO_TITLE
Type:
objectTitle:
PROPERTY_DTO_TITLEPROPERTY_DTO_DESC
Show Source
-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
entityId: string
ENTITY_ID_DESCExample:
2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A -
entityType: string
Title:
PROPERTY_DTO_ENTITY_TYPE_TITLEMinimum Length:0Maximum Length:50PROPERTY_DTO_ENTITY_TYPE_DESCExample:INSTITUTION -
propertyName(required): string
Title:
PROPERTY_DTO_NAME_TITLEMinimum Length:0Maximum Length:100PROPERTY_DTO_NAME_DESCExample:LabId -
propertyValue(required): string
Title:
PROPERTY_DTO_VALUE_TITLEMinimum Length:0Maximum Length:500PROPERTY_DTO_VALUE_DESCExample:2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations.
Example:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Nested Schema : SDFPropertyDetailsDto
Type:
Show Source
object-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
id: string
(uuid)
-
objectVersionNumber: number
Title:
Object Version NumberInternal object version number captured for optimistic locking.Example:1 -
operationType: string
Title:
Operation TypeMinimum Length:1Maximum Length:16Operation applied to the record. Allowed values: CREATED (record was added), MODIFIED (record was updated), REMOVED (record was logically removed).Example:MODIFIED -
propertyName(required): string
Minimum Length:
0Maximum Length:100Example:Sample Name -
propertyValue(required): string
Minimum Length:
0Maximum Length:1024Example:sample -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
sdfId: string
(uuid)
-
softwareVersionNumber: number
Title:
Software Version NumberSoftware version number captured when the record was updated.Example:1 -
userId: string
(uuid)
Title:
User IDIdentifier of the user who performed the audited action. -
versionEnd: string
(date-time)
Title:
Version EndTimestamp when the version ended.Example:2026-03-30T12:00:00Z -
versionStart: string
(date-time)
Example:
2026-01-15T10:30:00Z
Example:
[
{
"id":"C36A3197FDEE433FB5547EE83DE99E4B"
}
]Examples
400 Response
Bad request.
Root Schema : DcsResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectTitle:
ErrorResponseDataError Response Details Information
Show Source
-
details: object
Object
Title:
ObjectObject with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003 -
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : result
Type:
objectNested Schema : Object
Type:
objectTitle:
ObjectObject with error details information.
Example:
{
"field":"studyId",
"reason":"Invalid value"
}