Menu

iTop not fetching id/Key primary key for webhooks

2024-05-25
2024-05-27
  • Karthik Kanthaswamy

    Hi Team,

    Good Day..!!

    I have a specific requirement where the iTop instance should poll data into a custom application via API-to-API communication in the event an object is created, updated or deleted.

    Scenario:- whenever an object is created, updated or deleted, iTop should fire a webhook call to another application with all fields of changed object (Eg: when a person is created, updated, deleted)

    But the problem is 'id/key' which is the primary key/unique key to identify the object is not being fetched by the inbuilt Webhook notification feature. But when using iTop REST API I'm able to see the key field.

    Now I'm syncing the whole data from all objects via iTop API irrespective of the data is changed or not which puts a lot of load into iTop

    So, I think writing an extension is the only way, Being a starter with the symfony framework. It is very difficult for me to connect the dots. Any basic guidance on this is much appreciated...!

    Regards

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2024-05-26

    It's not happening on any of the events? Have you properly configured the webhook in iTop?

     
  • Karthik Kanthaswamy

    Hi Jeffrey,

    Sorry for bothering you; It was a small syntax issue. Its fixed now. i'm able to fetch the id Primary key in the webhook.

    Thanks

     

Log in to post a comment.