Couldn't build the extension for Zoho Desk which pushes new replies from the client to inside the ticket/thread.

Couldn't build the extension for Zoho Desk which pushes new replies from the client to inside the ticket/thread.

Hello, I’ve been trying to build this function/extension based in this link

I need to add news threads/replys from the client to my ticket using this extension, but I’m not being successful while building the api:
__

headers = {"Content-Type":"application/json"};

data = {"test":"testing"};

response = invokeurl
[
type :POST
parameters:data
headers:headers
];

__
I couldn’t find what is the “installationId in the documentation, neither could understand properly what where do I put the synch_thread_object. I know thread submodule is an array of objects because of the the getRelatedRecords function.
__

{
  "data":{
    "threads":[
        {
            "extId":"SMa8974b1b935d957ffd9",
            "extParentId":"+123456789",
            "createdTime":"2018-09-10T11:54:03.000Z",
            "content":"What surprised",
            "direction":"in",
            "from":"+00032882",
            "to":["+00000273637"],
            "canReply":true,
            "extra": #SYNC_EXTRA_OBJECT,
            "actor": #SYNC_ACTOR_OBJECT
        }
         }
}


Could someone give me an example of a deluge function which add an thread/reply to the ticket, this is the ticket Id, for example 274334000008420097.

Thanks in advance.

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



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