TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

GET api/2.0/community/event/{feedid} This function requires authentication

Description

Returns the detailed information on the event with the ID specified in the request.

Parameters
Name Description Type Example
feedid
sent in url
Event ID number 1234
Example
GET api/2.0/community/event/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Event information

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": 10,
    "Title": "Manager",
    "Created": "2020-12-07T13:56:02.2729203Z",
    "Updated": "2020-12-07T13:56:02.2729203Z",
    "Type": 1,
    "CreatedBy": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DisplayName": "Mike Zanyatski",
      "Title": "Manager",
      "AvatarSmall": "url to small avatar",
      "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "Text": "Text of feed",
    "Poll": {
      "PollType": 0,
      "EndDate": "2020-12-07T13:56:02.2859248Z",
      "StartDate": "2020-12-07T13:56:02.2859248Z",
      "Votes": [
        {
          "Id": 133,
          "Name": "Variant 1",
          "Votes": 100
        }
      ],
      "Voted": false
    }
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>10</Id>
    <Title>Manager</Title>
    <Created>2020-12-07T13:56:02.2729203Z</Created>
    <Updated>2020-12-07T13:56:02.2729203Z</Updated>
    <Type>1</Type>
    <CreatedBy>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <DisplayName>Mike Zanyatski</DisplayName>
      <Title>Manager</Title>
      <AvatarSmall>url to small avatar</AvatarSmall>
      <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
    </CreatedBy>
    <Text>Text of feed</Text>
    <Poll>
      <PollType>0</PollType>
      <EndDate>2020-12-07T13:56:02.2859248Z</EndDate>
      <StartDate>2020-12-07T13:56:02.2859248Z</StartDate>
      <Votes>
        <Id>133</Id>
        <Name>Variant 1</Name>
        <Votes>100</Votes>
      </Votes>
      <Voted>False</Voted>
    </Poll>
  </response>
</result>