V8.0

post

/ec-datahub-svc/rest/v8.0/tenant/{tenantId}/studies/{studyId}/{mode}/subjects

Retrieves the study-permissioned Subject dataset for a single study and mode.

The dataset exposes versioned subject profile and status history, including identifiers and numbering, site assignment and transfer context, screening and enrollment outcomes, consent and demographic fields, and audit columns.

Supports select, filter, sort, limit, and offset query patterns.

The dataset returns subject-level history rows for subjects associated with the study and mode.

This version additionally includes the following data points: WITHDRAWAL_REASON, WITHDRAWAL_COMMENT, SCREEN_FAILURE_DATE, SCREEN_FAILURE_COMMENT, and RESCREEN_INSTANCE_NUM.

Required permission: SubjectDatasetPost.

Recommended order columns: The backend query always orders results by DH_TIMESTAMP and VERSION_START in ascending order first. If orderColumns is empty, only these two columns are used. If orderColumns is provided, the specified columns are appended after DH_TIMESTAMP and VERSION_START. For stable, deterministic pagination, use STUDY_ID and SUBJECT_ID in the orderColumns field of the request payload.

Request

Path Parameters
  • Execution mode for the study.

    Allowed values: test, active, training.

    Example: test.

  • Unique study identifier supplied in the studyId path parameter.

    Use the uppercase hexadecimal UUID value for the study.

    Example: 0C7CBA3F70034C47947E2FAB086BFBF5.

  • Unique tenant identifier supplied in the tenantId path parameter.

    Use the uppercase hexadecimal UUID value for the tenant.

    Example: EC942244BB30163BE053BEC44C64CF34.

Query Parameters
  • Minimum Value: 0

    Page size for the result set.

    • 0 disables pagination and returns the maximum result set allowed by the dataset endpoint.
    • Positive values enable pagination.
    • Negative values return HTTP 400.
    Example:
    100
  • Minimum Value: 0

    Zero-based row offset.

    • Counts rows, not pages.
    • To fetch the next page, repeat the same request body and set offset = previous offset + previous count.
    • When limit = 0, this value is ignored and the response echoes offset = 0.
    • When limit > 0, an offset beyond the available rows returns HTTP 200 with an empty page.
    • Negative values return HTTP 400.
    Example:
    0
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object

Submit a structured query for a Data Hub dataset.

  • selectColumns is required and must contain one or more valid column names exposed by the target dataset version.
  • whereColumns is optional and provides structured filter predicates. Supported operators are =, !=, <>, >, >=, <, <=, LIKE, NOT LIKE, IN, NOT IN, BETWEEN, NOT BETWEEN, IS, and IS NOT.

    Default behavior: Data is filtered based on the STUDY_WID column.

  • orderColumns is optional and controls sort order. For stable multi-page retrieval, keep the same orderColumns across page requests.
Show Source
  • orderColumns

    Optional sort instructions to apply to the result set.

    Duplicate order-by columns are rejected.

  • selectColumns

    Required non-empty list of dataset column names to return.

    Column validation is case-insensitive, and the response echoes canonical uppercase dataset column names in the same order.

  • whereColumns

    Optional structured filter predicates.

    This is the request-body equivalent of a WHERE clause.

    All predicate values are supplied as strings and are parsed according to the underlying dataset column type.

Nested Schema : orderColumns
Type: array

Optional sort instructions to apply to the result set.

Duplicate order-by columns are rejected.

Show Source
Example:
[
    {
        "columnName":"VERSION_START",
        "sortOrder":"ASC"
    }
]
Nested Schema : selectColumns
Type: array

Required non-empty list of dataset column names to return.

Column validation is case-insensitive, and the response echoes canonical uppercase dataset column names in the same order.

Show Source
  • Required non-empty list of dataset column names to return.

    Column validation is case-insensitive, and the response echoes canonical uppercase dataset column names in the same order.

    Example: ["STUDY_VERSION","STUDY_ID"]
Example:
[
    "STUDY_VERSION",
    "STUDY_ID"
]
Nested Schema : whereColumns
Type: array

Optional structured filter predicates.

This is the request-body equivalent of a WHERE clause.

All predicate values are supplied as strings and are parsed according to the underlying dataset column type.

