V1

get

/ec-dc-svc/rest/v1/studies/{studyId}/{mode}/subjects/availableSubjectNumbers

Retrieves available subject numbers and last added subject number according to the subject settings.

Request

Path Parameters
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    ABCDEF1234567890ABCDEF1234567890
Query Parameters
  • Unique identifier of the site. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    CDEF1234567890AB4567890EFEEDCBA12

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Subjects success.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : SubjectNumberSelectionDTO
Type: object
DTO for subject number selection, containing the last assigned number and a list of currently available subject numbers.
Show Source
Nested Schema : availableNumbers
Type: array
Available subject numbers
Show Source
Example:
SUBJ-1224
Examples

400 Response

Bad request.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top