v1.0
get
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/events
Retrieves a list of events in a study based on start date and end date. Rights: OrsSubjectVisitGet. If no events are specified, all the events in action types are returned. If event types are specified, but none of them are valid, an empty list is returned.
Request
Path Parameters
-
mode(required): string
Indicates the operational mode of the study. Accepted values: active, test, or training.Example:
test -
studyId(required): string(uuid)
Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
A1B2C3D4E5F6478899AABBCCDDEEFF00
Query Parameters
-
endDate(required): string
Pattern:
^(0[1-9]|[12]\d|3[01])-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-\d{4} ([01]\d|2[0-3]):[0-5]\d$End date and time in dd-MMM-yyyy HH:mm format.Example:31-Jan-2026 23:59 -
events: array[string]
List of events.Example:
RANDOMIZATION -
startDate(required): string
Pattern:
^(0[1-9]|[12]\d|3[01])-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-\d{4} ([01]\d|2[0-3]):[0-5]\d$Start date and time in dd-MMM-yyyy HH:mm format.Example:01-Jan-2026 00:00
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : EventsByType
Type:
objectEvent details.
Show Source
-
eventType: string
Allowed Values:
[ "New", "Screened", "Randomized" ]Event type.Example:New -
ids: array
ids
Example:
{
"eventType":"New",
"ids":[
"B1B8327AFAA6412287106192AB5984EF"
]
}Examples
500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
objectExamples