Notification setting disappeared (deleted?)

  • woodhouse
    Rekening afgesloten

    75 berichten

    Italië

    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
    Beheerder

    348 berichten

    België

    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.
    • Aangemaakt 30 mei 2022 op 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
    Rekening afgesloten

    75 berichten

    Italië

    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
    Beheerder

    348 berichten

    België

    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
    • Aangemaakt 6 jun 2022 op 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
    Rekening afgesloten

    75 berichten

    Italië

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

    348 berichten

    België

    Thank you.
    The old xml library had a "toggle" feature that's missing in the REST library.
    Regards
    Daniele
    • Aangemaakt 14 jun 2022 op 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

Word lid van de verzamelaars-community!

Registreren Aanmelden