GET /api/v1/edc/studies/PHARMADEMO/visits?page=0&size=25&sort=visitId%2CASC&filter=subjectKey%3D%3D270 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Given a StudyKey, fetch the set of visits. A visit is a conduct resource that represents a single instance of an interval for a subject.
A GET request is used to access the index
GET /api/v1/edc/studies/PHARMADEMO/visits?page=0&size=25&sort=visitId%2CASC&filter=subjectKey%3D%3D270 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters are required.
| Parameter | Description | 
|---|---|
  | 
StudyKey to retrieve list of visits  | 
Request parameters are optional. Default values are used unless specified.
| Parameter | Description | 
|---|---|
  | 
Which index page to be returned. Default value is 0.  | 
  | 
Items per page to be returned. Default value is 25. Maximum items allowed per page is 500  | 
  | 
Name of the property by which to sort the result set. To sort in a particular direction add a comma to the property name and either   | 
  | 
Optional filter search criteria. Must follow correct syntax. Refer to filter section for details.  | 
Below is an example response payload.
{
  "metadata" : {
    "status" : "OK",
    "method" : "GET",
    "path" : "/api/v1/edc/studies/PHARMADEMO/visits",
    "timestamp" : "2025-06-05 21:12:08",
    "error" : { }
  },
  "pagination" : {
    "currentPage" : 0,
    "size" : 25,
    "totalPages" : 1,
    "totalElements" : 1,
    "sort" : [ {
      "property" : "visitId",
      "direction" : "ASC"
    } ]
  },
  "data" : [ {
    "visitId" : 1,
    "studyKey" : "PHARMADEMO",
    "intervalId" : 13,
    "intervalName" : "Day 15",
    "subjectId" : 247,
    "subjectKey" : "111-005",
    "startDate" : "2025-06-05",
    "endDate" : "2025-06-12",
    "dueDate" : null,
    "visitDate" : "2025-06-07",
    "visitDateForm" : "Follow Up",
    "deleted" : false,
    "visitDateQuestion" : "AESEV",
    "dateCreated" : "2025-06-05 21:12:08",
    "dateModified" : "2025-06-05 21:12:08"
  } ]
}
| Path | Type | Description | 
|---|---|---|
  | 
  | 
Http status  | 
  | 
  | 
Http method  | 
  | 
  | 
Requested URI path  | 
  | 
  | 
Timestamp when response was generated  | 
  | 
  | 
Detailed error message from request if an error occured  | 
  | 
  | 
Current index page  | 
  | 
  | 
Size per page  | 
  | 
  | 
Total pages returned from search  | 
  | 
  | 
Total elements returned from search  | 
  | 
  | 
Sort property  | 
  | 
  | 
Sort direction  | 
  | 
  | 
Unique study key for a given study  | 
  | 
  | 
Mednet Subject ID  | 
  | 
  | 
Protocol-assigned subject identifier  | 
  | 
  | 
Unique system identifier for the subject visit instance  | 
  | 
  | 
Unique system indentifier for the related interval  | 
  | 
  | 
User defined identifier for the related interval  | 
  | 
  | 
Subject visit Start Date defined in interval visit window  | 
  | 
  | 
Subject visit Due Date defined in interval visit window  | 
  | 
  | 
Subject visit End Date defined in interval visit window  | 
  | 
  | 
Subject visit Actual Date defined in interval visit window  | 
  | 
  | 
Actual Date Form defined in interval visit window  | 
  | 
  | 
Subject visit deleted flag  | 
  | 
  | 
User defined field identifier  | 
  | 
  | 
Date when this visit was created  | 
  | 
  | 
Date when this visit was last modified  |