Show Source
Example:
[
    {
        "columnName":"STUDY_ID",
        "operator":"=",
        "value":[
            "A86F2D0BB610404DB62D37AFA9C20B50"
        ]
    }
]
Nested Schema : QueryOrder
Type: object

Sort instruction specifying a dataset column and optional order direction.

Show Source
  • Required dataset column name to sort by.

    Column-name validation is case-insensitive.

    Example: VERSION_START
  • Allowed Values: [ "ASC", "DESC" ]

    Optional sort direction.

    If omitted, SQL default ascending order is used for that column. Allowed values are ASC and DESC.

    Example: ASC
Example:
[
    {
        "columnName":"VERSION_START",
        "sortOrder":"ASC"
    }
]
Nested Schema : QueryPredicate
Type: object
Structured filter predicate used to constrain dataset results by column, operator, and value
Show Source
  • Required dataset column name to filter on. Column-name validation is case-insensitive.
    Example: STUDY_ID
  • Allowed Values: [ ">", "<", "=", ">=", "<=", "<>", "!=", "IN", "NOT IN", "BETWEEN", "NOT BETWEEN", "LIKE", "NOT LIKE", "IS", "IS NOT" ]
    Required comparison operator. Use one value for =, !=, <>, >, >=, <, <="," like, and not like; one or more values for in in; exactly two between between; value equal to null is not.< div>
    Example: =
  • value
    Filter values as strings. Value cardinality depends on the operator: one for most operators, one or more for IN/NOT IN, exactly two for BETWEEN/NOT BETWEEN, and exactly one value equal to NULL for IS/IS NOT.
Example:
[
    {
        "columnName":"STUDY_ID",
        "operator":"=",
        "value":[
            "A86F2D0BB610404DB62D37AFA9C20B50"
        ]
    }
]
Nested Schema : value
Type: array
Filter values as strings. Value cardinality depends on the operator: one for most operators, one or more for IN/NOT IN, exactly two for BETWEEN/NOT BETWEEN, and exactly one value equal to NULL for IS/IS NOT.
Show Source
  • Filter values as strings. Value cardinality depends on the operator: one for most operators, one or more for IN/NOT IN, exactly two for BETWEEN/NOT BETWEEN, and exactly one value equal to NULL for IS/IS NOT.
    Example: ["A86F2D0BB610404DB62D37AFA9C20B50"]
Example:
[
    "A86F2D0BB610404DB62D37AFA9C20B50"
]
Examples

Back to Top

Response

Supported Media Types

200 Response

Response behavior

  • The response is tabular. columns defines the selected output order, and each row in data follows that same order.
  • Every value in data is returned as a JSON string or null, including logical numbers and date/time values.
  • hasMore = "true" means more matching rows exist after the current page.
  • If filters match no rows, or offset is beyond the last row, the API returns HTTP 200 with data = [], count = 0, and hasMore = "false".

Section index

Study context | Site context | Country context | Subject context | Event context | Aggregation metrics | Audit context | Reference and system identifiers

Study context

Study-level identifiers, version metadata, and protocol attributes associated with the dataset row.

Column Name Data Type Description
STUDY_TITLEVARCHAR2(4000 CHAR)

The STUDY_TITLE data element reflects the title of a protocol as defined by the study manager each time a new study version is created and renamed in the Study Mode section. For example, if the original study version is named P01_A23 in Active mode, that name appears as the STUDY_TITLE. If the study manager later creates a new version of the study and renames it to P01_A23_Production2, this new name will be displayed as the STUDY_TITLE for that version when used in Active mode.

When you include multiple study versions in your dataset, and each has a different title, the STUDY_TITLE element will reflect the specific title assigned to each version. For example, your dataset might include study versions 1.0.2, 1.0.3, and 1.0.4. If the study manager renamed each version, you would see those unique titles in the dataset:

  • P_01_A23 (for study version 1.0.2)
  • P01_A23_Production2 (for study version 1.0.3)
  • P01_A23_Production3 (for study version 1.0.4)
STUDY_ID_NAMEVARCHAR2(64 CHAR)A study ID as specified by the study manager when they created the study, such as a protocol acronym and protocol number.
STUDY_REFNAMEVARCHAR2(64 CHAR)Indicates the study's reference name used by the system. This value is composed by the STUDY_ID_NAME converted to uppercase with blank spaces removed. Once created, this value never changes, even if STUDY_ID_NAME is changed.
STUDY_VERSIONVARCHAR2(32 CHAR)Indicates the study version number of the referencing data in a custom report.
STUDY_SERIAL_NUMBERNUMBER

