curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer secret" \
-d '{
"data": {
"type": "Meeting",
"attributes": {
"name": "Internal Meeting",
"assigned_user_id": "1",
"location": "Room 101",
"duration_hours": "1",
"duration_minutes": "30",
"date_start": "2023-07-18 07:00:00",
"parent_type": "Accounts"
}
}
}' https://internal.domain.com:8443/legacy/Api/V8/module
That’s a bug when parent_type
field is empty. When creating new entry manually this field will be set by default to Accounts
.