FAQs Zoho Desk For Developers Developer Guide

            addRecords API Method

            You can use the addRecords API method to add or insert records into the required Zoho Desk modules.

            Request URL Format

            XMLhttps://desk.zoho.com/api/xml/MODULE/addrecords?authtoken=AUTHTOKEN&portal=PORTALNAME&department=DEPARTMENTNAME&xml=XMLDATA

            Note:
            • Replace MODULE with any one of these - requests, solutions, accounts, contacts, contracts, products, or tasks.
            • Replace AUTHTOKEN, PORTALNAME, DEPARTMENTNAME, XMLDATA with your authtoken, portal name, department name and XML data respectively.
            Request Parameters

            ParameterData TypeDescription
            authtoken*StringEncrypted alphanumeric string to authenticate your Zoho credentials
            portal*StringPortal of your Zoho Desk
            department*StringDepartment of your Zoho Desk
            xml*StringThis is a XML string and the format should be same as how get records in XML format during your fetch API

            * - Mandatory parameter

            Note:
            • While inserting data to your Zoho Desk account, role-based security (Roles, Profiles, Field-level security and Data sharing rules) is applied. Hence, use the user ID with the¬†highest role(Ex: CEO) and profile (Ex: Administrator). Also make sure all fields are enabled in the Field-level security settings.
            • While adding data, make sure the date and time are in the MM/dd/yyyy and yyyy-MM-dd HH:mm:ss formats respectively
            Sample Request URL
            Here is a sample request URL and its data format.

            Example:
            https://desk.zoho.com/api/xml/requests/addrecords?authtoken=AUTHTOKEN&portal=demosupport & department=demodepartment&xml=XMLDATA

            XMLDATA should be of the following format :
            <requests>
            <row no="1">
            <fl val="Subject">Add Records Demo</fl>
            <fl val="Contact Name">John</fl>
            <fl val="Product Name">Customer Care</fl>
            <fl val="Email">john@demo.com</fl>
            <fl val="Phone">002200330044</fl>
            </row>
            </requests>
            Helpful?  
            Help us to make this article better
            3 1