For internal use only.

Internal Clinical One study identifier.

STUDY_PHASEVARCHAR2(64 CHAR)A study's phase as indicated by the study manager when they created the study. Possible values include I, I/II, II, II/III, III, IV, or Other.
BLINDING_TYPEVARCHAR2(64 CHAR)Indicates whether the study is an open-label type of study or a blinded study, as specified by the study manager when they created the study. Possible values include OpenLabel, Blinded, OpenLabelBlinded, or Observational.
THERAPEUTIC_AREAVARCHAR2(64 CHAR)Indicates the therapeutic area as specified by the study manager when they created the study. Possible values include CardiologyVascularDiseases, DentalOralHealth, Dermatology, Endocrinology, FamilyMedicine, Gastroenterology, GeneticDisease, HealthyVolunteers, Hematology, Hepatology, Immunology, InfectionsInfectiousDisease, Musculoskeletal, Nephrology, Neurology, NutritionWeightLoss, ObstetricsGynecology, Oncology, Ophthalmology, Otolaryngology, PediatricsNeonatology, PlasticSurgery, PharmacologyToxicology, Podiatry, PsychiatryPsychology, PulmonaryRespiratoryDiseases, Rheumatology, Sleep, Trauma, Urology, or Vaccines.

Parent topic: Section index


Site context

Site profile, operational settings, and site-maintained contact details associated with the dataset row.

Column Name Data Type Description
SITE_NAMEVARCHAR2(500 CHAR)Indicates the site's name as entered by a site manager when they created or last modified a site.
SITE_ID_NAMEVARCHAR2(50 CHAR)Indicates the site ID as entered by a site manager when they created or last modified a site.
SITE_STATUSVARCHAR2(50 CHAR)Indicates the status of a site whether it is New, Active, or Retired.
SITE_STUDY_VERSIONVARCHAR2(2048 CHAR)The study version assigned to the site, as configured by a site manager.
SITE_SERIAL_NUMBERNUMBERThe serial number of the site
FROM_SITE_NAMEVARCHAR2(500 CHAR)If a subject is transferred, this field is populated with the site the subject was transferred from
INVESTIGATORVARCHAR2(2048 CHAR)A Principal Investigator's Full Name as listed when the site manager created the site.
PI_PREFIXVARCHAR2(2048 CHAR)The principal investigator's prefix at the site. Possible values include 1st Lt, Adm, Atty, Brother, Capt, Chief, Cmdr, Col, Dean, Dr, Elder, Father, Gen, Gov, Hon, Lt Col, Maj, MSgt, Mr, Mrs, Ms, Prince, Prof, Rabbi, Rev, or Sister.
DEA_NUMBERVARCHAR2(2048 CHAR)The DEA registration number.
EXPIRATIONVARCHAR2(2048 CHAR)Indicates the expiration date of the DEA Registration Number as defined by a site manager.
ADD_SUBJECTSVARCHAR2(2048 CHAR)Flag that enables or prevents site users from adding subjects at one or multiple sites. Possible values include true or false.
SCREEN_SUBJECTSVARCHAR2(2048 CHAR)Flag that enables or prevents site users from screening subjects at one or multiple sites. Possible values include true or false.
RANDOMIZE_SUBJECTSVARCHAR2(2048 CHAR)Flag that enables or prevents site users from randomizing subjects at one or multiple sites. Possible values include true or false.
DISPENSE_TO_SUBJECTSVARCHAR2(2048 CHAR)Flag that enables or prevents site users from dispensing kits, devices or performing dose changes for subjects at one or multiple sites. Possible values include true or false.
DRUG_DESTRUCTION_CAPABLEVARCHAR2(2048 CHAR)Flag that defines if the kit type is destructible at the site. Possible values include true or false.
EHR_ENABLEDCHAR(3)

Indicates if a site is currently enabled for Electronic Health Record (EHR) data import.

No is displayed if EHR has never been enabled for a site or if a site was disabled for EHR. Possible values include Y or N.

