Bulk update events
patch
/sia/v1/event/bulkUpdate
Update the events in bulk using the given operation records. Updates to owner name, event status and event analysis status are supported.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : EventBulkUpdateRecord
Type:
Show Source
object
-
analysisStatus: string
Event analysis status to be updated for the event.
-
eventStatus: string
Event status to be updated for the event.
-
id: string
Event document id for which update operation is to be performed.
-
ownerName: string
Owner name to be updated for the event.
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Events updated successfully.
Root Schema : BulkOperationResult
Type:
Show Source
object
-
errors: array
errors
Error records to store the information of the failed operations on the entities.
-
hasErrors: boolean
Flag to indicate if there are any errors.
Nested Schema : errors
Type:
array
Error records to store the information of the failed operations on the entities.
Show Source
Nested Schema : ErrorRecord
Type:
Show Source
object
-
errorMessage: string
Error message indicating the reason for the failure.
-
id: string
Document id of the entity for which the operation failed.
Examples
400 Response
The request isn't valid
401 Response
The request is unauthorized
403 Response
The request is forbidden
404 Response
The requested resource not found
500 Response
An Internal Server Error has occurred