Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Event Registration Creation with API - Custom Registration Fields

Posted on by 10

Are we still unable to set Custom Registration Fields though the Event Management API? I have a custom web app retrieving and registering attendees. I want to include one of our Custom Event Registration fields when I register the attendee for the event. Is there any way to do that through the API?

IE:EvtMgmt/api/v2.0/events/readableEventId/registrations?
{
 "attendees": [
 {
 "firstName": "Test",
 "lastName": "Tester",
 "email": "test2@email.com",
 "customfields":[{"fieldname":"12345"}]
 }],
"hipObject": null
}

https://go.microsoft.com/fwlink/?linkid=2042224 

  • Boudewijn Profile Picture
    Boudewijn 47 on at
    RE: Event Registration Creation with API - Custom Registration Fields

    Hi Cloffy,

    Can you help me out with the payload of a multiple choice custom registration field response?

    Regards,

    Boudewijn

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Event Registration Creation with API - Custom Registration Fields

    Hi Tim,

    If you had found any answer helped, please kindly mark as verified to close the thread, it would be really appreciated.

    Regards,

    Clofly

  • Rancourt_24 Profile Picture
    Rancourt_24 5 on at
    RE: Event Registration Creation with API - Custom Registration Fields

    This is what i was searching for.. thanks for the solution again thanks to clickhere.

  • Suggested answer
    TimTownsend Profile Picture
    TimTownsend 10 on at
    RE: Event Registration Creation with API - Custom Registration Fields

    This is the information I was searching for. Thank you kindly

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Event Registration Creation with API - Custom Registration Fields

    Hi Tim,

    We can open console > Network > XHR to check the request payload for event registration.

    pastedimage1602062866372v1.png

    If we copy the json and format it with online formatter, then we will find it uses responses property to save custom registration fields value, and the id is guid of the corresponding custom registration field record.

    {
      "attendees": [
        {
          "firstName": "0101",
          "lastName": "1101",
          "jobTitle": "No",
          "email": "hello123@outlookc.om",
          "passId": "",
          "waitlisted": false,
          "autoRegister": false,
          "responses": [
            {
              "id": "a8dbfc7f-7c08-eb11-a813-000d3aa08990",
              "value": "Yes"
            },
            {
              "id": "655c848f-7c08-eb11-a813-000d3aa08990",
              "value": "15611112223"
            }
          ],
          "attendeeSessions": [
            {
              "sessionId": "9a83b99e-2af3-ea11-a815-000d3aa08990",
              "waitlisted": false
            }
          ]
        }
      ],
      "hipObject": null
    }

    pastedimage1602063133551v2.png

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans