Announcement

Collapse
No announcement yet.

Retrieving event information via http web api with change exceptions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Retrieving event information via http web api with change exceptions

    Hi,

    I am retrieving calendar information from ox (7.2.2 rev7) via the http api. "/ajax/calendar/get" returns a json object which may look like this:
    Code:
    {
      "uid": "d7d5a03f-3ab7-4561-9952-6fed4c49205c",
      "users": [
        {
          "id": 14,
          "confirmation": 1
        }
      ],
      "confirmations": [],
      "interval": 1,
      "recurrence_type": 1,
      "recurrence_start": "1375056000000",
      "organizerId": 14,
      "participants": [
        {
          "id": 14,
          "type": 1
        }
      ],
      "number_of_attachments": 0,
      "id": 2374,
      "creation_date": 1375121247000,
      "timezone": "Europe\/Berlin",
      "private_flag": false,
      "last_modified": 1375121500536,
      "title": "tester12",
      "end_date": 1375126200000,
      "principalId": 0,
      "modified_by": 14,
      "recurrence_id": 2374,
      "created_by": 14,
      "color_label": 0,
      "organizer": "",
      "folder_id": 114,
      "alarm": 15,
      "sequence": 2,
      "last_modified_utc": 1375121500536,
      "full_time": false,
      "change_exceptions": [
        1375228800000,
        1375315200000
      ],
      "start_date": 1375122600000,
      "shown_as": 1
    }
    As you can see this is a recurring event (daily) with change exceptions at utc epoch 1375228800 and 1375315200. How do I get the information what was changed at these exceptions?

    regards.
    Last edited by hbwinther; 07-30-2013, 12:06 PM. Reason: removed organizer name from json object

  • #2
    You look in same the folder for other appointments with the same recurrence_id.

    Comment


    • #3
      I did not think about that. Thank you.

      Comment

      Working...
      X