Open Forum

 View Only
Expand all | Collapse all

REST API returning different information when trying to use GET endpoint

  • 1.  REST API returning different information when trying to use GET endpoint

    Posted 07-08-2025 21:59

    I'm currently working with the Cvent REST API to automate the creation of events on the Cvent portal.

    I'm using the POST /ea/events/{id}/copy endpoint to copy a template, and then immediately updating the new event using the PUT /ea/events/{id} endpoint. The update seems to work correctly - I can see the updated event data reflected on the Cvent portal UI.

    However, I'm encountering an issue when trying to update a custom field that was added to the Cvent platform and is required by our company. This specific field does not get updated, even though it's included in the same payload as the other successful changes.

    To verify whether the update was applied, I call the GET /ea/events/{id} endpoint - but the response shows the original data from the copied template, including the unchanged custom field. It looks as if the field update was ignored or overwritten.

    For reference, here's the ID of the event I tested with:
    f92d5f1f-eb74-471f-9d54-46401f5e09de

    Has anyone run into this issue where custom field values are not updating correctly after copying an event? Could this be related to how custom fields behave in copied events?

    Thanks in advance for any help or insights.


    #ManagingEvents
    #ManagingHybridEvents
    #ManagingVirtualEvents

    ------------------------------
    Alejandro Alvarado
    KyndrylUnited States
    ------------------------------


  • 2.  RE: REST API returning different information when trying to use GET endpoint

    Posted 07-08-2025 22:44

    Hi Alejandro - 

    Based on the info that you've provided, it looks like there is another step that you may be missing for updating Custom Fields.  It looks like there may be a "PUT" format that you need to use. 

    Here's the link to the page that walks through this process:  https://developers.cvent.com/documentation#tag/Custom-Fields/operation/updateCustomField

    If you still have trouble after trying this, you may want to reach out to the Cvent Support team, hitting the prompts for the Integrations Team.

    Hope this helps!



    ------------------------------
    Rebecca Yousif
    Senior Administrator - Event Technology
    ------------------------------