Skip to content
Developer

Moments

Events13 EndpointsEvent / Moments

List event moments (filterable by event, type and moderation status).

GET/api/event/moment

Query parameters

idinteger
deletedbooleanThis property is used to mark an entity as deleted / archived
momentTypestring
moderationStatusstring
baseEventstring
signUpstringOptional participant reference; null for anonymous contributions via the anonymous event moments token.
createdstring
searchStringstringtext to search for in the list
orderFieldNamestringname of the order field
orderFieldSortstringsorting modeAllowed: DESCASC
pageintegerpage of the list
pageSizeintegernumber of entries for each page
withMaxPageNumberstringreturns the number of pages available as a header if this is set

Responses

200Returns a list of EventMoment objectsarray<EventMoment>

Show fields (13)
  • has_fileboolean

    Virtual serializer property: does this moment have a downloadable file?

  • file_virus_checkedboolean

    Virtual serializer property for the organizer: has the file passed the background virus scan? Null without a file. The organizer list uses this to say "still being checked" instead of showing a preview that answers 404. Not part of the guest groups on purpose - a guest sees only own files, and those are handed out regardless of the scan state.

  • idinteger

    Primary key of the event moment. Internal ID.

  • tokenstring

    Hard-to-guess identifier; used as the public identifier of the moment so numeric ids are never exposed to guests.

  • moment_typestring

    Type of the moment, for example photo or video.

  • moderation_statusstring

    Moderation status of the moment, for example pending or approved.

  • sign_upBaseEventSignUp17

    Optional participant reference; null for anonymous contributions via the anonymous event moments token.

    Show fields (56)
    • bib_range_idinteger
    • age_classstring

      Altersklasse nach DLV, z. B. M40 - berechnet aus Geburtstag, Geschlecht und Eventdatum.

    • idinteger

      Primary key of the sign-up. Internal ID.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • genderstring

      Gender of the participant.

    • tokenstring

      Public token of the sign-up. Used in links instead of the ID.

    • moments_tokenstring

      Participant-bound moments token: allows this participant to use the event moments (digital guestbook) page; uploads via this token are linked to the participant.

    • waitingboolean

      The sign-up is on the waiting list.

    • confirmedboolean

      The sign-up is confirmed.

    • externalboolean

      The sign-up was made by an external party.

    • deletion_reasonstring

      Reason the sign-up was cancelled.

    • billedboolean

      The sign-up was billed.

    • direct_billingboolean
    • direct_billing_check_datestring (date-time)
    • direct_billing_tokenstring
    • wait_list_confirmation_tokenstring
    • wait_list_confirmation_sent_atstring (date-time)
    • wait_list_confirmation_deadlinestring (date-time)
    • wait_list_confirmed_atstring (date-time)
    • wait_list_pending_confirmationboolean
    • wait_list_sort_orderinteger
    • birthdaystring (date-time)

      Birthday of the participant.

    • trialboolean

      Trial date sign-up (Schnuppern): a date sign-up without a course place that uses up one unit of the person's trial pass (eventAccessBudget with sourceType trial)

    • trial_channelstring

      Who booked the trial date: app, trainer, office

    • trial_session_numberinteger

      Number of this trial date within the pass (1 = first), for "Schnuppern 2/3"

    • trial_session_maxinteger

      Trial dates of the pass, for "Schnuppern 2/3"

    • nace_sectionstring

      NACE section code (letter A-U)

    • nace_codestring

      NACE code (numeric like 01.11, 62.01)

    • bib_numberinteger

      Startnummer (Zaehler). Bei PER_PREFIX nur zusammen mit dem Praefix eindeutig. Wird nur ueber BibNumberAssigner gesetzt, stornierte Anmeldungen behalten sie.

    • bib_labelstring

      Angezeigte Startnummer inkl. Praefix, z. B. W0123. Pro Event eindeutig.

    • bib_number_assigned_atstring (date-time)

      Time the bib number was assigned.

    • chip_codestring

      Transponder- oder QR-Kennung fuer die Zeitmessung. Pro Event eindeutig.

    • timing_tracking_consentboolean

      Einwilligung in das GPS-Live-Tracking waehrend des Events.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • namestring

      Name of the entity.

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • orderinteger

      Position of the entity in the order.

  • guest_namestring

    Optional display name entered by the guest.

  • duration_secondsinteger

    Audio/video duration in seconds (client-provided, informational).

  • consent_confirmedboolean

    GDPR: guest confirmed the consent text before submitting.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/moment \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
