Notification API patch request is successful but doesn't update anything

Notification API patch request is successful but doesn't update anything

Hi,

I'm using the Notification API to be notified when an opportunity (which is called ether a Potential or a Deal in your API it seems) is created or edited.

The creation worked fine but since a notification channel expires after a maximum of one day (channel_expiry), I need to constantly update that field to keep the notification alive every day.

However, it doesn't seem to update anything when making the request described here: https://www.zoho.com/crm/developer/docs/api/v2/notifications/update-info.html.

I'm only sending the channel_id and an updated channel_expiry. Here is the response I get :
  1. {"watch":[{"code":"SUCCESS","details":{"events":[]},"message":"Successfully updated the subscribe details","status":"success"}]}
The request is successful but I get an empty array for the events in the response contrary to the sample response in the documentation and the notification has not changed when I make a GET request to check.

What am I doing wrong ?

Thank's in advance.

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts





                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方