Microsoft 365 Calendar - Add Events API CALL

Hello,
I’m trying to create a Calendar 365 API call but I have no idea how.

I need to create all-day events, but I miss the classic all-day event creation.

Can you give me a demonstration of how to get it working?

Thx