UpdateEventData
UpdateEventData
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
updateeventdataObjectRequiredupdateeventdata request body object.
dataUuidStringOptional. The start time of the target messages. Make sure that InRange is transferred to updateMode.
dataStartTimeLongOptional. The start time of the target messages. Make sure that InRange is transferred to updateMode.
dataEndTimeLongOptional. The end time of the target messages. Make sure that InRange is transferred to updateMode.
updateModeStringRequiredThe range of the target messages to be updated. Options: OnlyOne: updates only the specified messages. InRange: updates the messages generated in a specified time range. All: updates all messages.
readStatusStringOptional. The read status of the updated messages.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/zwatch/events/actions
/zstack/v1/zwatch/events/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/zwatch/events/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updateeventdata":{"dataUuid":"<dataUuid>","dataStartTime":1,"dataEndTime":1,"updateMode":"<updateMode>","readStatus":"<readStatus>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
