Skip to content
  • Categories
  • Recent
  • Popular
  • Support
  • MyRoute-app
Collapse
Brand Logo

MRA Community Forum

  1. Home
  2. MRA Routeplanner Next Beta
  3. [Web-Beta] Problems, Bugs and other Issues
  4. Can't retrieve club-event "meeting point" / "verzamelpunt" through API

Can't retrieve club-event "meeting point" / "verzamelpunt" through API

Scheduled Pinned Locked Moved [Web-Beta] Problems, Bugs and other Issues
apievents
2 Posts 2 Posters 9 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Bart van de Griendt
    Bart van de Griendt
    Bart van de Griendt
    wrote last edited by
    #1

    Hi Corjan,

    I'm building our MTC website from the ground up. One of the features is to provide an .ics file of the club events so that all events are always updated in the users' calendar.

    For ClubApiEvent[] there are these fields:
    meetPoint.lat number (Meet-point latitude. The whole object is null when unset.)
    meetPoint.lng number (Meet-point longitude.)
    meetPoint.label (Meet-point label.)

    My first question is: is the field "Verzamelpunt" (or "Meeting point" for English version) connected to these API fields?
    If so, what does field "Verzamelpunt" / "Meeting point" expect to populate the API fields above.

    As an example I've created a club event with Meeting Point "Willemstraat 23, Eindhoven".
    I've create a debug action and this is the output:

    Ignore plugin version. This is the Wordpress plugin I've create for the API call to MRA.

    {
        "plugin": "0.5.6",
        "uit_lijst": {
            "id": "18239a43-9d48-44d6-80a1-cadfdfc22a2d",
            "name": "Dagje Eindhoven",
            "description": "Een tocht naar Eindhoven",
            "startsAt": "2026-11-26T23:00:00.000Z",
            "endsAt": null,
            "timezone": "Europe/Amsterdam",
            "status": "upcoming",
            "meetPoint": null,
            "capacity": null,
            "goingCount": 0,
            "interestedCount": 0,
            "imageUrl": null,
            "routeCount": 0,
            "dayCount": 0,
            "singleDay": true,
            "webUrl": "https://beta.myrouteapp.com/events/18239a43-9d48-44d6-80a1-cadfdfc22a2d",
            "calendarUrl": "https://beta.myrouteapp.com/events/18239a43-9d48-44d6-80a1-cadfdfc22a2d/calendar.ics"
        },
        "uit_detail": {
            "data": {
                "id": "18239a43-9d48-44d6-80a1-cadfdfc22a2d",
                "name": "Dagje Eindhoven",
                "description": "Een tocht naar Eindhoven",
                "startsAt": "2026-11-26T23:00:00.000Z",
                "endsAt": null,
                "timezone": "Europe/Amsterdam",
                "status": "upcoming",
                "meetPoint": null,
                "capacity": null,
                "goingCount": 0,
                "interestedCount": 0,
                "imageUrl": null,
                "routeCount": 0,
                "dayCount": 0,
                "singleDay": true,
                "webUrl": "https://beta.myrouteapp.com/events/18239a43-9d48-44d6-80a1-cadfdfc22a2d",
                "calendarUrl": "https://beta.myrouteapp.com/events/18239a43-9d48-44d6-80a1-cadfdfc22a2d/calendar.ics",
                "days": [],
                "highlight": null
            },
            "meta": {
                "attribution": {
                    "text": "Powered by MyRoute-app",
                    "url": "https://beta.myrouteapp.com"
                },
                "generatedAt": "2026-11-19T23:51:32.088Z",
                "version": 1
            }
        },
        "agenda_locatie": []
    }
    

    Met vriendelijke groet,

    Bart

    1 Reply Last reply
    0
    • Corjan Meijerink
      Corjan Meijerink
      Corjan Meijerink
      Developer
      wrote last edited by
      #2

      Thanks for the clear report, and great to see you building on the API! You found a bug.

      Yes, the "Verzamelpunt" / "Meeting point" field is the API's meetPoint. The website stores it as text only, without coordinates, and the API only returned meetPoint when coordinates were present. That's why you always got null.

      That's fixed, and it will be on beta with the next update. Your event will then return:

      "meetPoint": { "label": "Willemstraat 23, Eindhoven", "lat": null, "lng": null }

      For your .ics, use meetPoint.label as the LOCATION. Do allow for lat and lng being null: for events made on the website they usually are. meetPoint itself is only null when no meeting point was filled in. The field docs on /developers now say this too.

      Let me know once you see it come through, or if anything else comes up. Good luck with the new MTC site!
      I am really curious about all the API feedback in general. I’ve reviewed and tested it all fro a functional perspective but I wasn’t actually using it 🙂 So please do create new topics about other issues / missing features regarding the API.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ACTIVE USERS
      Corjan Meijerink
      Corjan Meijerink
      Bart van de Griendt
      Bart van de Griendt
      POPULAR TOPICS
      • Als ik wandel rij ik niet. Verkeerde tekst in tracklog
        Rob Verhoeff
        Rob Verhoeff
        0
        8
        118

      • My feedback on the AI planner
        Corjan Meijerink
        Corjan Meijerink
        0
        4
        22

      • Website update - Club files, a heatmap that counts your rides, the calculator on the map and more
        richtea999
        richtea999
        7
        3
        79

      • Routelijn transparantie
        Mark Vroomen
        Mark Vroomen
        0
        3
        35

      • AI Planner - AI requests: suggestion from MRA
        Corrado Miniati
        Corrado Miniati
        0
        3
        21

      • AI Planner: missing number of planned days in Library
        Corrado Miniati
        Corrado Miniati
        0
        3
        17

      • Stay gemaakt in " Mijn verblijven" naar community
        Hanza 0
        Hanza 0
        0
        3
        18

      • AI planner: Day Selection Menu
        Corjan Meijerink
        Corjan Meijerink
        0
        2
        9

      MY GROUPS
      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Popular
      • Support
      • MyRoute-app