[
  {
    "id": 42,
    "guest_name": "Beispiel",
    "has_file": true,
    "file_virus_checked": true,
    "token": "string",
    "moment_type": "string",
    "moderation_status": "string",
    "sign_up": {
      "id": 42,
      "first_name": "Lena",
      "last_name": "Hartmann",
      "address_street": "Jakobistr. 39",
      "address_city": "Hannover",
      "address_zip": "30163",
      "address_country": "DE",
      "address_full_country": "DE",
      "name": "Beispiel",
      "main_phone": "+49 511 123456"
    },
    "duration_seconds": 1,
    "consent_confirmed": true
  }
]

Get a single event moment.

GET/api/event/moment/{identifier}

Path parameters

identifierrequiredstring

Responses

200Returns a single EventMomentEventMoment

Show fields (13)
  • has_fileboolean

    Virtual serializer property: does this moment have a downloadable file?

  • file_virus_checkedboolean

    Virtual serializer property for the organizer: has the file passed the background virus scan? Null without a file. The organizer list uses this to say "still being checked" instead of showing a preview that answers 404. Not part of the guest groups on purpose - a guest sees only own files, and those are handed out regardless of the scan state.

  • idinteger

    Primary key of the event moment. Internal ID.

  • tokenstring

    Hard-to-guess identifier; used as the public identifier of the moment so numeric ids are never exposed to guests.

  • moment_typestring

    Type of the moment, for example photo or video.

  • moderation_statusstring

    Moderation status of the moment, for example pending or approved.

  • sign_upBaseEventSignUp17

    Optional participant reference; null for anonymous contributions via the anonymous event moments token.

    Show fields (56)
    • bib_range_idinteger
    • age_classstring

      Altersklasse nach DLV, z. B. M40 - berechnet aus Geburtstag, Geschlecht und Eventdatum.

    • idinteger

      Primary key of the sign-up. Internal ID.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • genderstring

      Gender of the participant.

    • tokenstring

      Public token of the sign-up. Used in links instead of the ID.

    • moments_tokenstring

      Participant-bound moments token: allows this participant to use the event moments (digital guestbook) page; uploads via this token are linked to the participant.

    • waitingboolean

      The sign-up is on the waiting list.

    • confirmedboolean

      The sign-up is confirmed.

    • externalboolean

      The sign-up was made by an external party.

    • deletion_reasonstring

      Reason the sign-up was cancelled.

    • billedboolean

      The sign-up was billed.

    • direct_billingboolean
    • direct_billing_check_datestring (date-time)
    • direct_billing_tokenstring
    • wait_list_confirmation_tokenstring
    • wait_list_confirmation_sent_atstring (date-time)
    • wait_list_confirmation_deadlinestring (date-time)
    • wait_list_confirmed_atstring (date-time)
    • wait_list_pending_confirmationboolean
    • wait_list_sort_orderinteger
    • birthdaystring (date-time)

      Birthday of the participant.

    • trialboolean

      Trial date sign-up (Schnuppern): a date sign-up without a course place that uses up one unit of the person's trial pass (eventAccessBudget with sourceType trial)

    • trial_channelstring

      Who booked the trial date: app, trainer, office

    • trial_session_numberinteger

      Number of this trial date within the pass (1 = first), for "Schnuppern 2/3"

    • trial_session_maxinteger

      Trial dates of the pass, for "Schnuppern 2/3"

    • nace_sectionstring

      NACE section code (letter A-U)

    • nace_codestring

      NACE code (numeric like 01.11, 62.01)

    • bib_numberinteger

      Startnummer (Zaehler). Bei PER_PREFIX nur zusammen mit dem Praefix eindeutig. Wird nur ueber BibNumberAssigner gesetzt, stornierte Anmeldungen behalten sie.

    • bib_labelstring

      Angezeigte Startnummer inkl. Praefix, z. B. W0123. Pro Event eindeutig.

    • bib_number_assigned_atstring (date-time)

      Time the bib number was assigned.

    • chip_codestring

      Transponder- oder QR-Kennung fuer die Zeitmessung. Pro Event eindeutig.

    • timing_tracking_consentboolean

      Einwilligung in das GPS-Live-Tracking waehrend des Events.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • namestring

      Name of the entity.

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • orderinteger

      Position of the entity in the order.

  • guest_namestring

    Optional display name entered by the guest.

  • duration_secondsinteger

    Audio/video duration in seconds (client-provided, informational).

  • consent_confirmedboolean

    GDPR: guest confirmed the consent text before submitting.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/moment/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "guest_name": "Beispiel",
  "has_file": true,
  "file_virus_checked": true,
  "token": "string",
  "moment_type": "string",
  "moderation_status": "string",
  "sign_up": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "address_street": "Jakobistr. 39",
    "address_city": "Hannover",
    "address_zip": "30163",
    "address_country": "DE",
    "address_full_country": "DE",
    "name": "Beispiel",
    "main_phone": "+49 511 123456"
  },
  "duration_seconds": 1,
  "consent_confirmed": true
}

