After selecting one or more eventDisciplines to add to an event, the data of the eventDiscipline need to be transferred by a second API call.
The data format consists of an array of items, with each item combining multiple objects related to each other, such as a club, club member, category, etc…
Although this data format implies some repetition of the same information, it was chosen, because it does not require extra logic to find out which items are related to each other and allows to reuse the same logic as for the import of a csv file.
Post your comment on this topic.