>

API Endpoint "Events" doesn´t retrieve the fields "Reason" and "CancelledOn" despite being in the model

Answered

Comments

8 comments

Date Votes
  • Nicole Loh

    This one is interesting. I get a 404 error on cancelled events when testing in 26.1 QE. 
    I don't think this api endpoint works on cancelled/ archived events. I am going to vote it as an enhancement, but will let someone else also comment on this one. 

  • Mike Schepker

    I get the same thing as Nicole. I tested in 25.4 and 26.1 and get 404 with both. I think it's probably an enhancement. 

  • Dominik Obelöer

    Seth Halvaksz would you agree to issue as an enhancement or would there be someone worth bringing into this thread?

  • Benjamin Schwenke

     

     

    Try checking this checkbox under Event Management Config, then try to fetch the cancelled event again.

    Should fix the 404 thing.

     


    I also see both fields we are referencing here, so it does work.

  • Seth Halvaksz

    Following

  • Mike Schepker

    That's interesting that the Show cancelled events checkbox controls what's visible via the API too. I guess it makes logical sense, but I could see a use case where you'd want to pull cancelled events via the API but not see them on your calendars in Enterprise. 

  • Benjamin Schwenke

    It's because the API we offer is effectively just a wrapper for our list data classes (aka the engine that powers the grids in the software)

    So any features that work for the grids typically work for the API as well unless we went in and manually enhanced it not to at some point.

Please sign in to leave a comment.