SDV_GROUP_NAMEVARCHAR2(255)Name of the SDV Strategy, as entered by the study manager.
INITIAL_SUBJECTS_COUNTVARCHAR2(2048)Number of initial subjects included in the SDV strategy.
INITIAL_SUBJECTS_SDV_TYPEVARCHAR2(2048)Type of Source Data Verification: All Questions or Critical Questions. Possible values include All Questions or Critical Questions Only.
REMAINING_SUBJECTS_PERCENTAGEVARCHAR2(2048)Number of remaining subjects included in the SDV strategy.
REMAINING_SUBJECTS_SDV_TYPEVARCHAR2(2048)Type of Source Data Verification: All Questions or Critical Questions. Possible values include All Questions or Critical Questions Only.
ADDRESS_STREET_1VARCHAR2(150 CHAR)A site's first address as entered by the site manager when they created or last modified the site.
ADDRESS_STREET_2VARCHAR2(150 CHAR)A site's second address as entered by the site manager when they created or last modified the site.
ADDRESS_CITYVARCHAR2(100 CHAR)A site's city as entered by the site manager when they created or last modified the site.
ADDRESS_STATE_OR_PROV_OR_CNTYVARCHAR2(100 CHAR)A site's state, province, or county as entered by the site manager when they created or last modified the site.
ADDRESS_POSTALCODEVARCHAR2(20 CHAR)The Zip Postal Code associated with a site's address.
ADDRESS_COUNTRYVARCHAR2(4000 CHAR)A site's country as entered by the site manager when they created or last modified the site. The field display the country ISO code.
PHONEVARCHAR2(500 CHAR)The contact phone number as entered by the site manager when they created or last modified the site.
FAXVARCHAR2(500 CHAR)The contact fax number as entered by the site administrator when they created or last modified the site.
EMAILVARCHAR2(500 CHAR)Email address of the site as entered by the site administrator when they created or last modified the site.
TIMEZONEVARCHAR2(2048 CHAR)Indicates the time zone the site is currently placed on as specified by a site manager.
SHIPPING_ATTENTIONVARCHAR2(2048 CHAR)Indicates the name of the person who will receive shipments at the site, as specified by a site manager.
SHIPPING_ADDRESS_1VARCHAR2(150 CHAR)The first line of a site's shipping address as entered by the site manager when they created or last modified the site.
SHIPPING_ADDRESS_2VARCHAR2(150 CHAR)The second line of a site's second shipping address as entered by the site manager when they created or last modified the site.
SHIPPING_CITYVARCHAR2(100 CHAR)City associated with the shipping address, as entered by the site manager when they created or last modified the site.
SHIPPING_STATE_OR_PROV_OR_CNTYVARCHAR2(100 CHAR)State, province, or county associated with the shipping address, as entered by the site manager when they created or last modified the site.
SHIPPING_ZIPVARCHAR2(20 CHAR)Zip Postal Code associated with the shipping address.
SHIPPING_COUNTRYVARCHAR2(4000 CHAR)Country associated with the shipping address, as entered by the site manager when they created or last modified the site.
SHIPPING_PHONEVARCHAR2(500 CHAR)Phone number associated with the shipping address.
SHIPPING_FAXVARCHAR2(500 CHAR)Fax number associated with the shipping address.
SHIPPING_EMAILVARCHAR2(500 CHAR)Email address associated with the shipping address.

Parent topic: Section index


Country context

Country-level fields exposed separately in Oracle Analytics for geographic reporting.

Column Name Data Type Description
COUNTRY_NAMEVARCHAR2(4000 CHAR)Indicates a country's two-digit ISO code.

Parent topic: Section index


Subject context

Subject identity, status, enrollment, and transfer attributes associated with the record.

Column Name Data Type Description
SUBJECT_NUMBERVARCHAR2(500 CHAR)

The number currently assigned to the subject in the system as identifier.

Note: NULL is displayed if a subject was removed using the Undo Add Subject feature.

SCREENING_NUMBERVARCHAR2(500 CHAR)Always displays the original screening number, assigned to the subject at screening.
PREVIOUS_SUBJECT_NUMBERVARCHAR2(500 CHAR)When a subject number change is applied, this field holds the number that was assigned to the subject before the change.
OLD_SUBJECT_NUMBERVARCHAR2(500 CHAR)A subject's previously assigned number in the system for a transferred subject.
RESCREEN_INSTANCE_NUMNUMBERInstance number of the re-screening event for the subject. If this is the second time a subject is re-screened, the instance number would be 2.
DOBDATE

