Answers coming back from REST do not match report for custom questions

16 views
Skip to first unread message

Frank Bresz

unread,
Apr 7, 2025, 6:02:42 PM4/7/25
to motorsportreg-api-developers

We are running several events, and allowing people with attached numbers to add their own.

We do this through event-specific questions.

When we run the report, most come out ok.

However a few have a trailing 'X'.

No.
058X

30X

30X
58X

Here's the sample I am getting back frmo JSON:

{'id': 'XXXXXXXXXX', 'text': 'What is your Permanent Car Number?', 'type': 2, 'answer': '058', 'header': 'Car Number', 'isMultiple': 0}

{'id': 'XXXXXXXXXX', 'text': 'What is your Permanent Car Number?', 'type': 2, 'answer': '30', 'header': 'Car Number', 'isMultiple': 0}

Anyone else seen anything like this? 

Everything else seems to be working fine.

I'm using the attendee and assignment REST API Calls:
GET /rest/events/{event_id}/assignments
GET /rest/events/{event_id}/assignments/{assignment_id}
GET /rest/events/{event_id}/attendees/{attendee_id}/assignments
GET /rest/events/{event_id}/segments/{segment_id}/assignments

Ryan Kovick

unread,
Apr 8, 2025, 4:44:56 PM4/8/25
to motorsportreg-api-developers
I looked at an upcoming event of yours and it looks like some of the vehicles on the entry have the X on the end of the numbers. I suspect the reports you're using are pulling the vehicle number, and not the profile question answer that you want to use for numbers. if that's it, that would make sense why the API is returning the right data since it's pulling the question's answer.

I shared this with our Success team so they can dig deeper and help you directly in your email with them.
Reply all
Reply to author
Forward
0 new messages