Mednet EDC REST API Reference¶
This page summarizes the core behavior of the iMednet REST API. It expands upon API Overview and serves as a quick reference for request structure and filter syntax.
Overview¶
The API exposes clinical study data via JSON responses. Consumers typically use the API to export data to reporting tools, present it in external applications, or compile custom audit trails.
Base URL¶
https://edc.prod.imednetapi.com is the production endpoint. Append an
endpoint route such as /api/v1/edc/studies to access resources.
Security¶
Each request requires x-api-key and x-imn-security-key headers. Keys
should never be shared publicly. Example using curl:
curl -X GET https://edc.prod.imednetapi.com/api/v1/edc/studies/STUDYKEY/sites \
-H 'x-api-key: XXXXXXXX' \
-H 'x-imn-security-key: XXX-XXX-XX-XXXXXX' \
-H 'Content-Type: application/json'
Headers¶
AcceptSupported server response media type. Must be
application/json.x-api-keyValid API key.
x-imn-security-keyValid security key.
Content-TypeSupported request content type. Must be
application/json.
The response includes a Content-Type header indicating the payload
type. It will also be application/json.
HTTP verbs¶
GET retrieves resources while POST is used to insert data.
Status codes¶
200Request succeeded.
202Accepted for asynchronous batch processing (such as
POST /api/v1/edc/studies/{studyKey}/records).400Malformed request or validation failure.
401Authentication failed.
403Authorization error such as an invalid
studyKey.404Resource not found.
409Conflict with the current resource state (mapped to
ConflictError).429Too many requests.
500Unknown server error.
Pagination and sorting¶
Collection GET endpoints accept standard paging and sorting query parameters:
pageZero-based page index (default
0).sizeMaximum number of items returned per page (default
25, maximum500).sortComma-separated property and direction expression
<property>,<asc|desc>(for example,studyKey,ascon/studiesorlogin,ascon/users). Valid sort properties depend on the target resource.
Response envelopes¶
Collection list endpoints return a JSON object containing metadata,
pagination, and data (an array of resource objects):
{
"metadata": { "status": "OK", "method": "GET", "path": "/api/v1/edc/studies", "timestamp": "...", "error": {} },
"pagination": { "currentPage": 0, "size": 25, "totalPages": 1, "totalElements": 1, "sort": [] },
"data": []
}
Batch job endpoints—specifically
POST /api/v1/edc/studies/{studyKey}/records and
GET /api/v1/edc/studies/{studyKey}/jobs/{batchId}—return flat JSON objects
directly without metadata, pagination, or data wrappers.
Filtering¶
Supported list endpoints accept a filter query string composed of key,
operator, and value segments. recordDataFilter targets dynamic question data
within a record on GET /api/v1/edc/studies/{studyKey}/records.
Not all endpoints support query filtering:
GET /api/v1/edc/studies/{studyKey}/intervals (/intervals),
GET /api/v1/edc/studies/{studyKey}/users (/users), and
GET /api/v1/edc/studies/{studyKey}/jobs/{batchId} (/jobs/{batchId})—as
well as POST endpoints—do not accept filter or recordDataFilter.
Attributes¶
Valid attributes vary per endpoint. Common examples include studyKey for
studies, siteId and siteName for sites, formId and formKey for
forms, and dateCreated or dateModified for most resources.
Operators¶
< less than
<= less than or equal to
> greater than
>= greater than or equal to
== equal
!= not equal
=~ contains (for recordDataFilter)
Connectors¶
; (or and) logical AND
, (or or) logical OR
Semicolon (;) and comma (,) connectors cannot be mixed within a single
filter or recordDataFilter expression. Combining ; and , outside
double quotes fails validate_connector_exclusivity()
in the SDK and returns HTTP 400 Bad Request from the API.
Dates¶
Dates are UTC timestamps. When filtering visits by startDate,
endDate, dueDate or visitDate use the YYYY-MM-DD format.
Filter examples¶
formId>10Forms with an ID greater than 10.
formType=="SUBJECT"Subject related forms.
formId>10;formType=="SUBJECT"Subject related forms with ID greater than 10.
siteName=="Bright Test Site"Sites matching a quoted name containing spaces.
dateCreated>2000-11-05T14:00:00ZEntities created after 5 November 2000 14:00 UTC.
visitDate<2019-03-19Visits occurring before 19 March 2019.
recordDataFilter examples¶
AESER==SeriousSerious adverse events.
AESER==Serious;GENDER==MaleSerious adverse events for male subjects.
AESER=~bronchAdverse events containing
bronch.
Notes¶
White space is not allowed outside double quotes (including between attribute,
operator, and value); wrap string values containing spaces in double quotes.
Mixing ; (AND) and , (OR) connectors in the same expression is invalid
and returns HTTP 400 Bad Request. Both filter and recordDataFilter
require unique attributes in AND clauses and are case sensitive.
Error responses¶
When a request fails, details are returned in the metadata section of the
response body. Validation errors include the offending field and value.
Example:
{
"metadata": {
"status": "BAD_REQUEST",
"path": "/api/v1/edc/studies",
"timestamp": "2018-10-18 05:46:29",
"error": {
"code": "1000",
"description": "Field raised validation errors",
"field": {
"attribute": "page",
"value": "XX"
}
}
}
}
Error response fields¶
codeError code
descriptionError description message
field.attributeOrigination request attribute which caused the error
field.valueThe value of request attribute passed in the request
Error codes¶
1000Validation error. Request contain invalid value.
9000Unknown error. Please contact Mednet support for assistance.
9001Unauthorized error. Insufficient permission to retrieve data.
Clinical Resource Endpoints¶
The Mednet EDC REST API provides endpoint specifications for thirteen clinical
platform resources. All routes require x-api-key and x-imn-security-key
headers. Query filtering conforms to the syntax detailed in Filtering.
Studies¶
Clinical study protocols, site configuration metadata, and trial registry records.
List studies¶
HTTP Route
GET /api/v1/edc/studies
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list studies. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"sponsorKey": "<string>",
"studyKey": "<string>",
"studyId": "<integer>",
"studyName": "<string>",
"studyDescription": "<string>",
"studyType": "<string>",
"dateCreated": "<string>",
"dateModified": "<string>",
"lastUpdated": "<string>"
},
{
"sponsorKey": "<string>",
"studyKey": "<string>",
"studyId": "<integer>",
"studyName": "<string>",
"studyDescription": "<string>",
"studyType": "<string>",
"dateCreated": "<string>",
"dateModified": "<string>",
"lastUpdated": "<string>"
}
]
}
Forms¶
Case Report Form (CRF) templates, versioned revisions, and clinical layout specifications.
List forms¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/forms
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list forms. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"formId": "<integer>",
"formKey": "<string>",
"formName": "<string>",
"formType": "<string>",
"revision": "<integer>",
"dateCreated": "<string>",
"dateModified": "<string>",
"disabled": "<boolean>",
"eproForm": "<boolean>",
"allowCopy": "<boolean>",
"embeddedLog": false,
"enforceOwnership": false,
"otherForms": "<boolean>",
"userAgreement": false,
"lastUpdated": "<string>",
"subjectRecordReport": "<boolean>",
"unscheduledVisit": "<boolean>"
},
{
"studyKey": "<string>",
"formId": "<integer>",
"formKey": "<string>",
"formName": "<string>",
"formType": "<string>",
"revision": "<integer>",
"dateCreated": "<string>",
"dateModified": "<string>",
"disabled": "<boolean>",
"eproForm": "<boolean>",
"allowCopy": "<boolean>"
}
]
}
Variables¶
Clinical study variables, CRF question definitions, data types, and codelist references.
List variables¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/variables
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list variables. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"variableId": "<integer>",
"variableType": "<string>",
"variableName": "<string>",
"sequence": "<integer>",
"revision": "<integer>",
"dateCreated": "<string>",
"dateModified": "<string>",
"formId": "<integer>",
"formKey": "<string>",
"formName": "<string>",
"blinded": false,
"deleted": false,
"disabled": false,
"lastUpdated": "<string>",
"label": "<string>",
"variableOid": "<string>"
},
{
"studyKey": "<string>",
"variableId": "<integer>",
"variableType": "<string>",
"variableName": "<string>",
"sequence": "<integer>",
"revision": "<integer>",
"dateCreated": "<string>",
"dateModified": "<string>",
"formId": "<integer>",
"formKey": "<string>",
"formName": "<string>"
}
]
}
Intervals¶
Study visit schedule intervals, timeline phases, and window calculation criteria.
List intervals¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/intervals
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list intervals. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"intervalId": "<integer>",
"intervalName": "<string>",
"intervalDescription": "<string>",
"intervalSequence": "<integer>",
"intervalGroupId": "<integer>",
"intervalGroupName": "<string>",
"disabled": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>",
"actualDate": "",
"actualDateForm": "",
"definedUsingInterval": "",
"dueDateWillBeIn": 0,
"eproGracePeriod": 0,
"negativeSlack": 0,
"positiveSlack": 0,
"timeline": "",
"windowCalculationDate": "",
"windowCalculationForm": "",
"lastUpdated": "<string>",
"forms": [
{
"formId": "<integer>",
"formKey": "<string>",
"formName": "<string>"
}
]
},
{
"studyKey": "<string>",
"intervalId": "<integer>",
"intervalName": "<string>",
"intervalDescription": "<string>",
"intervalSequence": "<integer>",
"intervalGroupId": "<integer>",
"intervalGroupName": "<string>",
"disabled": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>"
}
]
}
Sites¶
Clinical research trial sites, investigator locations, and participant enrollment statuses.
List sites¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/sites
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list sites. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"siteId": "<integer>",
"siteName": "<string>",
"siteEnrollmentStatus": "<string>",
"dateCreated": "<string>",
"dateModified": "<string>",
"lastUpdated": "<string>"
},
{
"studyKey": "<string>",
"siteId": "<integer>",
"siteName": "<string>",
"siteEnrollmentStatus": "<string>",
"dateCreated": "<string>",
"dateModified": "<string>"
}
]
}
Subjects¶
Enrolled clinical study subjects, screening participant entries, and study status records.
List subjects¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/subjects
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list subjects. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"subjectStatus": "<string>",
"siteId": "<integer>",
"siteName": "<string>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>",
"enrollmentStartDate": "",
"subjectOid": "",
"lastUpdated": "<string>",
"keywords": [
{
"keywordName": "<string>",
"keywordKey": "<string>",
"keywordId": 1,
"dateAdded": "2020-07-20 14:05:00"
}
]
},
{
"studyKey": "<string>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"subjectStatus": "<string>",
"siteId": "<integer>",
"siteName": "<string>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>"
}
]
}
Records¶
Clinical data records, form instances, and transactional record creation endpoints.
List records¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/records
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
|
String |
None |
Dynamic question data filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list records. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"intervalId": "<integer>",
"formId": "<integer>",
"formKey": "<string>",
"siteId": "<integer>",
"recordId": "<integer>",
"recordOid": "<string>",
"recordType": "<string>",
"recordStatus": "<string>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>",
"subjectId": "<integer>",
"subjectOid": "<string>",
"subjectKey": "<string>",
"visitId": "<integer>",
"parentRecordId": "<integer>",
"recordData": {},
"lastUpdated": "<string>",
"keywords": [
{
"keywordName": "<string>",
"keywordKey": "<string>",
"keywordId": 1,
"dateAdded": "2020-07-20 14:05:00"
}
]
},
{
"studyKey": "<string>",
"intervalId": "<integer>",
"formId": "<integer>",
"formKey": "<string>",
"siteId": "<integer>",
"recordId": "<integer>",
"recordOid": "<string>",
"recordType": "<string>",
"recordStatus": "<string>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>",
"subjectId": "<integer>",
"subjectOid": "<string>",
"subjectKey": "<string>",
"visitId": "<integer>",
"parentRecordId": "<integer>",
"recordData": {}
}
]
}
Create records¶
HTTP Route
POST /api/v1/edc/studies/{studyKey}/records
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
|
String |
Required |
Request media type. Must be |
|
Boolean / String |
Optional |
Enable email notification on record submission ( |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Request Body Schema
The request body must be a JSON array of record objects ([{...}, ...]). In Python, pass a sequence of typed BaseRecordRequest subclasses (RegisterSubjectRequest, CreateNewRecordRequest, UpdateScheduledRecordRequest, or UpdateRecordRequest), mappings, a DataFrame, or a CSV path. Each record object supports the following 14 write attributes plus data:
Field |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Conditional |
Case Report Form (CRF) unique key identifier. Either |
|
Integer |
Conditional |
Numeric CRF identifier accepted in place of |
|
String |
Conditional |
Clinical research site name. Either |
|
Integer |
Conditional |
Numeric site identifier accepted in place of |
|
String |
Conditional |
Participant subject key. One of |
|
Integer |
Conditional |
Numeric participant subject identifier accepted in place of |
|
String |
Conditional |
System-assigned participant subject OID accepted in place of |
|
String |
Conditional |
Scheduled study visit or interval name. Either |
|
Integer |
Conditional |
Numeric study visit or interval identifier accepted in place of |
|
Integer |
Conditional |
Numeric subject visit instance identifier used to target a specific scheduled visit record. |
|
Integer |
Conditional |
Existing numeric record identifier used when updating a specific record directly. |
|
String |
Conditional |
Existing system-assigned record OID accepted in place of |
|
String |
Optional |
Target lifecycle status for the record (e.g., |
|
String |
Optional |
Audit trail reason explaining why an existing record is being modified. |
|
Object |
Required |
Clinical data dictionary mapping item/question variable names to recorded values. |
Sample Request Payload
[
{
"formKey": "<string>",
"subjectKey": "<string>",
"siteName": "<string>",
"intervalName": "<string>",
"data": {}
},
{
"formKey": "<string>",
"subjectKey": "<string>",
"siteName": "<string>",
"intervalName": "<string>",
"data": {}
}
]
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
Accepted |
Successful response: create records. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"jobId": "<string>",
"batchId": "<string>",
"state": "OPEN",
"dateCreated": "",
"dateFinished": "",
"dateStarted": ""
}
Record Revisions¶
Comprehensive 21 CFR Part 11 audit trail revisions, change reasons, and edit histories.
List record revisions¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/recordRevisions
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list record revisions. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"recordRevisionId": "<integer>",
"recordId": "<integer>",
"recordRevision": "<integer>",
"dataRevision": "<integer>",
"recordStatus": "<string>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"siteId": "<integer>",
"formKey": "<string>",
"intervalId": "<integer>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"reasonForChange": "",
"recordOid": "",
"role": "",
"subjectOid": "",
"user": "",
"lastUpdated": "<string>"
},
{
"studyKey": "<string>",
"recordRevisionId": "<integer>",
"recordId": "<integer>",
"recordRevision": "<integer>",
"dataRevision": "<integer>",
"recordStatus": "<string>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"siteId": "<integer>",
"formKey": "<string>",
"intervalId": "<integer>",
"deleted": "<boolean>",
"dateCreated": "<string>"
}
]
}
Codings¶
Medical dictionary coding assignments (MedDRA / WHODrug) for adverse events and treatments.
List codings¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/codings
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list codings. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"siteName": "<string>",
"siteId": "<integer>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"formId": "<integer>",
"formName": "<string>",
"formKey": "<string>",
"recordId": "<integer>",
"variable": "<string>",
"value": "<string>",
"codingId": "<integer>",
"code": "<string>",
"codedBy": "<string>",
"dictionaryName": "<string>",
"dictionaryVersion": "<string>",
"dateCoded": "<string>",
"reason": "",
"revision": "<integer>",
"lastUpdated": "<string>"
},
{
"studyKey": "<string>",
"siteName": "<string>",
"siteId": "<integer>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"formId": "<integer>",
"formName": "<string>",
"formKey": "<string>",
"recordId": "<integer>",
"variable": "<string>",
"value": "<string>",
"codingId": "<integer>",
"code": "<string>",
"codedBy": "<string>",
"dictionaryName": "<string>",
"dictionaryVersion": "<string>",
"dateCoded": "<string>",
"lastUpdated": "<string>"
}
]
}
Queries¶
Clinical data discrepancy queries, resolution comments, and clarification requests.
List queries¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/queries
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list queries. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"studyKey": "<string>",
"subjectId": "<integer>",
"annotationId": "<integer>",
"description": "<string>",
"recordId": "<integer>",
"variable": "<string>",
"subjectKey": "<string>",
"dateCreated": "<string>",
"dateModified": "<string>",
"annotationType": "",
"subjectOid": "",
"type": "",
"lastUpdated": "<string>",
"queryComments": [
{
"sequence": "<integer>",
"annotationStatus": "<string>",
"user": "<string>",
"comment": "<string>",
"closed": "<boolean>",
"date": "<string>"
}
]
},
{
"studyKey": "<string>",
"subjectId": "<integer>",
"annotationId": "<integer>",
"description": "<string>",
"recordId": "<integer>",
"variable": "<string>",
"subjectKey": "<string>",
"dateCreated": "<string>",
"dateModified": "<string>"
}
]
}
Visits¶
Subject visit event instances, milestone completion dates, and window compliance records.
List visits¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/visits
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
String |
None |
Attribute query filter expression (see Filtering). |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list visits. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"visitId": "<integer>",
"studyKey": "<string>",
"intervalId": "<integer>",
"intervalName": "<string>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"dueDate": "<string>",
"visitDate": "<string>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>",
"visitDateForm": "",
"visitDateQuestion": "",
"lastUpdated": "<string>"
},
{
"visitId": "<integer>",
"studyKey": "<string>",
"intervalId": "<integer>",
"intervalName": "<string>",
"subjectId": "<integer>",
"subjectKey": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"dueDate": "<string>",
"visitDate": "<string>",
"deleted": "<boolean>",
"dateCreated": "<string>",
"dateModified": "<string>"
}
]
}
Users¶
User accounts, role assignments, and investigator study access permissions.
List users¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/users
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
Query Parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
Integer |
|
Zero-based page index for paged results. |
|
Integer |
|
Maximum number of records to return per page (maximum |
|
String |
|
Sorting expression (e.g. |
|
Boolean |
|
Whether to include inactive users in the returned result set. |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: list users. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"metadata": {
"status": "<string>",
"method": "<string>",
"path": "<string>",
"timestamp": "<string>",
"error": {}
},
"pagination": {
"currentPage": "<integer>",
"size": "<integer>",
"totalPages": "<integer>",
"totalElements": "<integer>",
"sort": [
{
"property": "<string>",
"direction": "<string>"
},
{
"property": "<string>",
"direction": "<string>"
}
]
},
"data": [
{
"userId": "<string>",
"login": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"userActiveInStudy": "<boolean>",
"roles": [
{
"dateCreated": [
2026,
5,
13,
14,
6,
50,
612000000
],
"dateModified": [
2026,
5,
13,
14,
6,
50,
613000000
],
"roleId": "<string>",
"communityId": "<integer>",
"name": "<string>",
"description": "<string>",
"level": "<integer>",
"type": "<string>",
"inactive": "<boolean>"
}
]
},
{
"userId": "<string>",
"login": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"userActiveInStudy": "<boolean>"
}
]
}
Jobs¶
Asynchronous batch processing status and progress monitoring for background operations.
Retrieve job status¶
HTTP Route
GET /api/v1/edc/studies/{studyKey}/jobs/{batchId}
Request Headers
Header |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
API key credential for client authentication. |
|
String |
Required |
User security key token for request authorization. |
|
String |
Required |
Response media type. Must be |
Path Variables
Variable |
Type |
Required |
Description |
|---|---|---|---|
|
String |
Required |
Unique key identifying the clinical study protocol. |
|
String |
Required |
Unique batch tracking identifier for asynchronous record creation job. |
Status Codes
Status |
Reason |
Description |
|---|---|---|
|
OK |
Successful response: retrieve job status. |
|
Bad Request |
Invalid query parameters, missing required fields, or malformed JSON payload. |
|
Unauthorized |
Missing or invalid |
|
Forbidden |
Insufficient permissions to access clinical study resources or invalid studyKey. |
|
Not Found |
Resource, study key, or record identifier not found. |
|
Too Many Requests |
API rate limit threshold exceeded for current credentials. |
|
Server Error |
Internal server error occurred during request processing. |
Sample Response Payload
{
"jobId": "<string>",
"batchId": "<string>",
"state": "COMPLETED",
"dateCreated": "<string>",
"dateStarted": "<string>",
"dateFinished": "<string>"
}