Perform given action in bulk for given subject or visit IDs

post

/ec-dataaction-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/bulkaction

Performs an action in bulk for specified subjects or visits based on query parameters.

Request

Path Parameters
Query Parameters
  • Performs an action (lock or unlock) on the specified Subject or one of its Visits based on the provided input record.
Supported Media Types
Request Body - */* ()
Root Schema : BulkActionDTO
Type: object
Title: BulkActionDTO
Information for bulk action
Show Source
Nested Schema : filters
Type: object
filters for fetching subjectIds. For subject lock either filters or subjectIds should be there
Example:
{
    "sites":[
        "11111111-1111-1111-1111-111111111111",
        "22222222-2222-2222-2222-222222222222"
    ],
    "limit":10,
    "offset":0,
    "order":"ASC",
    "reviewStatus":"PENDING",
    "subjectStates":[
        "SCREENING_INITIATED",
        "RANDOMIZED"
    ],
    "exactSearchKeywords":[
        "keyword1",
        "keyword2"
    ],
    "containsSearchKeywords":[
        "searchKeyword1",
        "searchKeyword2"
    ],
    "nextVisitOnly":true,
    "notStarted":false,
    "projectionTillDate":"01-Jan-2024"
}
Nested Schema : subjectIds
Type: array
List of Subject Ids. For visit lock/unlock only 1 subjectId is allowed
Show Source
Example:
[
    "6AF54DB79B764662B685D68C52AB0B84",
    "6AF54DB79B764662B685D68C52AB0B84"
]
Nested Schema : visitIds
Type: array
List of visits mandatory for visit lock/unlock
Show Source
Example:
[
    {
        "eventId":"D27DB9E0AFE349D7980683CF55A33883",
        "eventInstanceNum":null
    },
    {
        "eventId":"AE8DC4C6B0EA491D951F67CBA6C7A0FA",
        "eventInstanceNum":null
    }
]
Nested Schema : VisitsDTO
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source

400 Response

Bad_Request
Body ()
Root Schema : RestResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top