Happy coding : Integrated ZOHO Desk API in 3 days for Yamaha
I never miss a chance to work with API integration in projects, even in my all day schedule with business stakeholders. I enjoy reading the integration documents, understanding the process and implementing the necessary client side procedures, which make me feel like living in someone’s head for a short period.
There is always something new to learn in every integration, for example while integrating the TATA AIG payment gateway for retail insurance, I learned the blowfish algorithm and other security parameters to be taken for an online transactions. ICICI & HDFC Credit Card integrations taught me the possibilities of SI (Standing Instruction) registration and tokenization; where the partner don’t have to store any sensitive card information in their portal, but banks will help you to get authorized.
Integrating the ZOHO desk, was an easy task for me. They have a well explained integration document, active online forum & trained staff for assistance. Their web service architecture is RESTful and authorization bearer token system (my favorite) where their access token will expire in every 1 hour and refresh token will help you to generate new access token.
The only place got stuck was their document upload API. This API is expecting a ‘file’ parameter with multipart/form-data and it is quite tricky to send such file object through the code. They would have accepted ‘bytestream’ in one parameter and ‘mimetype’ in another parameter which is suggestible in this case.
ZOHO APIs used: Generate Token, Refresh Token, Create Ticket, Get Contact, Search Contact, List Departments, Get a ticket, Get resolution history, Create Contact, Delete Contact, Upload Document, Ticket Attachments
Creating a ZOHO ticket : Our portal UI
Thanks for your time to read my article.