Hi Vinay,
First you need to identify the interfaces to use. Most probably, it should be handled by config. The example I gave you is triggered by functional configuration. Once you get the message into PI, then you need to work on what format the third party needs the data in...
Ambrish