Notification setting disappeared (deleted?)

  • woodhouse

    75 messaggi

    Italia

    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
    Amministratore

    348 messaggi

    Belgio

    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.
    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

    75 messaggi

    Italia

    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
    Amministratore

    348 messaggi

    Belgio

    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
    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

    75 messaggi

    Italia

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

    348 messaggi

    Belgio

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

Unisciti alla community di collezionisti!

Registrati Login