Json, REST and Zendesk

Many of us have been using XML and SOAP for a long time now. This time my task was to create tickets in Zendesk based on events in NAV. I soon discovered that Zendesk uses REST web services and that it talks Json…. 😯

I soon found Gunnar Gestssons blog post on “JSON meets NAV“. Many thanks to Gunnar for doing the hard work! All I did was some tweaking to make it work with Zendesk.

On the link below you’ll find a textfile with two codeunits (99100 and 99101). 99100 is based on Gunnars work and in 99101 there’s some code which shows how to work with Zendesk. All you need to do is to setup a Zendesk trial account and do some setup there (more details in the documentation trigger in cu 99101). Then change some hard coded parameters in codeunit 99101 and you can create tickets in Zendesk.

I hope this can be useful for some of you guys out there. Enjoy!

Objects: Zendesk demo

Tags: , ,

No comments yet.

Leave a Reply