ODM extract for meta data
get
/ec-datahub-svc/rest/v2.0/studies/{studyId}/{mode}/odm/metadata
This API is used to extract meta data in CDISC ODM-XML format. Right: ODMMetaDataGet.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training. This will retrieve all study versions currently in that mode container, plus the study versions that were archived from that mode container.
-
studyId(required): string
ID of the study
Query Parameters
-
fromTimestamp: string
Extract study versions that were created after this timestamp only in the ODM Extract. It accepts yyy-MM-dd'T'HH:mm:ss.SSS'Z' date format.
-
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.
-
limit: integer(int32)
The number of study versions, beginning with the offset, that you want to retrieve. Offset must be provided to use this parameter. For example, if you want to retrieve study versions 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.
-
offset: integer(int32)
An order number that specifies which study version you want to start retrieving meta data from. If provided, you also need to specify a value for the limit parameter.
-
studyVersion: string
The version of the study to extract data from in the ODM Extract.
-
studyVersionSummary: string
If the value is true, only summary data is displayed for the study version in the ODM extract. If the value is false, both summary data and complete design data is displayed for the study version in the ODM Extract. It accepts true or false, or y or n. The default value is false.
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:
Show Source
object
-
archival: string
Allowed Values:
[ "YES" ]
-
asOfDateTime: string
(date-time)
-
count: integer
(int32)
-
creationDateTime: string
(date-time)
-
description: string
-
excludeHiddenData: string
-
fileOID: string
-
fileType: string
Allowed Values:
[ "SNAPSHOT", "TRANSACTIONAL" ]
-
fromDate: string
(date-time)
-
granularity: string
Allowed Values:
[ "ALL", "METADATA", "ADMIN_DATA", "REFERENCE_DATA", "ALL_CLINICAL_DATA", "SINGLE_SITE", "SINGLE_SUBJECT" ]
-
hasMore: boolean
-
id: string
-
includeCOExtensions: string
-
includeLocations: string
-
includeUsers: string
-
limit: integer
(int32)
-
odmVersion: string
-
offset: integer
(int32)
-
originator: string
-
priorFileOID: string
-
sourceSystem: string
-
sourceSystemVersion: string
-
study: array
Study
-
studyMode: string
-
studyVersion: string
-
studyVersionSummary: boolean
-
toDate: string
(date-time)
-
totalResults: integer
(int32)
Nested Schema : MetaDataVersion
Type:
Show Source
object
-
codeList: array
CodeList
-
conditionDef: array
ConditionDef
-
description: string
-
formDef: array
formDef
-
imputationMethod: array
ImputationMethod
-
include: object
Include
-
itemDef: array
itemDef
-
itemGroupDef: array
itemGroupDef
-
methodDef: array
MethodDef
-
name: string
-
oid: string
-
presentation: array
Presentation
-
protocol: object
Protocol
-
studyEventDef: array
studyEventDef
Nested Schema : CodeList
Type:
Show Source
object
-
alias: array
Alias
-
codeListItem: array
codeListItem
-
dataType: string
Allowed Values:
[ "INTEGER", "FLOAT", "TEXT", "STRING" ]
-
description: object
Description
-
enumeratedItem: array
EnumeratedItem
-
externalCodeList: object
ExternalCodeList
-
name: string
-
oid: string
-
sasformatName: string
Nested Schema : FormDef
Type:
Show Source
object
-
alias: array
Alias
-
archiveLayout: array
ArchiveLayout
-
description: object
Description
-
itemGroupRef: array
ItemGroupRef
-
name: string
-
oid: string
-
repeating: string
Allowed Values:
[ "YES", "NO" ]
Nested Schema : ItemGroupRef
Type:
Show Source
object
-
collectionExceptionConditionOID: string
-
itemGroupOID: string
-
mandatory: string
Allowed Values:
[ "YES", "NO" ]
-
orderNumber: integer
Nested Schema : ItemDef
Type:
Show Source
object
-
alias: array
Alias
-
codeListRef: object
CodeListRef
-
comment: string
-
dataType: string
Allowed Values:
[ "INTEGER", "FLOAT", "DATE", "DATETIME", "TIME", "TEXT", "STRING", "DOUBLE", "URI", "BOOLEAN", "HEX_BINARY", "BASE_64_BINARY", "HEX_FLOAT", "BASE_64_FLOAT", "PARTIAL_DATE", "PARTIAL_TIME", "PARTIAL_DATETIME", "DURATION_DATETIME", "INTERVAL_DATETIME", "INCOMPLETE_DATETIME", "INCOMPLETE_DATE", "INCOMPLETE_TIME" ]
-
description: object
Description
-
externalQuestion: object
ExternalQuestion
-
length: integer
-
measurementUnitRef: array
MeasurementUnitRef
-
name: string
-
oid: string
-
origin: string
-
question: object
Question
-
rangeCheck: array
RangeCheck
-
role: array
Role
-
sasfieldName: string
-
sdsvarName: string
-
significantDigits: integer
Nested Schema : RangeCheck
Type:
Show Source
object
-
checkValue: array
CheckValue
-
comparator: string
Allowed Values:
[ "LT", "LE", "GT", "GE", "EQ", "NE", "IN", "NOTIN" ]
-
errorMessage: object
ErrorMessage
-
formalExpression: array
FormalExpression
-
measurementUnitRef: object
MeasurementUnitRef
-
softHard: string
Allowed Values:
[ "SOFT", "HARD" ]
Nested Schema : ItemGroupDef
Type:
Show Source
object
-
alias: array
Alias
-
comment: string
-
description: object
Description
-
domain: string
-
isReferenceData: string
Allowed Values:
[ "YES", "NO" ]
-
itemRef: array
ItemRef
-
name: string
-
oid: string
-
origin: string
-
purpose: string
-
repeating: string
Allowed Values:
[ "YES", "NO" ]
-
role: string
-
sasdatasetName: string
Nested Schema : MethodDef
Type:
Show Source
object
-
alias: array
Alias
-
description(required): object
Description
-
formalExpression: array
FormalExpression
-
name: string
-
oid: string
-
type: string
Allowed Values:
[ "COMPUTATION", "IMPUTATION", "TRANSPOSE", "OTHER" ]
Nested Schema : StudyEventRef
Type:
Show Source
object
-
collectionExceptionConditionOID: string
-
mandatory: string
Allowed Values:
[ "YES", "NO" ]
-
orderNumber: integer
-
studyEventOID: string
Nested Schema : StudyEventDef
Type:
Show Source
object
-
alias: array
Alias
-
category: string
-
description: object
Description
-
formRef: array
FormRef
-
name: string
-
oid: string
-
repeating: string
Allowed Values:
[ "YES", "NO" ]
-
type: string
Allowed Values:
[ "SCHEDULED", "UNSCHEDULED", "COMMON" ]
Nested Schema : FormRef
Type:
Show Source
object
-
collectionExceptionConditionOID: string
-
formOID: string
-
mandatory: string
Allowed Values:
[ "YES", "NO" ]
-
orderNumber: integer
400 Response
'Missing / invalid data'
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object