Delete a moment: soft-deletes the entity and removes the stored file (GDPR deletion concept).

DELETE/api/event/moment/{identifier}

Path parameters

identifierrequiredstring

Responses

default

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

Add a moment on behalf of the organizer: a voice message, photo, drawing or video collected outside the guest page (a recording from the party, the photographer's pictures), or a text entry.

POST/api/event/moment/upload/{eventIdentifier}

Same form fields as the guest upload (multipart, prefix event_moment), minus the consent: the organizer collects the guestbook, so the moment is stored as consented and already approved. The file limits and formats are the guest ones (event_moments_max_file_size_mb, event_moments_max_video_file_size_mb, event_moments_allowed_*_mime_types), the virus scan runs in the background as for every upload.

Path parameters

eventIdentifierrequiredstring

Responses

200Creates an EventMoment from an organizer uploadEventMoment

Show fields (13)
  • has_fileboolean

    Virtual serializer property: does this moment have a downloadable file?

  • file_virus_checkedboolean

    Virtual serializer property for the organizer: has the file passed the background virus scan? Null without a file. The organizer list uses this to say "still being checked" instead of showing a preview that answers 404. Not part of the guest groups on purpose - a guest sees only own files, and those are handed out regardless of the scan state.

  • idinteger

    Primary key of the event moment. Internal ID.

  • tokenstring

    Hard-to-guess identifier; used as the public identifier of the moment so numeric ids are never exposed to guests.

  • moment_typestring

    Type of the moment, for example photo or video.

  • moderation_statusstring

    Moderation status of the moment, for example pending or approved.

  • sign_upBaseEventSignUp17

    Optional participant reference; null for anonymous contributions via the anonymous event moments token.

    Show fields (56)
    • bib_range_idinteger
    • age_classstring

      Altersklasse nach DLV, z. B. M40 - berechnet aus Geburtstag, Geschlecht und Eventdatum.

    • idinteger

      Primary key of the sign-up. Internal ID.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • genderstring

      Gender of the participant.

    • tokenstring

      Public token of the sign-up. Used in links instead of the ID.

    • moments_tokenstring

      Participant-bound moments token: allows this participant to use the event moments (digital guestbook) page; uploads via this token are linked to the participant.

    • waitingboolean

      The sign-up is on the waiting list.

    • confirmedboolean

      The sign-up is confirmed.

    • externalboolean

      The sign-up was made by an external party.

    • deletion_reasonstring

      Reason the sign-up was cancelled.

    • billedboolean

      The sign-up was billed.

    • direct_billingboolean
    • direct_billing_check_datestring (date-time)
    • direct_billing_tokenstring
    • wait_list_confirmation_tokenstring
    • wait_list_confirmation_sent_atstring (date-time)
    • wait_list_confirmation_deadlinestring (date-time)
    • wait_list_confirmed_atstring (date-time)
    • wait_list_pending_confirmationboolean
    • wait_list_sort_orderinteger
    • birthdaystring (date-time)

      Birthday of the participant.

    • trialboolean

      Trial date sign-up (Schnuppern): a date sign-up without a course place that uses up one unit of the person's trial pass (eventAccessBudget with sourceType trial)

    • trial_channelstring

      Who booked the trial date: app, trainer, office

    • trial_session_numberinteger

      Number of this trial date within the pass (1 = first), for "Schnuppern 2/3"

    • trial_session_maxinteger

      Trial dates of the pass, for "Schnuppern 2/3"

    • nace_sectionstring

      NACE section code (letter A-U)

    • nace_codestring

      NACE code (numeric like 01.11, 62.01)

    • bib_numberinteger

      Startnummer (Zaehler). Bei PER_PREFIX nur zusammen mit dem Praefix eindeutig. Wird nur ueber BibNumberAssigner gesetzt, stornierte Anmeldungen behalten sie.

    • bib_labelstring

      Angezeigte Startnummer inkl. Praefix, z. B. W0123. Pro Event eindeutig.

    • bib_number_assigned_atstring (date-time)

      Time the bib number was assigned.

    • chip_codestring

      Transponder- oder QR-Kennung fuer die Zeitmessung. Pro Event eindeutig.

    • timing_tracking_consentboolean

      Einwilligung in das GPS-Live-Tracking waehrend des Events.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • namestring

      Name of the entity.

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • orderinteger

      Position of the entity in the order.

  • guest_namestring

    Optional display name entered by the guest.

  • duration_secondsinteger

    Audio/video duration in seconds (client-provided, informational).

  • consent_confirmedboolean

    GDPR: guest confirmed the consent text before submitting.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/event/moment/upload/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "guest_name": "Beispiel",
  "has_file": true,
  "file_virus_checked": true,
  "token": "string",
  "moment_type": "string",
  "moderation_status": "string",
  "sign_up": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "address_street": "Jakobistr. 39",
    "address_city": "Hannover",
    "address_zip": "30163",
    "address_country": "DE",
    "address_full_country": "DE",
    "name": "Beispiel",
    "main_phone": "+49 511 123456"
  },
  "duration_seconds": 1,
  "consent_confirmed": true
}

