v2.0

post

/ec-site-svc/rest/v2.0/studies/{studyId}/{mode}/labs

Compared with v1, this version creates study-lab data with structured addresses and properties payload sections.

Request

Path Parameters
  • Study mode. Allowed values: active (live study operations), test (testing data), training (training or sandbox data).
    Example:
    test
  • Study identifier as a 32-character uppercase hexadecimal UUID string.
    Example:
    C36A3197FDEE433FB5547EE83DE99E4B
Supported Media Types
Request Body - application/json ()
Root Schema : LabCreateUpdateRequest v2.0
Type: object
Title: LabCreateUpdateRequest v2.0
Request payload containing lab details, addresses, and properties.
Show Source
Nested Schema : Lab
Type: object
Title: Lab
Lab details being created or updated.
Show Source
Example:
{
    "studyLabId":"B1B8327AFAA6412287106192AB5984EF",
    "vendorId":"B1B8327AFAA6412287106192AB5984EF",
    "studySiteId":"B1B8327AFAA6412287106192AB5984EF",
    "labIdName":"Central Lab",
    "versionStart":"2026-01-15T10:30:00Z"
}
Nested Schema : Lab Addresses
Type: array
Title: Lab Addresses
Address associations for the lab.
Show Source
Example:
[
    {
        "id":"C36A3197FDEE433FB5547EE83DE99E4B"
    }
]
Nested Schema : Lab Properties
Type: array
Title: Lab Properties
Properties associated with the lab.
Show Source
Example:
[
    {
        "id":"C36A3197FDEE433FB5547EE83DE99E4B"
    }
]
Nested Schema : SDFAddressAssociationDto
Type: object
Show Source
Nested Schema : sdfAddressProperties
Type: array
Show Source
Example:
[
    {
        "id":"C36A3197FDEE433FB5547EE83DE99E4B"
    }
]
Nested Schema : SDFsPropertyDto
Type: object
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : LabCreateUpdateResponse v2.0
Type: object
Title: LabCreateUpdateResponse v2.0
Response containing the lab, addresses, and properties after persistence.
Show Source
Nested Schema : Lab
Type: object
Title: Lab
Lab details being created or updated.
Show Source
Example:
{
    "studyLabId":"B1B8327AFAA6412287106192AB5984EF",
    "vendorId":"B1B8327AFAA6412287106192AB5984EF",
    "studySiteId":"B1B8327AFAA6412287106192AB5984EF",
    "labIdName":"Central Lab",
    "versionStart":"2026-01-15T10:30:00Z"
}
Nested Schema : Lab Addresses
Type: array
Title: Lab Addresses
Address associations returned for the lab.
Show Source
Example:
[
    {
        "id":"C36A3197FDEE433FB5547EE83DE99E4B"
    }
]
Nested Schema : Lab Properties
Type: array
Title: Lab Properties
Properties returned for the lab.
Show Source
Example:
[
    {
        "id":"C36A3197FDEE433FB5547EE83DE99E4B"
    }
]
Nested Schema : SDFAddressAssociationDto
Type: object
Show Source
Nested Schema : sdfAddressProperties
Type: array
Show Source
Example:
[
    {
        "id":"C36A3197FDEE433FB5547EE83DE99E4B"
    }
]
Nested Schema : SDFsPropertyDto
Type: object
Show Source
Examples

400 Response

Returned when one or more path parameters, query parameters, or request-body values fail endpoint validation.
Body ()
Root Schema : SDFResponse
Type: object
Title: SDFResponse
Wrapper for service responses containing result or error data.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
The result object for successful requests. Type depends on the API operation.
Example:
{
    "hasMore":"true",
    "totalResults":5,
    "count":5,
    "data":[
    ]
}
Nested Schema : details
Type: object
Examples

Back to Top