Thank you for the example, I used the code you provided by was I see no new event in the "Overview". Whe trying to debug the issue I got "Duplicate entry"
Here is the json used for my test:
[{"action": "create",
"entity_data": {
"__entity_type__": "CalendarEvent",
"end": {"__type__": "datetime", "value": "2017-07-21T23:59:59+00:00"},
"id": "0a645dfc-76c0-55e1-a052-5db8246fb86c",
"name": "Random title used for test",
"start": {"__type__": "datetime", "value": "2017-07-20T00:00:00+00:00"}},
"entity_key": ["0a645dfc-76c0-44e1-a052-5db8246fb86c"],
"entity_type": "CalendarEvent"}]
And the response:
{
"content": "(_mysql_exceptions.IntegrityError) (1062, "Duplicate entry '0a645dfc-76c0-44e1-a052-5db8246fb86c' for key 'PRIMARY'") [SQL: u'INSERT INTO calendar_event (name, start, end, `leave`, everyone, forecast, estimate, effort, project_id, type_id, id, created_by_id, created_at) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'] [parameters: ('Random title used for test', datetime.datetime(2017, 7, 20, 0, 0), datetime.datetime(2017, 7, 21, 23, 59, 59), 0, 0, 0, 0.0, 0.0, None, None, u'0a645dfc-76c0-44e1-a052-5db8246fb86c', 'abb865c6-d666-11e5-a91d-0026b94baeec', datetime.datetime(2017, 7, 20, 17, 49, 14, 499195))]",
"exception": "IntegrityError",
"error_code": null
}
Which means the event DOES exist, but I am unable to see it. When I try to list the CalendarEvents of the project, the new one does not appear. Also, when I try to update the dates of an existing event I get
{"content": "'NoneType' object has no attribute 'date'", "exception": "AttributeError", "error_code": null}