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

Creating a Record in SkyDesk Support

Table of ContentsDown

 Create a record in SkyDesk Support

The zoho.support.create() task is used to add a record to any of the supported modules in your SkyDesk Support account, directly from your SkyDesk Creator application. For example, you can create a new request, add a new account, create a new contact etc. in your SkyDesk Support account using this Create task.

 Supported Modules

  • Requests
  • Accounts
  • Contacts
  • Contracts

 Syntax

<response> = zoho.support.create(<moduleName>, <portal>, <department>, <fieldsList>);

where,
<response>is the map variable returned as response.
<moduleName>is the name of the SkyDesk Support Module where the record will be added. 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 and <department> refers to the department in the portal where the record will be added.
<fieldslist> is the map variable that holds the key,value pairs. The map key is the label name as specified in the SkyDesk Support module and the map value is the field value as submitted in the SkyDesk Creator form. For example, "Contact Name" : input.Contact_Name . Here, "Contact Name" is the label name as specified in the SkyDesk Support module and "input.Contact_Name" refers to the value specified in the Contact_Name field in the SkyDesk Creator form.

Note:

  • All the parameters listed above are mandatory. 

 Example

response = zoho.support.create("Requests", "skytest", "database", {"Contact Name" : "Max","Email" : "username@skydesk.jp"});

where,
response is the map variable returned as response.
Requests is the name of the SkyDesk Support Module where the record will be added.
skytest is the name of the SkyDesk Support Portal and database refers to the department in the portal where the record will be added.
"Contact Name" and "Email" are the label names as specified in the SkyDesk Support module. "Max" and "username@skydesk.jp" refer to the value specified in the "Contact_Name" and "Email" fields in the SkyDesk Creator form respectively.

 Response Format

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

{"id":"60922000000055001","Status":"Record(s) added successfully","Time":"2014-11-27 10:05:43"

If the execution fails due to incorrect parameter value,the response will be in the following format:

{"message":"Invalid User","code":"4861"