Update the moderation status of a moment (PENDING / APPROVED / HIDDEN).

PUT/api/event/moment/{identifier}/moderation

Path parameters

identifierrequiredstring

Responses

200Updates the moderation status of an EventMomentEventMoment

Show fields (13)
  • has_fileboolean

    Virtual serializer property: does this moment have a downloadable file?

  • file_virus_checkedboolean

    Virtual serializer property for the organizer: has the file passed the background virus scan? Null without a file. The organizer list uses this to say "still being checked" instead of showing a preview that answers 404. Not part of the guest groups on purpose - a guest sees only own files, and those are handed out regardless of the scan state.

  • idinteger

    Primary key of the event moment. Internal ID.

  • tokenstring

    Hard-to-guess identifier; used as the public identifier of the moment so numeric ids are never exposed to guests.

  • moment_typestring

    Type of the moment, for example photo or video.

  • moderation_statusstring

    Moderation status of the moment, for example pending or approved.

  • sign_upBaseEventSignUp17

    Optional participant reference; null for anonymous contributions via the anonymous event moments token.

    Show fields (56)
    • bib_range_idinteger
    • age_classstring

      Altersklasse nach DLV, z. B. M40 - berechnet aus Geburtstag, Geschlecht und Eventdatum.

    • idinteger

      Primary key of the sign-up. Internal ID.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • genderstring

      Gender of the participant.

    • tokenstring

      Public token of the sign-up. Used in links instead of the ID.

    • moments_tokenstring

      Participant-bound moments token: allows this participant to use the event moments (digital guestbook) page; uploads via this token are linked to the participant.

    • waitingboolean

      The sign-up is on the waiting list.

    • confirmedboolean

      The sign-up is confirmed.

    • externalboolean

      The sign-up was made by an external party.

    • deletion_reasonstring

      Reason the sign-up was cancelled.

    • billedboolean

      The sign-up was billed.

    • direct_billingboolean
    • direct_billing_check_datestring (date-time)
    • direct_billing_tokenstring
    • wait_list_confirmation_tokenstring
    • wait_list_confirmation_sent_atstring (date-time)
    • wait_list_confirmation_deadlinestring (date-time)
    • wait_list_confirmed_atstring (date-time)
    • wait_list_pending_confirmationboolean
    • wait_list_sort_orderinteger
    • birthdaystring (date-time)

      Birthday of the participant.

    • trialboolean

      Trial date sign-up (Schnuppern): a date sign-up without a course place that uses up one unit of the person's trial pass (eventAccessBudget with sourceType trial)

    • trial_channelstring

      Who booked the trial date: app, trainer, office

    • trial_session_numberinteger

      Number of this trial date within the pass (1 = first), for "Schnuppern 2/3"

    • trial_session_maxinteger

      Trial dates of the pass, for "Schnuppern 2/3"

    • nace_sectionstring

      NACE section code (letter A-U)

    • nace_codestring

      NACE code (numeric like 01.11, 62.01)

    • bib_numberinteger

      Startnummer (Zaehler). Bei PER_PREFIX nur zusammen mit dem Praefix eindeutig. Wird nur ueber BibNumberAssigner gesetzt, stornierte Anmeldungen behalten sie.

    • bib_labelstring

      Angezeigte Startnummer inkl. Praefix, z. B. W0123. Pro Event eindeutig.

    • bib_number_assigned_atstring (date-time)

      Time the bib number was assigned.

    • chip_codestring

      Transponder- oder QR-Kennung fuer die Zeitmessung. Pro Event eindeutig.

    • timing_tracking_consentboolean

      Einwilligung in das GPS-Live-Tracking waehrend des Events.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • namestring

      Name of the entity.

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • orderinteger

      Position of the entity in the order.

  • guest_namestring

    Optional display name entered by the guest.

  • duration_secondsinteger

    Audio/video duration in seconds (client-provided, informational).

  • consent_confirmedboolean

    GDPR: guest confirmed the consent text before submitting.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request PUT \
  --url https://your-instance.iw-erp.de/api/event/moment/42/moderation \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "guest_name": "Beispiel",
  "has_file": true,
  "file_virus_checked": true,
  "token": "string",
  "moment_type": "string",
  "moderation_status": "string",
  "sign_up": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "address_street": "Jakobistr. 39",
    "address_city": "Hannover",
    "address_zip": "30163",
    "address_country": "DE",
    "address_full_country": "DE",
    "name": "Beispiel",
    "main_phone": "+49 511 123456"
  },
  "duration_seconds": 1,
  "consent_confirmed": true
}