Indicates the date of birth.

Currently, this is a placeholder column that does not contain any data. This column is planned for a future release.

GENDERVARCHAR2(10 CHAR)

The selected gender a subject identifies as.

Currently, this is a placeholder column that does not contain any data. This column is planned for a future release.

STATEVARCHAR2(100 CHAR)

A subject's state in Clinical One Cloud Service.

Note: When a subject is Screened, the dataset returns Screening_Initiated until the next visit is complete and the subject becomes Active. When a subject is Screen Failed, the dataset returns Auto_Screen_Failed. Possible values include New, Screening_Initiated, Screen_Failed, Auto_Screen_Failed, Enrolled, Active, Subject Visit, Subject_Transferred, Withdrawn, or Complete.

STATE_DATEDATEThe date the subject entered a state.
SCREENING_DATEDATEDate of the subject's initial screening visit.
INFORMED_CONSENT_DATEDATE

The date on which the informed consent was signed by the subject.

Currently, this is a placeholder column that does not contain any data. This column is planned for a future release.

STUDY_COMPLETION_DATEDATEDate in which the subject completed the study.
WITHDRAWAL_DATEDATEDate in which the subject got withdrawn from the study.
SCREEN_FAILURE_DATEDATEDate in which the subject failed screening.
SCREENING_FAILUREVARCHAR2(255 CHAR)Indicates whether a subject failed the screening. Possible values include Y or N.
ENROLLMENT_FAILUREVARCHAR2(255 CHAR)

Indicates whether a subject could not be enrolled in the study.

Currently, this is a placeholder column that does not contain any data. This column is planned for a future release.

ENROLLMENT_OVERRIDEVARCHAR2(255 CHAR)

Indicates a subject's enrollment override.

Currently, this is a placeholder column that does not contain any data. This column is planned for a future release.

SCREEN_FAILURE_COMMENTVARCHAR2(2048 CHAR)Comment added by the site user for a subject's screen failure event.
WITHDRAWAL_REASONVARCHAR2(255 CHAR)Reason provided for a subject's withdrawal from study.
WITHDRAWAL_COMMENTVARCHAR2(2048 CHAR)Comment added by the site user for the subject's withdrawal event.
EXTERNAL_SOURCE_STATUS_DATETIMESTAMP(6)Indicates the date on which the subject status was updated by an external source.
EHR_LINK_STATUSCHAR(1)Displays Yes or No, indicating if a subject is currently linked for Electronic Health Record (EHR) data import. Possible values include Y or N.
CODE_BREAKVARCHAR2(2 CHAR)Indicates whether a subject went through a Code Break event. Possible values include Y or N.

Parent topic: Section index


Event context

Event metadata, visit scheduling, and visit-status attributes associated with the dataset row.

Column Name Data Type Description
EVENT_TYPEVARCHAR2(100)

Displays the type of event that impacts a subject's status. Only events that occurred in the study are displayed. Possible subject event values include:

  • New
  • Screened
  • Randomized
  • Withdrawn
  • Undo_Withdrawn
  • Transferred
  • Screen_Failed
  • Screen_Fail_Update
  • Code_Break
  • Complete
  • Undo_Complete
  • Undo_ScrFailed
  • Enrolled
  • Undo_Add_Subject
  • SubjectNumberChanged
  • SubjectNumberReplaced
  • SubjectPatientLinkCreated
  • SubjectPatientLinkRemoved
  • CompletionUpdate
  • WithdrawalUpdate
  • Undo_Enrolled
  • ScreenUpdate
  • EnrollUpdate

Parent topic: Section index


Aggregation metrics

Derived counts and rollup indicators calculated from the underlying study data.

Column Name Data Type Description
TOTAL_VISITSNUMBERThe total number of visits in a study version. This count does not include unscheduled visits.
COMPLETED_VISITSNUMBERCount of completed visits for a subject. When there are incomplete visits, the count is recalculated. This data element does not include unscheduled visits.
TOTAL_FORMSNUMBER

The total number of forms across visits in the study version.

  • A repeating form instance is counted as one form.
  • Forms assigned to an unscheduled visit are not included in this count.
