v1

latestOpenAPI 3.0.02026-07-17166300328.1 KB
Event Report

Add Event Report

post/eventReports/add/{eventId}

Path parameters

string required
OR
string uuid required
Example:12345

UUID or numeric ID of the event

Request body

uuidstring uuid
event_idstring
namestring
contentstring
distribution'0' | '1' | '2' | '3' | '4' | '5'

Who will be able to see this event once it becomes published and eventually when it becomes pulled:

  • 0 - Your organization only
  • 1 - This community only
  • 2 - Connected communities
  • 3 - All communities
  • 4 - Sharing group
  • 5 - Inherit Event
timestampstring nullable
deletedboolean

Example request

{
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "event_id": "12345",
  "name": "Report of the incident",
  "distribution": "4",
  "sharing_group_id": "1",
  "timestamp": "1617875568"
}

Response

An Event Report

Example response

{
  "EventReport": {
    "id": "12345",
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "event_id": "12345",
    "name": "Report of the incident",
    "distribution": "4",
    "sharing_group_id": "1",
    "timestamp": "1617875568"
  }
}