Skip to content
Developer

SignupDistribution

Events4 EndpointsEvent / SignupDistribution

Run distribution algorithm for a media questionnaire's event selections.

POST/api/event/signup_distribution/run

Returns results grouped by field/time slot.

Responses

default

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/event/signup_distribution/run \
  --header 'x-iw-jwt-token: <TOKEN>'

Update assignments manually (re-assign children to different events).

POST/api/event/signup_distribution/update

Accepts grouped fields format: {data: {fields: {fieldLabel: {assignments: [...]}}}}

Responses

default

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/event/signup_distribution/update \
  --header 'x-iw-jwt-token: <TOKEN>'

Export distribution assignments as CSV compatible with ImportSchoolLinkEventParticipantDataHandler.

POST/api/event/signup_distribution/export

Accepts either grouped format {data: {fields: {...}}} or flat {data: {assignments: [...]}}.

Responses

default

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/event/signup_distribution/export \
  --header 'x-iw-jwt-token: <TOKEN>'

Directly create BaseEventSignUp records from distribution assignments.

POST/api/event/signup_distribution/execute

Accepts either grouped format {data: {fields: {...}}} or flat {data: {assignments: [...]}}.

Responses

default

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/event/signup_distribution/execute \
  --header 'x-iw-jwt-token: <TOKEN>'