ODM extract for admin data
get
/ec-datahub-svc/rest/v1.0/studies/{studyId}/{mode}/odm/admin
This API is used to extract administration data in CDISC ODM-XML format. Right: ODMAdminDataGet.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.
-
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
0C7CBA3F70034C47947E2FAB086BFBF5
Query Parameters
-
fromTimestamp: string(date-time)
It includes data in the ODM Extract after this timestamp. It accepts yyyy-MM-dd'T'HH:mm:ss.SSS'Z' date format.Example:
2023-01-01T00:00:00.000Z -
includeCOExtensions: string
If the value is true, the data extract will include both the CDISC standard elements and Clinical One extension elements in the extract. If the value is false, the extracted data will only consist of the CDISC standard elements. It accepts true or false, or y or n. The default value is true.Allowed Values:
[ "true", "false" ]Example:true -
includeLocations: string
Indicates whether to include Clinical One Sites data for the study in the ODM Extract. It accepts true or false. The default value is true.Allowed Values:
[ "true", "false" ]Example:true -
includeUsers: string
Indicates whether to include Clinical One User data for the study in the ODM Extract. It accepts true or false. The default value is true.Allowed Values:
[ "true", "false" ]Example:true -
limit: integer(int32)
Minimum Value:
1The number of users/sites, beginning with the offset, that you want to retrieve. Offset must be provided to use this parameter. For example, if you want to retrieve users in multiple batches of 10, you can start with an offset of 0 and limit of 10, then repeat calls to this endpoint and increase the offset value by 10 each time.Example:100 -
offset: integer(int32)
Minimum Value:
0An order number that specifies which user/site you want to start retrieving admin data from. If provided, you also need to specify a value for the limit parameter.Example:0 -
toTimestamp: string(date-time)
It includes data in the ODM Extract up until this timestamp. It accepts yyyy-MM-dd'T'HH:mm:ss.SSS'Z' date format.Example:
2023-12-31T23:59:59.999Z
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Successful operation
Root Schema : ODM
Type:
objectODM AdminData response root element containing administrative data and Clinical One specific metadata including pagination and extract attributes.
Show Source
-
adminData: object
AdminData
List of AdminData sections with users, locations and related metadata.
-
archival: string
Indicates whether this is an archival extract.Example:
Yes -
asOfDateTime: string
(date-time)
As-of timestamp for the snapshot.Example:
2023-12-31T23:59:59.999Z -
count: integer
(int32)
Number of results included in this response.Example:
100 -
creationDateTime: string
(date-time)
Timestamp when the file was created.Example:
2023-12-31T23:59:59.999Z -
description: string
Human readable description of this extract.Example:
Administrative data extract -
excludeHiddenData: string
Allowed Values:
[ "true", "false" ]Whether to exclude hidden data.Example:false -
fileOID: string
Unique identifier for the extract file.Example:
EC942244BB30163BE053BEC44C64CF34 -
fileType: string
Allowed Values:
[ "SNAPSHOT", "TRANSACTIONAL", "Snapshot", "Transactional" ]ODM file type that indicates whether the export is a full snapshot or a transactional change set.Example:<ODM FileType="Snapshot"/> -
fromDate: string
(date-time)
Filter start timestamp for the extract.Example:
2023-01-01T00:00:00Z -
Granularity: string
(string)
Allowed Values:
[ "ALL", "METADATA", "ADMIN_DATA", "REFERENCE_DATA", "ALL_CLINICAL_DATA", "SINGLE_SITE", "SINGLE_SUBJECT", "All", "Metadata", "AdminData", "ReferenceData", "AllClinicalData", "SingleSite", "SingleSubject" ]Granularity of ODM data export.Example:<Granularity>All</Granularity> -
hasMore: boolean
Indicates if additional results are available beyond the current page.Example:
false -
id: string
Identifier of this ODM root element instance.Example:
B4E5C6D7A8F90123ABCDEF4567890ABC -
includeCOExtensions: string
Allowed Values:
[ "true", "false" ]Whether to include Clinical One specific ODM extensions.Example:true -
includeLocations: string
Allowed Values:
[ "true", "false" ]Whether to include locations in the extract.Example:true -
includeUsers: string
Allowed Values:
[ "true", "false" ]Whether to include users in the extract.Example:true -
limit: integer
(int32)
Minimum Value:
1Maximum number of results per page.Example:100 -
odmVersion: string
ODM specification version.Example:
1.3.2 -
offset: integer
(int32)
Index of the first result returned in this page.Example:
0 -
originator: string
System or organization that originated the extract.Example:
ClinicalOne -
priorFileOID: string
Identifier of the prior extract file, if applicable.Example:
F7D4C8B9E0E94485A4B3B2A3D6C7E8F9 -
sourceSystem: string
Name of the source system.Example:
DataHub -
sourceSystemVersion: string
Version of the source system.Example:
Admin Data ODM 1.0 -
studyMode: string
Study mode for which data is requested.Example:
active -
studyVersion: string
Study version identifier.Example:
1.0 -
studyVersionSummary: boolean
Indicates if only a summary of the study version is included.Example:
false -
toDate: string
(date-time)
Filter end timestamp for the extract.Example:
2023-12-31T23:59:59.999Z -
totalResults: integer
(int32)
Total number of results available for the request.Example:
250
Example:
<?xml version="1.0"?>
<ODM
xmlns="http://www.cdisc.org/ns/odm/v1.3"
xmlns:co="https://docs.oracle.com/en/industries/life-sciences/clinical-one/odm/extensions/v1"
xmlns:ns0="http://www.w3.org/2000/09/xmldsig#" Description="STUDY01" FileType="Snapshot" FileOID="oracle/STUDY01/396A272FEA064663BB291B32D1FBA173" CreationDateTime="2025-11-03T13:21:53.238Z" ODMVersion="1.3.2" Originator="system" SourceSystem="Oracle Life Sciences Clinical One" SourceSystemVersion="AdminData API v1.0" co:studyMode="test" co:includeCOExtensions="true" co:fromTimestamp="2023-01-01T00:00:00Z" co:toTimestamp="2030-01-01T00:00:00Z" co:includeUsers="true" co:includeLocations="true">
<AdminData>
<Location OID="DATAHUB_AUT_Site2_Active" Name="DATAHUB_AUT_Site2_Active" LocationType="Site" co:LocationStatus="Active" co:LocationCountry="United States" co:LocationTimezone="Asia/Kolkata" co:InvestigatorFirstName="DatahubContact2" co:InvestigatorLastName="Tester2" co:GUID="3042285B08804CFF98F8F96B3626C843" co:Revision="2025-10-29T12:51:29.724Z">
<MetaDataVersionRef StudyOID="STUDY01" MetaDataVersionOID="STUDY01v1.0.0.3" EffectiveDate="2025-10-29"></MetaDataVersionRef>
</Location>
<Location OID="DATAHUB_AUT_Site1_Active" Name="DATAHUB_AUT_Site1_Active" LocationType="Site" co:LocationStatus="Active" co:LocationCountry="United States" co:LocationTimezone="Asia/Kolkata" co:InvestigatorFirstName="DatahubContact1" co:InvestigatorLastName="Tester1" co:GUID="AE8D00C1DD324CA99B2125E38DDF1B14" co:Revision="2025-10-29T12:49:24.576Z">
<MetaDataVersionRef StudyOID="STUDY01" MetaDataVersionOID="STUDY01v1.0.0.3" EffectiveDate="2025-10-29"></MetaDataVersionRef>
</Location>
</AdminData>
</ODM>Nested Schema : AdminData
Type:
objectList of AdminData sections with users, locations and related metadata.
Show Source
Nested Schema : Location
Type:
Show Source
object-
locationType: string
Allowed Values:
[ "SPONSOR", "SITE", "CRO", "LAB", "OTHER" ] -
metaDataVersionRef(required): array
MetaDataVersionRef
-
name: string
-
oid: string
Nested Schema : SignatureDef
Type:
Show Source
object-
legalReason(required): object
LegalReason
-
meaning(required): object
Meaning
-
methodology: string
Allowed Values:
[ "DIGITAL", "ELECTRONIC" ] -
oid: string
Nested Schema : User
Type:
Show Source
object-
address: array
Address
-
certificate: array
Certificate
-
displayName: object
DisplayName
-
email: array
Email
-
fax: array
Fax
-
firstName: object
FirstName
-
fullName: object
FullName
-
lastName: object
LastName
-
locationRef: array
LocationRef
-
loginName: object
LoginName
-
oid: string
-
organization: object
Organization
-
pager: object
Pager
-
phone: array
Phone
-
picture: object
Picture
-
userType: string
Allowed Values:
[ "SPONSOR", "INVESTIGATOR", "LAB", "OTHER" ]
Nested Schema : Certificate
Type:
Show Source
array-
Array of:
object Certificate
Digital certificate or identity for an ODM User.
Nested Schema : Phone
Type:
Show Source
array-
Array of:
object Phone
Phone number/contact entry for ODM User.
Nested Schema : Certificate
Type:
objectDigital certificate or identity for an ODM User.
Show Source
-
Value: string
Certificate/credential identifier.Example:
CERT123
Nested Schema : Phone
Type:
objectPhone number/contact entry for ODM User.
Show Source
-
Value: string
Phone number.Example:
555-9876
400 Response
'Missing / invalid data'
Root Schema : DataHubResponse
Type:
objectStandard response envelope containing status, optional result payload, optional error information and a version number.
Show Source
-
errorData: object
errorData
Error details when status is error.
-
result: object
result
Payload returned by the API when status is success.
-
status: string
Overall request processing status.Example:
success -
version: integer
(int32)
Envelope version number.Example:
1
Nested Schema : errorData
Type:
objectError details when status is error.
Example:
{
"errorCode":"C1-003",
"errorMessage":"Validation failed",
"details":{
"field":"limit",
"message":"limit must be >= 1"
}
}Nested Schema : result
Type:
objectPayload returned by the API when status is success.
Example:
{
"message":"Operation succeeded"
}Examples