TRY NEW VERSION

GET api/2.0/community/event/@search/{query} This function requires authentication

Description

Returns a list of events matching the search query specified in the request with the event titles, dates of creation and update, event types, and authors.

Parameters
Name Description Type Example
query
sent in url
Search query string some text
Example
GET api/2.0/community/event/@search/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of events

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/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>
  </response>
</result>