Using API to add a Task reminder, result is 200(OK), but reminder is missing.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ricardo-sf
    Junior Member
    • Aug 2024
    • 7

    #1

    Using API to add a Task reminder, result is 200(OK), but reminder is missing.

    This is on a standard installation of the 8.4.0 software, self-hosted, no extensions.

    I'm using the API to create a Task and would like to add a reminder, i set

    "reminders": [ { "seconds": 0, "type": "Email" } ]

    in the create/update payload. -- the API result is 200 (OK) .. the Task is created / updated. But there is no reminder in the task. (Even though the reminder array is returned in the API request response).

    Is reminders a role capability i need to add to my API user? (could not quite find something like that in the role editor)

    I can add a reminder in the UI.

    Curiously using the API to read Tasks does not return a reminder even when one is added by hand using the UI.

    Am I missing something here? is reminders a paid feature? or part of the base package?
  • ricardo-sf
    Junior Member
    • Aug 2024
    • 7

    #2
    I take it back .. on an existing Task, if i add a Reminder with the UI, update the Task, and reload the page, the reminder disappears. (Was probably never stored in the first place).

    still wondering if this is something i've mis-configured.

    Comment

    • ricardo-sf
      Junior Member
      • Aug 2024
      • 7

      #3
      Been trying to figure this out all day -- all i can report is that if I create a Task from the UI, then i can add/remove reminders through the UI, and even through the API to that Task.

      Sounds like a role related access issue when the Task is created through an API user? .. or something along those lines.

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9623

        #4
        Reminders are applied only for the current user. If you create an event for other user, the reminders set in the user's preferences will be applied.

        Comment

        • ricardo-sf
          Junior Member
          • Aug 2024
          • 7

          #5
          thanks for that info. i've gone and set a default reminder and see that its being applied to newly created tasks.

          Comment

          Working...