V1.0

post

/ec-designer-edc-svc/rest/v1.0/studies/{studyId}/visitsforms/strata

Returns randomization strata item data for the requested study-version visits. The request body is an array where each object identifies a study version and visit. The response is an EDC envelope whose result contains strata and their related visit item details grouped by study version.

Request

Path Parameters
Query Parameters
  • Study mode filter.
    Allowed Values: [ "test", "training", "active" ]
    Example:
    test

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Strata items were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : RespStratumVisitItemsDto
Type: object
Show Source
Nested Schema : StratumVisitDto v1.0
Type: object
Title: StratumVisitDto v1.0
Stratum Visit Detail Information
Show Source
Nested Schema : StratumItemDto v1.0
Type: object
Title: StratumItemDto v1.0
Stratum Item Detail Information
Show Source
Examples

400 Response

The request payload is missing studyVersion or visitId, or contains invalid values.
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}
Examples

500 Response

Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}
Examples

Back to Top