monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.4k stars 2.13k forks source link

I Can not find Life Event API in the Documentation #6021

Open RocketRene opened 2 years ago

RocketRene commented 2 years ago

I am an API Beginner and I use n8n.io to build my solution. Its absolutley possible that I just make something wrong. I want to track attendance for multiple people in a simple and fast way. I have custom life events for attendance tracking (attended, not attended with/without excuse) In order to collect data fast and easy I have a small form.

My problem is that I can't post life events to Monica.

image

I tried all sorts of combinations.

In an ideal scenario, I want to create life events based on contact_id, lifeevent_id and current date.

I did not find anything about life events in the API Documentation, only this file https://github.com/monicahq/monica/blob/6a0af31efc66eb49222e6328fa454c2d7d038e43/app/Http/Controllers/Api/Contact/ApiLifeEventController.php But I don't understand it...

Can someone please try to help me debug my API Request ?

Thank you

particleflux commented 2 years ago

It's all in the error message, just read it? :) A few minutes investigation would probably have solved this.