COMPLETED_FORMSNUMBERCount of completed forms for a subject, irrespective of visit status and form status. Each instance of a repeating form is counted as one form.
TOTAL_FORMS_COMPLETED_VISITSNUMBERThe total number of completed forms associated with visits.
FREEZEVARCHAR2(16 CHAR)Indicates if the subject's data is frozen by a data manager or CRA. Possible values include FROZEN or UNFROZEN.
VERIFIEDVARCHAR2(16 CHAR)

Indicates the aggregate verification status for the subject's data. Data element can be populated with the following values:

  • VERIFIED: A question, form, or visit is verified.
  • UNVERIFIED: A question, form, or visit was once verified, then updated making it unverified.
  • VERIFY_REQUIRED: A question, form, or visit requires verification and is not yet verified.
SIGNEDVARCHAR2(16 CHAR)Indicates if a valid casebook signature is applied to the subject. Possible values include SIGNED or UNSIGNED.

Parent topic: Section index


Audit context

Audit-trail metadata describing row versioning, acting users, and reason-for-change details.

Column Name Data Type Description
VERSION_STARTTIMESTAMP(6)Audit trail timestamp when this version of the dataset row became effective. Together with VERSION_END, it defines the validity window for the row version.
VERSION_ENDTIMESTAMP(6)Indicates the date and time of when data was changed, if the data is not current.
OPERATION_TYPEVARCHAR2(16 CHAR)

Audit trail field that indicates how the dataset row version was produced.

  • CREATED: the row was initially created.
  • MODIFIED: an existing row was updated.
  • REMOVED: the row was removed from the active record set.
CURRENT_STUDY_ROLE_NAMEVARCHAR2(100 CHAR)Current study role name of the user who updated the dataset row. If the user's study role changes later, this field shows the user's current study role.
USER_NAMEVARCHAR2(255 CHAR)

Audit trail field that represents the user who performed the action.

The value for this column may represent a user's actual username or a user's email address, depending on how the user login was defined in Oracle Life Sciences IAMS.

OBJECT_VERSION_NUMBERNUMBERAudit trail field that represents the version number of the data.
REASONVARCHAR2(255 CHAR)Audit trail reason recorded for the dataset row change. Populated when a reason for change is provided for the row update.
COMMENTVARCHAR2(2048 CHAR)Required comment in a reason for change if Other is selected. Populated as Rule Execution for calculated values.
IS_CURRENTCHAR(1)Audit trail flag that indicates whether the dataset row version is the current version (Y) or a historical version (N).

Parent topic: Section index


Reference and system identifiers

System identifiers, numeric reference keys, and technical linkage fields carried with the dataset row.

Column Name Data Type Description
STUDY_IDRAW(16 BYTE)GUID of the study.
STUDY_WIDNUMBER(10)A number that represents the unique identifier of the study.
SITE_IDRAW(16 BYTE)GUID of the site.
SITE_WIDNUMBER(10)A number that represents the unique identifier of a site.
USER_IDRAW(16 BYTE)GUID of the user.
USER_WIDNUMBER(10)Indicates a user's numeric identifier.
FROM_SITE_IDRAW(16 BYTE)GUID of the site from which the subject was transferred.
FROM_SITE_WIDNUMBER(10)Indicates the site numeric identifier from which the subject was transferred.
CURRENT_STUDY_ROLE_IDRAW(16 BYTE)The ID associated with the study role assigned to the user who updated the given record. If the user study role changes, this field will show the current study role ID of the given user.
CURRENT_STUDY_ROLE_WIDNUMBER(10)Numeric identifier of the role of the user who updated the given record. If the user study role changes, this field will show the current study role of the given user.
IDRAW(16 BYTE)Row-level GUID that uniquely identifies this Subject dataset record.
SUBJECT_WIDNUMBER(10)A number that represents the unique identifier of the subject.
SUBJECT_TRANSFER_IDRAW(16 BYTE)GUID of the subject transfer record.
DESCRIPTIONVARCHAR2(500 CHAR)This is a placeholder column that does not contain any data.
DH_TIMESTAMPTIMESTAMP(6)A timestamp that indicates when the data became available in the dataset.
SOFTWARE_VERSION_NUMBERNUMBERA number that increases incrementally every time a data point is modified.

Parent topic: Section index


Body ()
Root Schema : DataHubReportDto
Type: object

Tabular dataset response for a dynamic Data Hub query.

