GET /api/v1/edc/studies/PHARMADEMO/forms?page=0&size=25&sort=formId%2CASC&filter=formId%3D%3D10265 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Given a StudyKey, fetch the set of forms. A form is a design resource that represents an electronic clinical case report form (eCRF). A single form contains many questions. It is related to records in that each record is a single instance of a form for a given subject.
A GET
request is used to access the index
GET /api/v1/edc/studies/PHARMADEMO/forms?page=0&size=25&sort=formId%2CASC&filter=formId%3D%3D10265 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters are required.
Parameter | Description |
---|---|
|
StudyKey to retrieve list of forms |
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/forms",
"timestamp" : "2024-11-04 16:03:19",
"error" : { }
},
"pagination" : {
"currentPage" : 0,
"size" : 25,
"totalPages" : 1,
"totalElements" : 1,
"sort" : [ {
"property" : "formId",
"direction" : "ASC"
} ]
},
"data" : [ {
"studyKey" : "PHARMADEMO",
"formId" : 1,
"formKey" : "FORM_1",
"formName" : "Mock Form 1",
"formType" : "Subject",
"revision" : 1,
"embeddedLog" : false,
"enforceOwnership" : false,
"userAgreement" : false,
"subjectRecordReport" : false,
"unscheduledVisit" : false,
"otherForms" : false,
"eproForm" : false,
"allowCopy" : true,
"disabled" : false,
"dateCreated" : "2024-11-04 16:03:19",
"dateModified" : "2024-11-04 16:03:20"
} ]
}
Path | Type | Description |
---|---|---|
|
|
Http status |
|
|
Http method |
|
|
Requested URI path |
|
|
Timestamp when response was generated |
|
|
Detail error message from request if error occur |
|
|
Current index page |
|
|
Size per page |
|
|
Total pages return from search |
|
|
Total elements return from search |
|
|
Sort property |
|
|
Sort direction |
|
|
Unique study key for a given study |
|
|
Mednet Form ID |
|
|
Form key |
|
|
Name of the eCRF |
|
|
eCRF Type. For example: Subject/Site |
|
|
Number of modifications of the form metadata |
|
|
Embedded Log checkbox value on the form attributes |
|
|
Enforce Ownership checkbox value on the form attributes |
|
|
User Agreement checkbox value on the form attributes |
|
|
Subject Record Report checkbox value on the form attributes |
|
|
Include in Unscheduled Visits checkbox value on the form attributes |
|
|
Include in Other Forms checkbox value on the form attributes |
|
|
Is ePRO checkbox value on the form attributes |
|
|
Allow Copy checkbox value on the form attributes |
|
|
Form is soft delete status |
|
|
Date when this form was created |
|
|
Date when this form was last modified |