2 Replies Latest reply on Jul 8, 2019 8:43 PM by Brendan Murray

    TSOM Events forwarding on third party tool with REST APIor TSOM attribute mapped with third party tool attribute

    Nilesh Wange
      Share This:

      Hi Experts,

       

      We need to forward TSOM events on third party tool , as  we have checked TSOM events is created and received on IM via postman with the help of TSOM URL. and also send events on third party tool with URL ,which is sent successfully.

      Kindly suggest how to forward TSOM events on third party tool via postman or suggest how to mapped  TSOM attribute with Third party Attributes with REST API.

        • 1. Re: TSOM Events forwarding on third party tool with REST APIor TSOM attribute mapped with third party tool attribute
          Roland Pocek

          hi Nilesh Wange

           

          I think the easiest way would be to query/poll the needed events from cell using the third party tool, this could be done using rest api on TSOM

           

          cheers

          rop

          • 2. Re: TSOM Events forwarding on third party tool with REST APIor TSOM attribute mapped with third party tool attribute
            Brendan Murray

            Hi Nilesh,

             

            With event integrations, there are always two options: push or pull. The method Roland suggests is a pull, meaning your third-party tool would poll (request) events from TSOM on a schedule using the TSOM REST API. This approach makes sense if your third-party tool is programmable enough that it can map the TSOM event slots to its native event format. The disadvantage of the pull method is that it introduces latency (delay). If the third-party tool requests events from TSOM every 60 seconds, events may wait in TSOM for a full minute before the third-party tool receives them. It is up to you to decide if that delay is acceptable.

             

            TSOM also offers a push method of forwarding events to third-party tools with its Publish-Subscribe REST API. This API allows you to create a subscription which will cause TSOM to send selected events to a third-party REST endpoint using the HTTP POST method. The advantage of this approach is that events are sent immediately. The third-party tool doesn't have to request them. The disadvantage is that the third-party tool has to translate the TSOM event attributes to its native format. TSOM's Publish-Subscribe facility does not provide a data mapping function.

             

            One solution to the data mapping problem with the Publish-Subscribe approach is to create a shim, a software server that sits between TSOM and your third-party tool. The shim would receive events from TSOM, translate the event attributes to the format required by the third-party tool and then forward the re-mapped event to the tool. The main disadvantage of this approach is that someone has to write the shim. It would require some custom code. It's not a big job, but it requires someone with development skills.

             

            Regards,

             

            Brendan

            3 of 3 people found this helpful