Webhook new events  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Webhook new events

Postby minhhieu106 » Sat Aug 04, 2018 5:06 pm

Hi Mike,

I found that on Jiwa version 7.02.00.00 change log . There are new webhook events.
https://docs.jiwa.com.au/display/J7UG/JIWA+7.02.00.00

Where can i download new Plugin REST API Webhooks.xml file with all new webhook events?
https://docs.jiwa.com.au/display/J7UG/Webhooks

Thanks,
Hieu
minhhieu106
Occasional Contributor
Occasional Contributor
 
Posts: 49
Joined: Thu Mar 29, 2018 3:29 pm
Topics Solved: 0

Re: Webhook new events  Topic is solved

Postby Mike.Sheen » Sat Aug 04, 2018 5:49 pm

minhhieu106 wrote:Where can i download new Plugin REST API Webhooks.xml file with all new webhook events?
https://docs.jiwa.com.au/display/J7UG/Webhooks

Thanks,
Hieu


Hi Hieu,

As per DEV-6501, which is listed as one of the improvements of 7.2, we state that we merged the REST API Webhooks plugin into the REST API plugin making the REST API Webhooks plugin now redundant.

So, if you upgraded a database to version 7.2 or created a new database or new demo database for 7.2, we automatically update the REST API plugin to include the webhooks functionality.

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Webhook new events

Postby minhhieu106 » Sat Aug 04, 2018 6:39 pm

Hi Mike,

So now the REST API Webhooks plugin has been removed. We only use REST API plugin.

This plugin does not recommend to modify. Where can i add more webhook event such as Staff or a customization code for event which I have added before on REST API Webhooks plugin?

Please advise. Thank you.

Hieu
minhhieu106
Occasional Contributor
Occasional Contributor
 
Posts: 49
Joined: Thu Mar 29, 2018 3:29 pm
Topics Solved: 0

Re: Webhook new events

Postby Mike.Sheen » Sat Aug 04, 2018 9:34 pm

minhhieu106 wrote:This plugin does not recommend to modify. Where can i add more webhook event such as Staff or a customization code for event which I have added before on REST API Webhooks plugin?


Hi Hieu,

You should do that by creating a new plugin which implements the IJiwaRESTAPIPlugin interface - that will get invoked when the API service starts. You'll need to add a Plugin reference to the REST API Plugin, and in the Configure method required by the interface add the webhooks you require.

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Webhook new events

Postby minhhieu106 » Sun Aug 05, 2018 12:53 am

Hi Mike,

Do you have any documentation or sample code for creating a new plugin.

I try to find on https://docs.jiwa.com.au/display/J7UG/Jiwa+7+Documentation+Home but still not found.

Thanks,
Hieu
minhhieu106
Occasional Contributor
Occasional Contributor
 
Posts: 49
Joined: Thu Mar 29, 2018 3:29 pm
Topics Solved: 0


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 11 guests

cron