Hi
I am on the way creating an interface between Espo CRM Meeting and Caldav Calendar. I am reading events from Espo via the REST API in PHP with following piece of code
This way I read all new or modified entries since last update.
What I am missing now are deleted events. As I saw they are marked as deleted but they still available in the system. I saw also that the field "deleted" is available in the meeting response:
[3] => Array
(
[id] => 5c3b3048b90fd4e5b
[name] => Business day
[deleted] =>
[status] => Planned
[dateStart] => 2019-01-25 07:00:00
[dateEnd] => 2019-01-25 16:00:00
[duration] => 32400
[description] => Business day
[createdAt] => 2019-01-13 12:34:16
[modifiedAt] => 2019-01-13 12:34:16
[parentId] => 5be9ee548f5213c86
[parentType] => Contact
[parentName] => Max Musterman
[accountId] =>
[accountName] =>
[createdById] => 5af5a91684f046d99
[createdByName] => Demo User
[modifiedById] =>
[modifiedByName] =>
[assignedUserId] => 5af5a91684f046d99
[assignedUserName] => Demo User
)
But in the moment the meeting is marked as deleted the records is no more available over API.
How can I get also deleted events?
Thank you
Gino
I am on the way creating an interface between Espo CRM Meeting and Caldav Calendar. I am reading events from Espo via the REST API in PHP with following piece of code
PHP Code:
$response = $client->request('GET', 'Meeting', [
'where' => Array(
0 => Array(
'type' => 'after',
'field' => 'modifiedAt',
'value' => '2019-01-12 09:29:23',
'dateTime' => true,
'timeZone' => 'Europe/Berlin'
)
)
]);
What I am missing now are deleted events. As I saw they are marked as deleted but they still available in the system. I saw also that the field "deleted" is available in the meeting response:
[3] => Array
(
[id] => 5c3b3048b90fd4e5b
[name] => Business day
[deleted] =>
[status] => Planned
[dateStart] => 2019-01-25 07:00:00
[dateEnd] => 2019-01-25 16:00:00
[duration] => 32400
[description] => Business day
[createdAt] => 2019-01-13 12:34:16
[modifiedAt] => 2019-01-13 12:34:16
[parentId] => 5be9ee548f5213c86
[parentType] => Contact
[parentName] => Max Musterman
[accountId] =>
[accountName] =>
[createdById] => 5af5a91684f046d99
[createdByName] => Demo User
[modifiedById] =>
[modifiedByName] =>
[assignedUserId] => 5af5a91684f046d99
[assignedUserName] => Demo User
)
How can I get also deleted events?
Thank you
Gino
Comment