Update the moderation status of a moment (PENDING / APPROVED / HIDDEN).

PATCH/api/event/moment/{identifier}/moderation

Path parameters

identifierrequiredstring

Responses

200Updates the moderation status of an EventMomentEventMoment

Show fields (13)
  • has_fileboolean

    Virtual serializer property: does this moment have a downloadable file?

  • file_virus_checkedboolean

    Virtual serializer property for the organizer: has the file passed the background virus scan? Null without a file. The organizer list uses this to say "still being checked" instead of showing a preview that answers 404. Not part of the guest groups on purpose - a guest sees only own files, and those are handed out regardless of the scan state.

  • idinteger

    Primary key of the event moment. Internal ID.

  • tokenstring

    Hard-to-guess identifier; used as the public identifier of the moment so numeric ids are never exposed to guests.

  • moment_typestring

    Type of the moment, for example photo or video.

  • moderation_statusstring

    Moderation status of the moment, for example pending or approved.

  • sign_upBaseEventSignUp17

    Optional participant reference; null for anonymous contributions via the anonymous event moments token.

    Show fields (56)
    • bib_range_idinteger
    • age_classstring

      Altersklasse nach DLV, z. B. M40 - berechnet aus Geburtstag, Geschlecht und Eventdatum.

    • idinteger

      Primary key of the sign-up. Internal ID.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • genderstring

      Gender of the participant.

    • tokenstring

      Public token of the sign-up. Used in links instead of the ID.

    • moments_tokenstring

      Participant-bound moments token: allows this participant to use the event moments (digital guestbook) page; uploads via this token are linked to the participant.

    • waitingboolean

      The sign-up is on the waiting list.

    • confirmedboolean

      The sign-up is confirmed.

    • externalboolean

      The sign-up was made by an external party.

    • deletion_reasonstring

      Reason the sign-up was cancelled.

    • billedboolean

      The sign-up was billed.

    • direct_billingboolean
    • direct_billing_check_datestring (date-time)
    • direct_billing_tokenstring
    • wait_list_confirmation_tokenstring
    • wait_list_confirmation_sent_atstring (date-time)
    • wait_list_confirmation_deadlinestring (date-time)
    • wait_list_confirmed_atstring (date-time)
    • wait_list_pending_confirmationboolean
    • wait_list_sort_orderinteger
    • birthdaystring (date-time)

      Birthday of the participant.

    • trialboolean

      Trial date sign-up (Schnuppern): a date sign-up without a course place that uses up one unit of the person's trial pass (eventAccessBudget with sourceType trial)

    • trial_channelstring

      Who booked the trial date: app, trainer, office

    • trial_session_numberinteger

      Number of this trial date within the pass (1 = first), for "Schnuppern 2/3"

    • trial_session_maxinteger

      Trial dates of the pass, for "Schnuppern 2/3"

    • nace_sectionstring

      NACE section code (letter A-U)

    • nace_codestring

      NACE code (numeric like 01.11, 62.01)

    • bib_numberinteger

      Startnummer (Zaehler). Bei PER_PREFIX nur zusammen mit dem Praefix eindeutig. Wird nur ueber BibNumberAssigner gesetzt, stornierte Anmeldungen behalten sie.

    • bib_labelstring

      Angezeigte Startnummer inkl. Praefix, z. B. W0123. Pro Event eindeutig.

    • bib_number_assigned_atstring (date-time)

      Time the bib number was assigned.

    • chip_codestring

      Transponder- oder QR-Kennung fuer die Zeitmessung. Pro Event eindeutig.

    • timing_tracking_consentboolean

      Einwilligung in das GPS-Live-Tracking waehrend des Events.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • namestring

      Name of the entity.

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • orderinteger

      Position of the entity in the order.

  • guest_namestring

    Optional display name entered by the guest.

  • duration_secondsinteger

    Audio/video duration in seconds (client-provided, informational).

  • consent_confirmedboolean

    GDPR: guest confirmed the consent text before submitting.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request PATCH \
  --url https://your-instance.iw-erp.de/api/event/moment/42/moderation \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "guest_name": "Beispiel",
  "has_file": true,
  "file_virus_checked": true,
  "token": "string",
  "moment_type": "string",
  "moderation_status": "string",
  "sign_up": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "address_street": "Jakobistr. 39",
    "address_city": "Hannover",
    "address_zip": "30163",
    "address_country": "DE",
    "address_full_country": "DE",
    "name": "Beispiel",
    "main_phone": "+49 511 123456"
  },
  "duration_seconds": 1,
  "consent_confirmed": true
}

