Zoho Desk API calls. XML versus JSON

Zoho Desk API calls. XML versus JSON

Hi:

I have been using the API calls to retrieve Zoho Desk data in XML format inside a Visual Studio program I am developing.
These APIs are defined here:
https://help.zoho.com/portal/kb/zoho-desk/for-developers/developer-guide

for example to search records:

https://desk.zoho.com/api/xml/MODULE/getrecords?authtoken=AUTHTOKEN&portal=PORTALNAME&department=DEPARTMENTNAME

I have had good success integrating these calls into my VS app.

The other day I was informed that there are some unique API calls available here:
https://support.zoho.com/support/APIDocument.do#Introduction

These API calls seem to be in a different format than the XML calls.

For example, to get a list of all customers, you can use:


Request Example $ curl -X GET https://desk.zoho.com/api/v1/contacts
  -H "orgId:2389290"
  -H "Authorization:Zoho-authtoken 50c9bb96b17694d63cd0f03eadbe4ae5"

I don't know how to use this format in my coding. I believe it is JSON format?

Is it possible to make these API calls in XML format?

Thanks for your help,

Alyssa

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now