Please note this page contains the descriptions of SkyDesk Services already terminated.

Get Records By ID from SkyDesk Support

Table of ContentsDown

 Overview

The zoho.support.getRecordById() task is used to fetch records from any of the supported modules in your SkyDesk Support account, by specifying the unique ID of the record. For example, you can get the details of a contact from the Contacts module in SkyDesk Support by specifying the ID of the record.

 Supported Modules

  • Requests
  • Accounts
  • Contacts
  • Contracts

 Syntax

<response>=zoho.support.getRecordById(<moduleName>,<portal>,<department>,<recordID>);

where,
<response>is the map variable returned as response.
<moduleName>is the name of the SkyDesk Support Module from where the record needs to be fetched. For example, "Requests" refers to the Requests module. The SkyDesk Support modules that are supported by Creator are "Requests", "Accounts", "Contacts" and "Contracts".
<portal>is the name of the SkyDesk Support Portal

<deptartment> refers to the department name in the portal from where the records need to be fetched. 

<recordId> is the Id in SkyDesk Support based on which the record related to the ID is fetched.

 Example

response = zoho.support.getRecordById("Accounts", "skytest", "database", "9000000001"); 

where,
response is the map variable returned as reponse.
Accounts is the name of the SkyDesk Support Module from where the records need to be fetched.
skytest is the name of the SkyDesk Support Portal

database refers to the department in the portal where the records need to be fetched.

 Response Format

The response returned by SkyDesk Support will be in the format given below:

resp = {"Phone":"1 888 900 9646","Email":"sample@organization.com","Website":"https://www.orgsite.com/","Account Name":"Sample","ACCOUNTID":"1111111111111111"}