POST v1/{Client}/Events

Adds one Event.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

Body Parameters

GranicusEvent object to be inserted. Note that EventId is not required to be set.

GranicusEvent
NameDescriptionTypeAdditional information
EventId

integer

None.

EventGuid

string

None.

EventLastModifiedUtc

date

None.

EventRowVersion

Collection of byte

None.

EventBodyId

integer

None.

EventBodyName

string

None.

EventDate

date

Required

EventTime

string

None.

EventVideoStatus

string

None.

EventAgendaStatusId

integer

None.

EventAgendaStatusName

string

None.

EventMinutesStatusId

integer

None.

EventMinutesStatusName

string

None.

EventLocation

string

None.

EventAgendaFile

string

None.

EventMinutesFile

string

None.

EventAgendaLastPublishedUTC

date

None.

EventMinutesLastPublishedUTC

date

None.

EventComment

string

None.

EventVideoPath

string

None.

EventMedia

string

None.

EventInSiteURL

string

None.

EventItems

Collection of GranicusEventItem

None.

Request Formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "EventGuid": "sample string 2",
  "EventLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
  "EventRowVersion": "QEA=",
  "EventBodyId": 4,
  "EventBodyName": "sample string 5",
  "EventDate": "2024-12-21T11:23:18.507471-05:00",
  "EventTime": "sample string 6",
  "EventVideoStatus": "sample string 7",
  "EventAgendaStatusId": 8,
  "EventAgendaStatusName": "sample string 9",
  "EventMinutesStatusId": 10,
  "EventMinutesStatusName": "sample string 11",
  "EventLocation": "sample string 12",
  "EventAgendaFile": "sample string 13",
  "EventMinutesFile": "sample string 14",
  "EventAgendaLastPublishedUTC": "2024-12-21T11:23:18.507471-05:00",
  "EventMinutesLastPublishedUTC": "2024-12-21T11:23:18.507471-05:00",
  "EventComment": "sample string 15",
  "EventVideoPath": "sample string 16",
  "EventMedia": "sample string 17",
  "EventInSiteURL": "sample string 18",
  "EventItems": [
    {
      "EventItemId": 1,
      "EventItemGuid": "sample string 2",
      "EventItemLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
      "EventItemRowVersion": "QEA=",
      "EventItemEventId": 4,
      "EventItemAgendaSequence": 1,
      "EventItemMinutesSequence": 1,
      "EventItemAgendaNumber": "sample string 5",
      "EventItemVideo": 1,
      "EventItemVideoIndex": 1,
      "EventItemVersion": "sample string 6",
      "EventItemAgendaNote": "sample string 7",
      "EventItemMinutesNote": "sample string 8",
      "EventItemActionId": 1,
      "EventItemActionName": "sample string 9",
      "EventItemActionText": "sample string 10",
      "EventItemPassedFlag": 1,
      "EventItemPassedFlagName": "sample string 11",
      "EventItemRollCallFlag": 1,
      "EventItemFlagExtra": 1,
      "EventItemTitle": "sample string 12",
      "EventItemTally": "sample string 13",
      "EventItemAccelaRecordId": "sample string 14",
      "EventItemConsent": 15,
      "EventItemMoverId": 1,
      "EventItemMover": "sample string 16",
      "EventItemSeconderId": 1,
      "EventItemSeconder": "sample string 17",
      "EventItemMatterId": 1,
      "EventItemMatterGuid": "sample string 18",
      "EventItemMatterFile": "sample string 19",
      "EventItemMatterName": "sample string 20",
      "EventItemMatterType": "sample string 21",
      "EventItemMatterStatus": "sample string 22",
      "EventItemMatterAttachments": [
        {
          "MatterAttachmentId": 1,
          "MatterAttachmentGuid": "sample string 2",
          "MatterAttachmentLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
          "MatterAttachmentRowVersion": "QEA=",
          "MatterAttachmentName": "sample string 4",
          "MatterAttachmentHyperlink": "sample string 5",
          "MatterAttachmentFileName": "sample string 6",
          "MatterAttachmentMatterVersion": "sample string 7",
          "MatterAttachmentIsHyperlink": true,
          "MatterAttachmentBinary": "QEA=",
          "MatterAttachmentIsSupportingDocument": true,
          "MatterAttachmentShowOnInternetPage": true,
          "MatterAttachmentIsMinuteOrder": true,
          "MatterAttachmentIsBoardLetter": true,
          "MatterAttachmentAgiloftId": 13,
          "MatterAttachmentDescription": "sample string 14",
          "MatterAttachmentPrintWithReports": true,
          "MatterAttachmentSort": 16
        },
        {
          "MatterAttachmentId": 1,
          "MatterAttachmentGuid": "sample string 2",
          "MatterAttachmentLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
          "MatterAttachmentRowVersion": "QEA=",
          "MatterAttachmentName": "sample string 4",
          "MatterAttachmentHyperlink": "sample string 5",
          "MatterAttachmentFileName": "sample string 6",
          "MatterAttachmentMatterVersion": "sample string 7",
          "MatterAttachmentIsHyperlink": true,
          "MatterAttachmentBinary": "QEA=",
          "MatterAttachmentIsSupportingDocument": true,
          "MatterAttachmentShowOnInternetPage": true,
          "MatterAttachmentIsMinuteOrder": true,
          "MatterAttachmentIsBoardLetter": true,
          "MatterAttachmentAgiloftId": 13,
          "MatterAttachmentDescription": "sample string 14",
          "MatterAttachmentPrintWithReports": true,
          "MatterAttachmentSort": 16
        }
      ]
    },
    {
      "EventItemId": 1,
      "EventItemGuid": "sample string 2",
      "EventItemLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
      "EventItemRowVersion": "QEA=",
      "EventItemEventId": 4,
      "EventItemAgendaSequence": 1,
      "EventItemMinutesSequence": 1,
      "EventItemAgendaNumber": "sample string 5",
      "EventItemVideo": 1,
      "EventItemVideoIndex": 1,
      "EventItemVersion": "sample string 6",
      "EventItemAgendaNote": "sample string 7",
      "EventItemMinutesNote": "sample string 8",
      "EventItemActionId": 1,
      "EventItemActionName": "sample string 9",
      "EventItemActionText": "sample string 10",
      "EventItemPassedFlag": 1,
      "EventItemPassedFlagName": "sample string 11",
      "EventItemRollCallFlag": 1,
      "EventItemFlagExtra": 1,
      "EventItemTitle": "sample string 12",
      "EventItemTally": "sample string 13",
      "EventItemAccelaRecordId": "sample string 14",
      "EventItemConsent": 15,
      "EventItemMoverId": 1,
      "EventItemMover": "sample string 16",
      "EventItemSeconderId": 1,
      "EventItemSeconder": "sample string 17",
      "EventItemMatterId": 1,
      "EventItemMatterGuid": "sample string 18",
      "EventItemMatterFile": "sample string 19",
      "EventItemMatterName": "sample string 20",
      "EventItemMatterType": "sample string 21",
      "EventItemMatterStatus": "sample string 22",
      "EventItemMatterAttachments": [
        {
          "MatterAttachmentId": 1,
          "MatterAttachmentGuid": "sample string 2",
          "MatterAttachmentLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
          "MatterAttachmentRowVersion": "QEA=",
          "MatterAttachmentName": "sample string 4",
          "MatterAttachmentHyperlink": "sample string 5",
          "MatterAttachmentFileName": "sample string 6",
          "MatterAttachmentMatterVersion": "sample string 7",
          "MatterAttachmentIsHyperlink": true,
          "MatterAttachmentBinary": "QEA=",
          "MatterAttachmentIsSupportingDocument": true,
          "MatterAttachmentShowOnInternetPage": true,
          "MatterAttachmentIsMinuteOrder": true,
          "MatterAttachmentIsBoardLetter": true,
          "MatterAttachmentAgiloftId": 13,
          "MatterAttachmentDescription": "sample string 14",
          "MatterAttachmentPrintWithReports": true,
          "MatterAttachmentSort": 16
        },
        {
          "MatterAttachmentId": 1,
          "MatterAttachmentGuid": "sample string 2",
          "MatterAttachmentLastModifiedUtc": "2024-12-21T11:23:18.507471-05:00",
          "MatterAttachmentRowVersion": "QEA=",
          "MatterAttachmentName": "sample string 4",
          "MatterAttachmentHyperlink": "sample string 5",
          "MatterAttachmentFileName": "sample string 6",
          "MatterAttachmentMatterVersion": "sample string 7",
          "MatterAttachmentIsHyperlink": true,
          "MatterAttachmentBinary": "QEA=",
          "MatterAttachmentIsSupportingDocument": true,
          "MatterAttachmentShowOnInternetPage": true,
          "MatterAttachmentIsMinuteOrder": true,
          "MatterAttachmentIsBoardLetter": true,
          "MatterAttachmentAgiloftId": 13,
          "MatterAttachmentDescription": "sample string 14",
          "MatterAttachmentPrintWithReports": true,
          "MatterAttachmentSort": 16
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<GranicusEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <EventAgendaFile>sample string 13</EventAgendaFile>
  <EventAgendaLastPublishedUTC>2024-12-21T11:23:18.507471-05:00</EventAgendaLastPublishedUTC>
  <EventAgendaStatusId>8</EventAgendaStatusId>
  <EventAgendaStatusName>sample string 9</EventAgendaStatusName>
  <EventBodyId>4</EventBodyId>
  <EventBodyName>sample string 5</EventBodyName>
  <EventComment>sample string 15</EventComment>
  <EventDate>2024-12-21T11:23:18.507471-05:00</EventDate>
  <EventGuid>sample string 2</EventGuid>
  <EventId>1</EventId>
  <EventInSiteURL>sample string 18</EventInSiteURL>
  <EventItems>
    <GranicusEventItem>
      <EventItemAccelaRecordId>sample string 14</EventItemAccelaRecordId>
      <EventItemActionId>1</EventItemActionId>
      <EventItemActionName>sample string 9</EventItemActionName>
      <EventItemActionText>sample string 10</EventItemActionText>
      <EventItemAgendaNote>sample string 7</EventItemAgendaNote>
      <EventItemAgendaNumber>sample string 5</EventItemAgendaNumber>
      <EventItemAgendaSequence>1</EventItemAgendaSequence>
      <EventItemConsent>15</EventItemConsent>
      <EventItemEventId>4</EventItemEventId>
      <EventItemFlagExtra>1</EventItemFlagExtra>
      <EventItemGuid>sample string 2</EventItemGuid>
      <EventItemId>1</EventItemId>
      <EventItemLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</EventItemLastModifiedUtc>
      <EventItemMatterAttachments>
        <GranicusMatterAttachment>
          <MatterAttachmentAgiloftId>13</MatterAttachmentAgiloftId>
          <MatterAttachmentBinary>QEA=</MatterAttachmentBinary>
          <MatterAttachmentDescription>sample string 14</MatterAttachmentDescription>
          <MatterAttachmentFileName>sample string 6</MatterAttachmentFileName>
          <MatterAttachmentGuid>sample string 2</MatterAttachmentGuid>
          <MatterAttachmentHyperlink>sample string 5</MatterAttachmentHyperlink>
          <MatterAttachmentId>1</MatterAttachmentId>
          <MatterAttachmentIsBoardLetter>true</MatterAttachmentIsBoardLetter>
          <MatterAttachmentIsHyperlink>true</MatterAttachmentIsHyperlink>
          <MatterAttachmentIsMinuteOrder>true</MatterAttachmentIsMinuteOrder>
          <MatterAttachmentIsSupportingDocument>true</MatterAttachmentIsSupportingDocument>
          <MatterAttachmentLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</MatterAttachmentLastModifiedUtc>
          <MatterAttachmentMatterVersion>sample string 7</MatterAttachmentMatterVersion>
          <MatterAttachmentName>sample string 4</MatterAttachmentName>
          <MatterAttachmentPrintWithReports>true</MatterAttachmentPrintWithReports>
          <MatterAttachmentRowVersion>QEA=</MatterAttachmentRowVersion>
          <MatterAttachmentShowOnInternetPage>true</MatterAttachmentShowOnInternetPage>
          <MatterAttachmentSort>16</MatterAttachmentSort>
        </GranicusMatterAttachment>
        <GranicusMatterAttachment>
          <MatterAttachmentAgiloftId>13</MatterAttachmentAgiloftId>
          <MatterAttachmentBinary>QEA=</MatterAttachmentBinary>
          <MatterAttachmentDescription>sample string 14</MatterAttachmentDescription>
          <MatterAttachmentFileName>sample string 6</MatterAttachmentFileName>
          <MatterAttachmentGuid>sample string 2</MatterAttachmentGuid>
          <MatterAttachmentHyperlink>sample string 5</MatterAttachmentHyperlink>
          <MatterAttachmentId>1</MatterAttachmentId>
          <MatterAttachmentIsBoardLetter>true</MatterAttachmentIsBoardLetter>
          <MatterAttachmentIsHyperlink>true</MatterAttachmentIsHyperlink>
          <MatterAttachmentIsMinuteOrder>true</MatterAttachmentIsMinuteOrder>
          <MatterAttachmentIsSupportingDocument>true</MatterAttachmentIsSupportingDocument>
          <MatterAttachmentLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</MatterAttachmentLastModifiedUtc>
          <MatterAttachmentMatterVersion>sample string 7</MatterAttachmentMatterVersion>
          <MatterAttachmentName>sample string 4</MatterAttachmentName>
          <MatterAttachmentPrintWithReports>true</MatterAttachmentPrintWithReports>
          <MatterAttachmentRowVersion>QEA=</MatterAttachmentRowVersion>
          <MatterAttachmentShowOnInternetPage>true</MatterAttachmentShowOnInternetPage>
          <MatterAttachmentSort>16</MatterAttachmentSort>
        </GranicusMatterAttachment>
      </EventItemMatterAttachments>
      <EventItemMatterFile>sample string 19</EventItemMatterFile>
      <EventItemMatterGuid>sample string 18</EventItemMatterGuid>
      <EventItemMatterId>1</EventItemMatterId>
      <EventItemMatterName>sample string 20</EventItemMatterName>
      <EventItemMatterStatus>sample string 22</EventItemMatterStatus>
      <EventItemMatterType>sample string 21</EventItemMatterType>
      <EventItemMinutesNote>sample string 8</EventItemMinutesNote>
      <EventItemMinutesSequence>1</EventItemMinutesSequence>
      <EventItemMover>sample string 16</EventItemMover>
      <EventItemMoverId>1</EventItemMoverId>
      <EventItemPassedFlag>1</EventItemPassedFlag>
      <EventItemPassedFlagName>sample string 11</EventItemPassedFlagName>
      <EventItemRollCallFlag>1</EventItemRollCallFlag>
      <EventItemRowVersion>QEA=</EventItemRowVersion>
      <EventItemSeconder>sample string 17</EventItemSeconder>
      <EventItemSeconderId>1</EventItemSeconderId>
      <EventItemTally>sample string 13</EventItemTally>
      <EventItemTitle>sample string 12</EventItemTitle>
      <EventItemVersion>sample string 6</EventItemVersion>
      <EventItemVideo>1</EventItemVideo>
      <EventItemVideoIndex>1</EventItemVideoIndex>
    </GranicusEventItem>
    <GranicusEventItem>
      <EventItemAccelaRecordId>sample string 14</EventItemAccelaRecordId>
      <EventItemActionId>1</EventItemActionId>
      <EventItemActionName>sample string 9</EventItemActionName>
      <EventItemActionText>sample string 10</EventItemActionText>
      <EventItemAgendaNote>sample string 7</EventItemAgendaNote>
      <EventItemAgendaNumber>sample string 5</EventItemAgendaNumber>
      <EventItemAgendaSequence>1</EventItemAgendaSequence>
      <EventItemConsent>15</EventItemConsent>
      <EventItemEventId>4</EventItemEventId>
      <EventItemFlagExtra>1</EventItemFlagExtra>
      <EventItemGuid>sample string 2</EventItemGuid>
      <EventItemId>1</EventItemId>
      <EventItemLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</EventItemLastModifiedUtc>
      <EventItemMatterAttachments>
        <GranicusMatterAttachment>
          <MatterAttachmentAgiloftId>13</MatterAttachmentAgiloftId>
          <MatterAttachmentBinary>QEA=</MatterAttachmentBinary>
          <MatterAttachmentDescription>sample string 14</MatterAttachmentDescription>
          <MatterAttachmentFileName>sample string 6</MatterAttachmentFileName>
          <MatterAttachmentGuid>sample string 2</MatterAttachmentGuid>
          <MatterAttachmentHyperlink>sample string 5</MatterAttachmentHyperlink>
          <MatterAttachmentId>1</MatterAttachmentId>
          <MatterAttachmentIsBoardLetter>true</MatterAttachmentIsBoardLetter>
          <MatterAttachmentIsHyperlink>true</MatterAttachmentIsHyperlink>
          <MatterAttachmentIsMinuteOrder>true</MatterAttachmentIsMinuteOrder>
          <MatterAttachmentIsSupportingDocument>true</MatterAttachmentIsSupportingDocument>
          <MatterAttachmentLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</MatterAttachmentLastModifiedUtc>
          <MatterAttachmentMatterVersion>sample string 7</MatterAttachmentMatterVersion>
          <MatterAttachmentName>sample string 4</MatterAttachmentName>
          <MatterAttachmentPrintWithReports>true</MatterAttachmentPrintWithReports>
          <MatterAttachmentRowVersion>QEA=</MatterAttachmentRowVersion>
          <MatterAttachmentShowOnInternetPage>true</MatterAttachmentShowOnInternetPage>
          <MatterAttachmentSort>16</MatterAttachmentSort>
        </GranicusMatterAttachment>
        <GranicusMatterAttachment>
          <MatterAttachmentAgiloftId>13</MatterAttachmentAgiloftId>
          <MatterAttachmentBinary>QEA=</MatterAttachmentBinary>
          <MatterAttachmentDescription>sample string 14</MatterAttachmentDescription>
          <MatterAttachmentFileName>sample string 6</MatterAttachmentFileName>
          <MatterAttachmentGuid>sample string 2</MatterAttachmentGuid>
          <MatterAttachmentHyperlink>sample string 5</MatterAttachmentHyperlink>
          <MatterAttachmentId>1</MatterAttachmentId>
          <MatterAttachmentIsBoardLetter>true</MatterAttachmentIsBoardLetter>
          <MatterAttachmentIsHyperlink>true</MatterAttachmentIsHyperlink>
          <MatterAttachmentIsMinuteOrder>true</MatterAttachmentIsMinuteOrder>
          <MatterAttachmentIsSupportingDocument>true</MatterAttachmentIsSupportingDocument>
          <MatterAttachmentLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</MatterAttachmentLastModifiedUtc>
          <MatterAttachmentMatterVersion>sample string 7</MatterAttachmentMatterVersion>
          <MatterAttachmentName>sample string 4</MatterAttachmentName>
          <MatterAttachmentPrintWithReports>true</MatterAttachmentPrintWithReports>
          <MatterAttachmentRowVersion>QEA=</MatterAttachmentRowVersion>
          <MatterAttachmentShowOnInternetPage>true</MatterAttachmentShowOnInternetPage>
          <MatterAttachmentSort>16</MatterAttachmentSort>
        </GranicusMatterAttachment>
      </EventItemMatterAttachments>
      <EventItemMatterFile>sample string 19</EventItemMatterFile>
      <EventItemMatterGuid>sample string 18</EventItemMatterGuid>
      <EventItemMatterId>1</EventItemMatterId>
      <EventItemMatterName>sample string 20</EventItemMatterName>
      <EventItemMatterStatus>sample string 22</EventItemMatterStatus>
      <EventItemMatterType>sample string 21</EventItemMatterType>
      <EventItemMinutesNote>sample string 8</EventItemMinutesNote>
      <EventItemMinutesSequence>1</EventItemMinutesSequence>
      <EventItemMover>sample string 16</EventItemMover>
      <EventItemMoverId>1</EventItemMoverId>
      <EventItemPassedFlag>1</EventItemPassedFlag>
      <EventItemPassedFlagName>sample string 11</EventItemPassedFlagName>
      <EventItemRollCallFlag>1</EventItemRollCallFlag>
      <EventItemRowVersion>QEA=</EventItemRowVersion>
      <EventItemSeconder>sample string 17</EventItemSeconder>
      <EventItemSeconderId>1</EventItemSeconderId>
      <EventItemTally>sample string 13</EventItemTally>
      <EventItemTitle>sample string 12</EventItemTitle>
      <EventItemVersion>sample string 6</EventItemVersion>
      <EventItemVideo>1</EventItemVideo>
      <EventItemVideoIndex>1</EventItemVideoIndex>
    </GranicusEventItem>
  </EventItems>
  <EventLastModifiedUtc>2024-12-21T11:23:18.507471-05:00</EventLastModifiedUtc>
  <EventLocation>sample string 12</EventLocation>
  <EventMedia>sample string 17</EventMedia>
  <EventMinutesFile>sample string 14</EventMinutesFile>
  <EventMinutesLastPublishedUTC>2024-12-21T11:23:18.507471-05:00</EventMinutesLastPublishedUTC>
  <EventMinutesStatusId>10</EventMinutesStatusId>
  <EventMinutesStatusName>sample string 11</EventMinutesStatusName>
  <EventRowVersion>QEA=</EventRowVersion>
  <EventTime>sample string 6</EventTime>
  <EventVideoPath>sample string 16</EventVideoPath>
  <EventVideoStatus>sample string 7</EventVideoStatus>
</GranicusEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns Id of a created Event as a string value when Accept header is "text/plain"; otherwise returns created Event as an object.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.