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)
ID of the studyExample:
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:
A86F2D0BB610404DB62D37AFA9C20B50 -
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
array-
Array of:
object Location
Physical or logical locations for the study.
Nested Schema : SignatureDef
Type:
Show Source
array-
Array of:
object SignatureDef
Study-level signature definitions.
Nested Schema : user
Type:
Show Source
array-
Array of:
object User
Represents a user in the ODM AdminData structure (site personnel, investigator, etc).
Nested Schema : Location
Type:
objectPhysical or logical locations for the study.
Show Source
-
LocationType: string
Allowed Values:
[ "SPONSOR", "SITE", "CRO", "LAB", "OTHER" ] -
MetaDataVersionRef: array
MetaDataVersionRef
-
Name: string
-
OID: string
Nested Schema : User
Type:
objectRepresents a user in the ODM AdminData structure (site personnel, investigator, etc).
Show Source
-
Address: object
Address
Postal or location address for an ODM user or site, with support for street, city, state, country, and postal code.
-
Certificate: object
Certificate
Digital certificate or identity for an ODM User.
-
DisplayName: object
DisplayName
Human-readable display name for the ODM User.
-
Email: object
Email
Email address record for an ODM user.
-
Fax: object
Fax
Fax number/contact for an ODM User.
-
FirstName: object
FirstName
User's first name.
-
FullName: object
FullName
User's full name as a single value.
-
LastName: object
LastName
User's last/family/surname.
-
LocationRef: object
LocationRef
Reference to a study/site location for an ODM User.
-
LoginName: object
LoginName
Login name or identifier for the ODM User.
-
OID: string
User's object identifier/UUID (uppercase hex).Example:
A8C41D8062A14FCC89EDA475C3E3AF12 -
Organization: object
Organization
Organization name associated with the User.
-
Pager: object
Pager
Pager number or contact info for an ODM User.
-
Phone: object
Phone
Phone number/contact entry for ODM User.
-
Picture: object
Picture
Profile or avatar image info for ODM User.
-
UserType: string
Allowed Values:
[ "SPONSOR", "INVESTIGATOR", "LAB", "OTHER" ]Enumeration of possible user types/roles for ODM User.
Nested Schema : Address
Type:
objectPostal or location address for an ODM user or site, with support for street, city, state, country, and postal code.
Show Source
-
City: object
City
City for this address.
-
Country: object
Country
Country.
-
OtherText: object
OtherText
Additional address information.
-
PostalCode: object
PostalCode
Postal or ZIP code.
-
StateProv: object
StateProv
State or province.
-
StreetName: object
StreetName
List of street name lines.
Nested Schema : Certificate
Type:
objectDigital certificate or identity for an ODM User.
Show Source
-
Value: string
Certificate/credential identifier.Example:
CERT123
Nested Schema : DisplayName
Type:
objectHuman-readable display name for the ODM User.
Show Source
-
Value: string
Value for the display name of the user.Example:
Dr. J. Smith
Nested Schema : Email
Type:
objectEmail address record for an ODM user.
Show Source
-
Value: string
Email address.Example:
john.smith@email.com
Nested Schema : Fax
Type:
objectFax number/contact for an ODM User.
Show Source
-
Value: string
Fax number.Example:
555-5678
Nested Schema : FirstName
Type:
objectUser's first name.
Show Source
-
Value: string
Given name of the user.Example:
John
Example:
{
"value":"John"
}Nested Schema : FullName
Type:
objectUser's full name as a single value.
Show Source
-
Value: string
Full name for the user.Example:
John Smith
Example:
{
"value":"John Smith"
}Nested Schema : LastName
Type:
objectUser's last/family/surname.
Show Source
-
Value: string
Surname of the user.Example:
Smith
Example:
{
"value":"Smith"
}Nested Schema : LocationRef
Type:
objectReference to a study/site location for an ODM User.
Show Source
-
LocationOID: string
OID/ID for the associated location.Example:
LOC101
Nested Schema : LoginName
Type:
objectLogin name or identifier for the ODM User.
Show Source
-
Value: string
Login/account name for the user.Example:
INVEST001
Nested Schema : Organization
Type:
objectOrganization name associated with the User.
Show Source
-
Value: string
Name of the user's organization.Example:
Site 101 Hospital
Example:
{
"value":"Site 101 Hospital"
}Nested Schema : Pager
Type:
objectPager number or contact info for an ODM User.
Show Source
-
Value: string
Pager contact number or info.Example:
555-1234
Nested Schema : Phone
Type:
objectPhone number/contact entry for ODM User.
Show Source
-
Value: string
Phone number.Example:
555-9876
Example:
{
"value":"555-9876"
}Nested Schema : Picture
Type:
objectProfile or avatar image info for ODM User.
Show Source
-
ImageType: string
MIME/image type information, e.g. image/jpegExample:
image/jpeg -
PictureFileName: string
Picture filename or image reference.Example:
photo.jpg
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