...
- Are there multiple versions of a form for a single accessRequirement? No. Forms are established with the data contributors. Once it is established, we never changed it.
- Does form ties to accessRequirement? Yes.
- Once a form is created for an accessRequirement/ data set, is there a need to update it? No.
Form |
---|
String id |
Long accessRequirementId |
String name |
String createdBy |
Long createdOn |
List<Field> fields |
String instructions |
...
DataAccessRequest |
---|
String requestorId |
List<String> accessorIdList |
String formId |
Long accessRequirementId |
String researchStatement |
List<Value> values |
List<String> attachments |
DataAccessRequestResult |
---|
String id |
String requestorId |
List<String> accessorIdList |
String formId |
Long accessRequirementId |
Long createdOn |
String researchStatement |
List<Value> values |
List<String> attachments |
DataAccessRequestStatus status (SUBMITTED, APPROVED, REJECTED, EXPIRED) |
String reason |
Long modifiedOn |
String modifiedBy |
Long expiredOn |
...
Action | Intended User | URI | Method | Request Params | Request Body | Response Body | |
---|---|---|---|---|---|---|---|
7 | create a request | any Synapse User | /dataAccessRequest | POST | DataAccessRequest | DataAccessRequestResult | |
8 | retrieve requests for accessRequirementId | ACT | /dataAccessRequests | GET | accessRequirementIds, limit (max 20), offset, filter (SUBMITTED, APPROVED, REJECTED, EXPIRED), sort (CREATED_ON) | DataAccessRequestList | |
9 | delete a request | requestor | /dataAccessRequest/{dataAccessRequestId} | DELETE | |||
10 | change request status | ACT | /dataAccessRequest/{dataAccessRequestId} | PUT | ChangeDataAccessRequest |
...