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