How to remove notification setting

  • woodhouse
    Rekening afgesloten

    75 berichten

    Italië

    Hi there, I check the settings for one of my customers (seller id 1122731) and I found thet there are 15607 notification settings of the same type (Curl_Default) and all with the same URL (that's the correct one).
    I did not find any othe notification setting, but the notification works fine.
    I need to add a new setting to a different URL but I would like to remove the old ones.
    I did not find any call to remove a setting,
    Could someone remove all the setting, but the first one?
    Thank you for your help
    Daniele
  • Rekening verwijderd
    Beheerder
    Rekening verwijderd

    0 berichten

    België

    De informatie is niet meer beschikbaar omdat de rekening van deze gebruiker is verwijderd (AVG)
  • Rekening verwijderd
    Beheerder
    Rekening verwijderd

    0 berichten

    België

    De informatie is niet meer beschikbaar omdat de rekening van deze gebruiker is verwijderd (AVG)
  • woodhouse
    Rekening afgesloten

    75 berichten

    Italië

    Thank you Benjamin for the quick reply.
    I run the getNotificationSettings and I've got the following return data
    stdClass Object
    (
    [data] => Array
    (
    [0] => stdClass Object
    (
    [id_notification] =>
    [id_user] =>
    [channel] =>
    [type] =>
    [destination] =>
    [active] =>
    )

    [1] => stdClass Object
    (
    [id_notification] =>
    [id_user] =>
    [channel] =>
    [type] =>
    [destination] =>
    [active] =>
    )

    [2] => stdClass Object
    (
    [id_notification] =>
    [id_user] =>
    [channel] =>
    [type] =>
    [destination] =>
    [active] =>
    )

    [3] => stdClass Object
    (
    [id_notification] =>
    [id_user] =>
    [channel] =>
    [type] =>
    [destination] =>
    [active] =>
    )

    [4] => stdClass Object
    (
    [id_notification] =>
    [id_user] =>
    [channel] =>
    [type] =>
    [destination] =>
    [active] =>
    )

    [5] => stdClass Object
    (
    [id_notification] =>
    [id_user] =>
    [channel] =>
    [type] =>
    [destination] =>
    [active] =>
    )

    )

    [status] => 1
    [errorMsg] =>
    [personal_reference] =>
    )

    Any Idea?
    Thank you
    Daniele
  • Rekening verwijderd
    Beheerder
    Rekening verwijderd

    0 berichten

    België

    De informatie is niet meer beschikbaar omdat de rekening van deze gebruiker is verwijderd (AVG)
  • woodhouse
    Rekening afgesloten

    75 berichten

    Italië

    The php code is quite simple:
    $return = $DcSoapClient->getNotificationSettings($dctok);
    echo "<pre>";
    print_r($return);
    echo "</pre>";

    ($dctok is the token returned by authenticateUser )

    I wait for you to cjeck before setting the notification data.

    Thank you
    Daniele
  • Rekening verwijderd
    Beheerder
    Rekening verwijderd

    0 berichten

    België

    De informatie is niet meer beschikbaar omdat de rekening van deze gebruiker is verwijderd (AVG)
  • woodhouse
    Rekening afgesloten

    75 berichten

    Italië

    Thank you Benjamin,
    unfortunately I developed tons of code based on SOAP APIs and the idea of moving to REST APIs is quite terrific :(

    I made the test few seconds ago with the same results.

    Now I'm going to set the other notification parameters.

    Kind regards
    Daniele

Word lid van de verzamelaars-community!

Registreren Aanmelden