Notification setting disappeared (deleted?)

  • woodhouse
    Account geschlossen

    75 Beiträge

    Italien

    Hi,
    my customer (ID: 1122731) received an email this morning at 02:25 AM (CET) because of retry limit reached for notification ID 134434
    The problem is that the notification was not disabled (Active = 0) but deleted.
    This is the xml returned after a GET at notification/settings
    SimpleXMLElement Object
    (
    [Notification_Token] => SimpleXMLElement Object
    (
    )

    [Notification_Datetime] => 2022-05-30 08:32:34
    [Notification_Data] => SimpleXMLElement Object
    (
    [Headers] => SimpleXMLElement Object
    (
    [Ressource] => notification-settings
    [Action] => GET
    [Status] => 200
    )

    [body] => SimpleXMLElement Object
    (
    [notification_settings] => SimpleXMLElement Object
    (
    [id_notification] => 134788
    [id_user] => 1122731
    [channel] => email
    [type] => ErrorLimitReached
    [destination] => book1959@gmail.com
    [active] => 1
    )

    )

    )

    )

    Now I will set a new notification, but any sale or other events where not handled.
  • @thomas
    Administrator

    348 Beiträge

    Belgien

    Hi,
    my customer (ID: 1122731) received an email this morning at 02:25 AM (CET) because of retry limit reached for notification ID 134434
    The problem is that the notification was not disabled (Active = 0) but deleted.
    This is the xml returned after a GET at notification/settings
    SimpleXMLElement Object
    (
    [Notification_Token] => SimpleXMLElement Object
    (
    )

    [Notification_Datetime] => 2022-05-30 08:32:34
    [Notification_Data] => SimpleXMLElement Object
    (
    [Headers] => SimpleXMLElement Object
    (
    [Ressource] => notification-settings
    [Action] => GET
    [Status] => 200
    )

    [body] => SimpleXMLElement Object
    (
    [notification_settings] => SimpleXMLElement Object
    (
    [id_notification] => 134788
    [id_user] => 1122731
    [channel] => email
    [type] => ErrorLimitReached
    [destination] => book1959@gmail.com
    [active] => 1
    )

    )

    )

    )

    Now I will set a new notification, but any sale or other events where not handled.
    • Erstellt am 30.05.2022 um 05:04
    • #1420875
    Hello woodhouse,

    I can send you a list with the items that should have been notified.
    If you are interested, please tell me which notifications you want to get and which time slot.

    Best Regards,
    --
    Thomas
    Delcampe Team
  • woodhouse
    Account geschlossen

    75 Beiträge

    Italien

    Thank you for your reply.
    The problem is not the list of items that should have been notified.
    The problem is that the notification setting is disappeared.
    It shoul be there but with the status = 0 (inactive).
    It seems that your system deleted it instead of changing its status.
    Regards
    Daniele
  • @thomas
    Administrator

    348 Beiträge

    Belgien

    Thank you for your reply.
    The problem is not the list of items that should have been notified.
    The problem is that the notification setting is disappeared.
    It shoul be there but with the status = 0 (inactive).
    It seems that your system deleted it instead of changing its status.
    Regards
    Daniele
    • Erstellt am 06.06.2022 um 05:09
    • #1422946
    Hello Daniele,

    The call DELETE /notification/{id} does indeed hard delete the notification as mentioned in the documentation Link (https) .

    I will add a call to only change the status. I will keep you informed.

    Best Regards,
    --
    Thomas
    Delcampe Team
  • woodhouse
    Account geschlossen

    75 Beiträge

    Italien

    Thank you.
    The old xml library had a "toggle" feature that's missing in the REST library.
    Regards
    Daniele
  • @thomas
    Administrator

    348 Beiträge

    Belgien

    Thank you.
    The old xml library had a "toggle" feature that's missing in the REST library.
    Regards
    Daniele
    • Erstellt am 14.06.2022 um 04:41
    • #1425571
    Hello Daniele,

    The new call PUT /notification/:id has been implemented. You can use it now to change the status (on/off) of a notification.

    Regards,
    --
    Thomas
    Delcampe Team

Werden Sie Mitglied der Sammler-Community!

Anmelden Einloggen