getUsers Method - Comparison

getUsers Method - Comparison

Purpose

To retrieve the list of users in your organization.

Request URL

Version 1.0:

https://crm.zoho.com/crm/private/xml/Users/getUsers?authtoken=AuthToken&scope=crmapi&type=The Type of User

Version 2.0:

URL: https://www.zohoapis.com/crm/v2/users

Method: GET

Header: Authorization=Zoho-oauthtoken {oauth_token}

Request Parameters

Version 1.0 Version 2.0
authtoken=**** Authorization=Zoho-oauthtoken ***** - as a Header.
scope=crmapi N/A
newFormat N/A
version N/A
type Same as in V1

Sample Responses:

+
Response in Version 1.0 Response in Version 2.0
<?xml version="1.0" encoding="UTF-8" ?>
<users>
<user id="1386586000000078001" zuid="400000" website="null" mobile="null" fax="null" phone="7092128573" street="Street1" city="City1" state="Telangana" country="India" zip="50000" language="en_US" timezone="IST" email="user1@zoho.com" role="CEO" profile="Administrator" status="active" confirm="true">
<![CDATA[Bruce Wills]]>
</user>
..
..
</users>
{
  "users": [
   {
     "Currency_1": null,
     "country": "India",
     "role": {
      "name": "Senior Manager",
      "id": "1386586000000026008"
     },
     "city": "City1",
     "Single_Line_1": null,
     "language": "en_US",
     "locale": "en_US",
     "Isonline": false,
     "Modified_By": {
      "name": "Bruce Wills",
      "id": "1386586000000078001"
     },
     "Date_1": null,
     "street": "Sreet1",
     "Currency": "INR",
     "alias": null,
     "id": "1386586000000078001",
     "state": "null",
     "fax": "null",
     "country_locale": "US",
     "first_name": "Bruce",
     "email": "user1@zoho.com",
     "Reporting_To": null,
     "zip": "50000",
     "created_time": "2017-02-24T23:35:57+05:30",
     "Modified_Time": ""2018-03-05T16:40:59+05:30",
     "website": null,
     "time_format": "hh:mm a",
     "offset": 19800000,
     "profile": {
      "name": "Administrator",
      "id": "1386586000000026011"
     },
     "mobile": "null",
     "last_name": "Wills",
     "time_zone": "Asia/Kolkata",
     "Created_By": {
      "name": "Bruce Wills",
      "id": "1386586000000078001"
     },
     "zuid": "“400000",
     "confirm": false,
     "full_name": "Testing Account",
     "territories": [],
     "phone": "null",
     "dob": "null",
     "Email_1": "null",
     "date_format": "MM/dd/yyyy",
     "status": "deleted"
   },
   ...
   ...
  ]
 }
    • Related Articles

    • getUsers Method

      Table of Contents Purpose  Request URL  Request Parameters  Sample Response  Purpose You can use the getUsers method to get the list of users in your organization. Request URL XML Format: ...
    • downloadPhoto Method - Comparison

      Purpose To download the photo of a lead or a contact. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/(Leads or Contacts)/downloadPhoto?authtoken=AuthToken&scope=crmapi&id=RecordID Version 2.0: URL: ...
    • downloadFile Method - Comparison

      Purpose To download a file attached to a record. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/downloadFile?authtoken=AuthToken&scope=crmapi&id=Attachment Id Version 2.0: URL: ...
    • deletePhoto Method - Comparison

      Purpose To delete a photo of a contact or lead. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/(Leads or Contacts)/deletePhoto?authtoken=AuthToken&scope=crmapi&id=RecordID Version 2.0: URL: https://www.zohoapis.com/crm/v2/{Leads or ...
    • deleteRecords Method - Comparison

      Purpose To delete the selected records. Request URL Version 1.0: https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=AuthToken&scope=crmapi&id=Record ID Version 2.0: URL: https://www.zohoapis.com/crm/v2/Leads/{record_id} Method: DELETE ...