columns defines the selected output order, and each row in data aligns positionally to that list.

Show Source
  • columns

    Ordered dataset column names selected by the client.

    Each row in data uses this exact order.

  • Number of rows returned in the current page.

    Example: 2
  • data

    Row data aligned positionally with columns.

    Each cell is serialized as a JSON string or null, even for logical numbers and timestamps.

  • String pagination flag ("true" or "false") indicating whether more matching rows exist after the current page.

    Returned as a string for backward compatibility.

    Example: false
  • Requested page size.

    Dataset endpoints commonly use 0 to mean unpaginated or all rows.

    Example: 100
  • Zero-based row offset applied to the result set.

    Dataset endpoints that disable pagination with limit = 0 typically echo offset = 0 in the response.

    Example: 0
  • Total number of matching rows across all pages after filters are applied.

    This can be non-zero even when the current page is empty because the requested offset is beyond the last row.

    Example: 2
Nested Schema : columns
Type: array

Ordered dataset column names selected by the client.

Each row in data uses this exact order.

Show Source
  • Ordered dataset column names selected by the client.

    Each row in data uses this exact order.

    Example: ["STUDY_ID","RECORD_ID","STATUS"]
Example:
[
    "STUDY_ID",
    "RECORD_ID",
    "STATUS"
]
Nested Schema : data
Type: array

Row data aligned positionally with columns.

Each cell is serialized as a JSON string or null, even for logical numbers and timestamps.

Show Source
  • items

    Row data aligned positionally with columns.

    Each cell is serialized as a JSON string or null, even for logical numbers and timestamps.

Example:
[
    [
        "A86F2D0BB610404DB62D37AFA9C20B50",
        "REC001",
        "Active"
    ],
    [
        "A86F2D0BB610404DB62D37AFA9C20B50",
        "REC002",
        "Inactive"
    ]
]
Nested Schema : items
Type: array

Row data aligned positionally with columns.

Each cell is serialized as a JSON string or null, even for logical numbers and timestamps.

Show Source
  • Row data aligned positionally with columns.

    Each cell is serialized as a JSON string or null, even for logical numbers and timestamps.

    Example: [["A86F2D0BB610404DB62D37AFA9C20B50","REC001","Active"],["A86F2D0BB610404DB62D37AFA9C20B50","REC002","Inactive"]]
Example:
[
    [
        "A86F2D0BB610404DB62D37AFA9C20B50",
        "REC001",
        "Active"
    ],
    [
        "A86F2D0BB610404DB62D37AFA9C20B50",
        "REC002",
        "Inactive"
    ]
]
Examples

400 Response

Returned when the request is invalid.

  • Causes include invalid tenantId or studyId, negative limit or offset, empty selectColumns, invalid dataset columns, invalid whereColumns operator/value combinations, duplicate orderColumns, invalid sortOrder, and malformed typed filter values.
  • Error payload format: {"status":"failed","result":null,"errorData":{"errorCode":"...","errorMessage":"...","details":{...}},"version":1}.
Body ()
Root Schema : DataHubResponse
Type: object

Standard Data Hub response envelope.

Successful responses return status as "success" and populate result. Failed responses return status as "failed" and populate errorData.

Show Source
Nested Schema : errorData
Type: object

Machine-readable error payload when status is "failed".

This field is null when status is "success".

Example:
{
    "errorCode":"VALIDATION_ERROR",
    "errorMessage":"Invalid column name specified in the select columns: SITE_ID1",
    "details":{
        "field":"selectColumns"
    }
}
Nested Schema : result
Type: object

Payload returned by the API when status is "success".

This field is null when status is "failed".

Example:
{
    "message":"Operation succeeded"
}
Examples

401 Response

Returned when the request cannot be authenticated.

The response body is empty.

403 Response

Returned when the request is authenticated but the caller is not authorized to access the requested resource.

The response body contains a plain-text authorization message.

Possible response bodies:

  • Either the resource does not exist, or the user cannot access the resource.
  • The entity is in maintenance mode, or the user cannot access the resource.
Body ()
Root Schema : schema
Type: string

500 Response

Returned when an unexpected server-side error occurs while processing the request.

The response body contains the platform error payload with the error code and description.

Body ()
Root Schema : Status
Type: object
Show Source
Examples

Back to Top