Stream the file (audio recording / drawing) of a moment for the organizer.

GET/api/event/moment/{identifier}/file

Path parameters

identifierrequiredstring

Responses

default

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/moment/42/file \
  --header 'x-iw-jwt-token: <TOKEN>'
Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/moment/share/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Set, change or revoke the share password of the public moments gallery.

PUT/api/event/moment/share/{eventIdentifier}

An empty password revokes the share: without a stored password the gallery answers with the same 404 as an unknown token.

Path parameters

eventIdentifierrequiredstring

Responses

default

Request
curl --request PUT \
  --url https://your-instance.iw-erp.de/api/event/moment/share/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Set, change or revoke the share password of the public moments gallery.

PATCH/api/event/moment/share/{eventIdentifier}

An empty password revokes the share: without a stored password the gallery answers with the same 404 as an unknown token.

Path parameters

eventIdentifierrequiredstring

Responses

default

Request
curl --request PATCH \
  --url https://your-instance.iw-erp.de/api/event/moment/share/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

State of the temporary ZIP download link of one event.

GET/api/event/moment/download/{eventIdentifier}

Path parameters

eventIdentifierrequiredstring

Responses

default

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/moment/download/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Request a fresh download link. The ZIP is streamed on every download, so the link is READY right away and always delivers the current guestbook.

POST/api/event/moment/download/{eventIdentifier}

Always mints a new token: the previously shared link stops working, which is the only way to take back a link that is already out there.

Path parameters

eventIdentifierrequiredstring

Responses

default

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

Revoke the download link right away.

DELETE/api/event/moment/download/{eventIdentifier}

Path parameters

eventIdentifierrequiredstring

Responses

default

Request
curl --request DELETE \
  --url https://your-instance.iw-erp.de/api/event/moment/download/42 \
  --header 'x-iw-jwt-token: <TOKEN>'