Back to Collection Items
use chilkat();
# This example assumes the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.
$http = chilkat::CkHttp->new();
$http->SetRequestHeader("Authorization","{{authorization-token}}");
$sbResponseBody = chilkat::CkStringBuilder->new();
$success = $http->QuickGetSb("https://domain.com/crm/v2.1/users",$sbResponseBody);
if ($success == 0) {
print $http->lastErrorText() . "\r\n";
exit;
}
$jResp = chilkat::CkJsonObject->new();
$jResp->LoadSb($sbResponseBody);
$jResp->put_EmitCompact(0);
print "Response Body:" . "\r\n";
print $jResp->emit() . "\r\n";
$respStatusCode = $http->get_LastStatus();
print "Response Status Code = " . $respStatusCode . "\r\n";
if ($respStatusCode >= 400) {
print "Response Header:" . "\r\n";
print $http->lastHeader() . "\r\n";
print "Failed." . "\r\n";
exit;
}
# Sample JSON response:
# (Sample code for parsing the JSON response is shown below)
# {
# "users": [
# {
# "country": "US",
# "role": {
# "name": "CEO",
# "id": "738964000000015966"
# },
# "customize_info": {
# "notes_desc": null,
# "show_right_panel": null,
# "bc_view": null,
# "show_home": false,
# "show_detail_view": true,
# "unpin_recent_item": null
# },
# "city": null,
# "signature": null,
# "sort_order_preference": "First Name,Last Name",
# "name_format": "Salutation,First Name,Last Name",
# "language": "en_US",
# "locale": "en_US",
# "microsoft": false,
# "personal_account": false,
# "Isonline": false,
# "default_tab_group": "0",
# "Modified_By": {
# "name": "Patricia Boyle",
# "id": "738964000000291009"
# },
# "street": null,
# "Currency": "AFN",
# "alias": null,
# "theme": {
# "normal_tab": {
# "font_color": "#FFFFFF",
# "background": "#222222"
# },
# "selected_tab": {
# "font_color": "#FFFFFF",
# "background": "#222222"
# },
# "new_background": null,
# "background": "#F3F0EB",
# "screen": "fixed",
# "type": "default"
# },
# "id": "738964000000291009",
# "state": null,
# "fax": null,
# "country_locale": "US",
# "sandboxDeveloper": false,
# "first_name": "Patricia",
# "email": "patricia.b@zohocorp.com",
# "Reporting_To": null,
# "zip": null,
# "decimal_separator": "en_IN",
# "created_time": "2019-11-26T13:00:28+00:00",
# "website": null,
# "Modified_Time": "2020-10-20T13:24:46+00:00",
# "time_format": "hh:mm a",
# "offset": 0,
# "profile": {
# "name": "Administrator",
# "id": "738964000000015972"
# },
# "mobile": null,
# "last_name": "Boyle",
# "time_zone": "GMT",
# "created_by": {
# "name": "Patricia Boyle",
# "id": "738964000000291009"
# },
# "zuid": "60034346",
# "confirm": true,
# "full_name": "Patrcia Boyle",
# "territories": [
# {
# "manager": true,
# "name": "Zylker",
# "id": "738964000001977341"
# },
# {
# "manager": true,
# "name": "South Zone",
# "id": "738964000001977355"
# }
# ],
# "phone": "9597538144",
# "dob": null,
# "date_format": "MM/dd/yyyy",
# "status": "active"
# },
# {
# "country": "US",
# "role": {
# "name": "Manager",
# "id": "738964000000015969"
# },
# "city": "Austin",
# "sort_order_preference": "null",
# "language": "en_US",
# "locale": "en_US",
# "microsoft": false,
# "Isonline": false,
# "Modified_By": {
# "name": "Patricia Boyle",
# "id": "738964000000291009"
# },
# "street": "6800 Burleson Rd, Building 310, Suite 200",
# "Currency": "AFN",
# "alias": "Patricia",
# "id": "738964000002006002",
# "state": "Texas",
# "fax": "444-222",
# "country_locale": "US",
# "sandboxDeveloper": false,
# "first_name": "Patricia",
# "email": "Patricia@abcl.com",
# "Reporting_To": null,
# "zip": "78744",
# "created_time": "2021-03-31T07:38:23+00:00",
# "website": "www.patriciaboyle.com",
# "Modified_Time": "2021-03-31T07:53:02+00:00",
# "time_format": "hh:mm a",
# "offset": 19800000,
# "profile": {
# "name": "Administrator",
# "id": "738964000000015972"
# },
# "mobile": "9000000000",
# "last_name": "Boyle",
# "time_zone": "Asia/Kolkata",
# "created_by": {
# "name": "Patrcia Boyle",
# "id": "738964000000291009"
# },
# "zuid": null,
# "confirm": false,
# "full_name": "Patricia Boyle",
# "territories": [
# ],
# "phone": "044-71817070",
# "dob": "1996-02-01",
# "date_format": "MM/dd/yyyy",
# "status": "active"
# },
# {
# "country": null,
# "role": {
# "name": "CEO",
# "id": "738964000000015966"
# },
# "city": null,
# "sort_order_preference": "null",
# "language": "en_US",
# "locale": "en_US",
# "microsoft": false,
# "Isonline": false,
# "Modified_By": {
# "name": "Patricia Boyle",
# "id": "738964000000291009"
# },
# "street": null,
# "Currency": null,
# "alias": null,
# "id": "738964000002058003",
# "state": null,
# "fax": null,
# "country_locale": "US",
# "sandboxDeveloper": false,
# "first_name": "Patricia",
# "email": "patricia@abc.com",
# "Reporting_To": null,
# "zip": null,
# "created_time": "2021-04-21T08:49:48+00:00",
# "website": null,
# "Modified_Time": "2021-04-21T08:49:48+00:00",
# "time_format": "hh:mm a",
# "offset": 0,
# "profile": {
# "name": "Administrator",
# "id": "738964000000015972"
# },
# "mobile": null,
# "last_name": "Boyle",
# "time_zone": "GMT",
# "created_by": {
# "name": "Patricia Boyle",
# "id": "738964000000291009"
# },
# "zuid": null,
# "confirm": false,
# "full_name": "Patricia Boyle",
# "territories": [
# ],
# "phone": null,
# "dob": null,
# "date_format": "MM/dd/yyyy",
# "status": "active"
# }
# ],
# "info": {
# "per_page": 200,
# "count": 3,
# "page": 1,
# "more_records": false
# }
# }
# Sample code for parsing the JSON response...
# Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
$date_format = chilkat::CkDtObj->new();
$Per_page = $jResp->IntOf("info.per_page");
$Count = $jResp->IntOf("info.count");
$Page = $jResp->IntOf("info.page");
$More_records = $jResp->BoolOf("info.more_records");
$i = 0;
$count_i = $jResp->SizeOfArray("users");
while ($i < $count_i) {
$jResp->put_I($i);
$country = $jResp->stringOf("users[i].country");
$Name = $jResp->stringOf("users[i].role.name");
$Id = $jResp->stringOf("users[i].role.id");
$Notes_desc = $jResp->stringOf("users[i].customize_info.notes_desc");
$Show_right_panel = $jResp->stringOf("users[i].customize_info.show_right_panel");
$Bc_view = $jResp->stringOf("users[i].customize_info.bc_view");
$Show_home = $jResp->BoolOf("users[i].customize_info.show_home");
$Show_detail_view = $jResp->BoolOf("users[i].customize_info.show_detail_view");
$Unpin_recent_item = $jResp->stringOf("users[i].customize_info.unpin_recent_item");
$city = $jResp->stringOf("users[i].city");
$signature = $jResp->stringOf("users[i].signature");
$sort_order_preference = $jResp->stringOf("users[i].sort_order_preference");
$name_format = $jResp->stringOf("users[i].name_format");
$language = $jResp->stringOf("users[i].language");
$locale = $jResp->stringOf("users[i].locale");
$microsoft = $jResp->BoolOf("users[i].microsoft");
$personal_account = $jResp->BoolOf("users[i].personal_account");
$Isonline = $jResp->BoolOf("users[i].Isonline");
$default_tab_group = $jResp->stringOf("users[i].default_tab_group");
$Modified_ByName = $jResp->stringOf("users[i].Modified_By.name");
$Modified_ById = $jResp->stringOf("users[i].Modified_By.id");
$street = $jResp->stringOf("users[i].street");
$v_Currency = $jResp->stringOf("users[i].Currency");
$alias = $jResp->stringOf("users[i].alias");
$Font_color = $jResp->stringOf("users[i].theme.normal_tab.font_color");
$Background = $jResp->stringOf("users[i].theme.normal_tab.background");
$Selected_tabFont_color = $jResp->stringOf("users[i].theme.selected_tab.font_color");
$Selected_tabBackground = $jResp->stringOf("users[i].theme.selected_tab.background");
$New_background = $jResp->stringOf("users[i].theme.new_background");
$themeBackground = $jResp->stringOf("users[i].theme.background");
$Screen = $jResp->stringOf("users[i].theme.screen");
$v_Type = $jResp->stringOf("users[i].theme.type");
$id = $jResp->stringOf("users[i].id");
$state = $jResp->stringOf("users[i].state");
$fax = $jResp->stringOf("users[i].fax");
$country_locale = $jResp->stringOf("users[i].country_locale");
$sandboxDeveloper = $jResp->BoolOf("users[i].sandboxDeveloper");
$first_name = $jResp->stringOf("users[i].first_name");
$email = $jResp->stringOf("users[i].email");
$Reporting_To = $jResp->stringOf("users[i].Reporting_To");
$zip = $jResp->stringOf("users[i].zip");
$decimal_separator = $jResp->stringOf("users[i].decimal_separator");
$created_time = $jResp->stringOf("users[i].created_time");
$website = $jResp->stringOf("users[i].website");
$Modified_Time = $jResp->stringOf("users[i].Modified_Time");
$time_format = $jResp->stringOf("users[i].time_format");
$offset = $jResp->IntOf("users[i].offset");
$profileName = $jResp->stringOf("users[i].profile.name");
$profileId = $jResp->stringOf("users[i].profile.id");
$mobile = $jResp->stringOf("users[i].mobile");
$last_name = $jResp->stringOf("users[i].last_name");
$time_zone = $jResp->stringOf("users[i].time_zone");
$created_byName = $jResp->stringOf("users[i].created_by.name");
$created_byId = $jResp->stringOf("users[i].created_by.id");
$zuid = $jResp->stringOf("users[i].zuid");
$confirm = $jResp->BoolOf("users[i].confirm");
$full_name = $jResp->stringOf("users[i].full_name");
$phone = $jResp->stringOf("users[i].phone");
$dob = $jResp->stringOf("users[i].dob");
$jResp->DtOf("users[i].date_format",0,$date_format);
$status = $jResp->stringOf("users[i].status");
$j = 0;
$count_j = $jResp->SizeOfArray("users[i].territories");
while ($j < $count_j) {
$jResp->put_J($j);
$manager = $jResp->BoolOf("users[i].territories[j].manager");
$name = $jResp->stringOf("users[i].territories[j].name");
$id = $jResp->stringOf("users[i].territories[j].id");
$j = $j + 1;
}
$i = $i + 1;
}
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
-H "Authorization: {{authorization-token}}"
https://domain.com/crm/v2.1/users
Postman Collection Item JSON
{
"name": "Users Data",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access-token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
]
},
"description": "To retrieve the users' data specified in the API request. You can specify the type of users that needs to be retrieved using the Users API. For example, use type=AllUsers, to get the list of all the CRM users available. \n\nRefer to [help doc](https://www.zoho.com/crm/developer/docs/api/v2.1/get-users.html) to know more. "
},
"response": [
{
"name": "P1: type=AllUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=AllUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "AllUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:52:48 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": false,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia.b@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patrcia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-03-31T07:53:02+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patrcia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": null,\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"city\": null,\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": null,\n \"alias\": null,\n \"id\": \"738964000002058003\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@abc.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"created_time\": \"2021-04-21T08:49:48+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2021-04-21T08:49:48+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": null,\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 3,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P2: type=ActiveUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=ActiveUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "ActiveUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:53:15 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": false,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia.b@zylker.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-03-31T07:53:02+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": null,\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"city\": null,\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": null,\n \"alias\": null,\n \"id\": \"738964000002058003\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@abc.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"created_time\": \"2021-04-21T08:49:48+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2021-04-21T08:49:48+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patrcia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": null,\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 3,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P3: type=DeactiveUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=DeactiveUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "DeactiveUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:54:06 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-05-04T12:54:03+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"disabled\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 1,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P4: type=ConfirmedUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=ConfirmedUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "ConfirmedUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:54:21 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": false,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia.b@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 1,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P5: type=NotConfirmedUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=NotConfirmedUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "NotConfirmedUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:54:37 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-05-04T12:54:03+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"disabled\"\n },\n {\n \"country\": null,\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"city\": null,\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": null,\n \"alias\": null,\n \"id\": \"738964000002058003\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@abc.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"created_time\": \"2021-04-21T08:49:48+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2021-04-21T08:49:48+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": null,\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 2,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P6: type=DeletedUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=DeletedUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "DeletedUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:55:16 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-05-04T12:55:14+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"deleted\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 1,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P7: type=ActiveConfirmedUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=ActiveConfirmedUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "ActiveConfirmedUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:55:35 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": true,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 1,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P8: type=AdminUsers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=AdminUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "AdminUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:55:53 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": true,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-05-04T12:55:14+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"deleted\"\n },\n {\n \"country\": null,\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"city\": null,\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": null,\n \"alias\": null,\n \"id\": \"738964000002058003\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@abc.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"created_time\": \"2021-04-21T08:49:48+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2021-04-21T08:49:48+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": null,\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 3,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P9: type=ActiveConfirmedAdmins",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=ActiveConfirmedAdmins",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "ActiveConfirmedAdmins"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:56:06 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": true,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia.b@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 1,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P10: type=CurrentUser",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=CurrentUser",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "CurrentUser"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:56:30 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": true,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia.b@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 1,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P11: page & per_page",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?page=1&per_page=200",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "page",
"value": "1"
},
{
"key": "per_page",
"value": "200"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:57:44 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": true,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia.b@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"Zylker\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-05-04T12:55:14+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"deleted\"\n },\n {\n \"country\": null,\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"city\": null,\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": null,\n \"alias\": null,\n \"id\": \"738964000002058003\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@abc.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"created_time\": \"2021-04-21T08:49:48+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2021-04-21T08:49:48+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Patricia Boyle\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": null,\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 3,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "SUCCESS RESPONSE",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=AllUsers",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "AllUsers"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:51:16 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Set-Cookie",
"value": "82aad952ba=5d08dbe022277a950e88d07b515e84e3; Path=/"
},
{
"key": "Set-Cookie",
"value": "crmcsr=4788692d-5340-409f-b687-e528a54d74f1;path=/;SameSite=None;Secure;priority=high"
},
{
"key": "Set-Cookie",
"value": "_zcsr_tmp=4788692d-5340-409f-b687-e528a54d74f1;path=/;SameSite=Strict;Secure;priority=high"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-04T13:49:35+00:00"
},
{
"key": "clientVersion",
"value": "4004813"
},
{
"key": "clientsubVersion",
"value": "fb33599b767b94d06d2bd2529079b386"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"users\": [\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"customize_info\": {\n \"notes_desc\": null,\n \"show_right_panel\": null,\n \"bc_view\": null,\n \"show_home\": false,\n \"show_detail_view\": true,\n \"unpin_recent_item\": null\n },\n \"city\": null,\n \"signature\": null,\n \"sort_order_preference\": \"First Name,Last Name\",\n \"name_format\": \"Salutation,First Name,Last Name\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"personal_account\": false,\n \"Isonline\": false,\n \"default_tab_group\": \"0\",\n \"Modified_By\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": \"AFN\",\n \"alias\": null,\n \"theme\": {\n \"normal_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"selected_tab\": {\n \"font_color\": \"#FFFFFF\",\n \"background\": \"#222222\"\n },\n \"new_background\": null,\n \"background\": \"#F3F0EB\",\n \"screen\": \"fixed\",\n \"type\": \"default\"\n },\n \"id\": \"738964000000291009\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Sneha\",\n \"email\": \"sneha.ss@zohocorp.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"decimal_separator\": \"en_IN\",\n \"created_time\": \"2019-11-26T13:00:28+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2020-10-20T13:24:46+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Sneha\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": \"60034346\",\n \"confirm\": true,\n \"full_name\": \"Sneha Sneha\",\n \"territories\": [\n {\n \"manager\": true,\n \"name\": \"freshlybakedgoodness\",\n \"id\": \"738964000001977341\"\n },\n {\n \"manager\": true,\n \"name\": \"South Zone\",\n \"id\": \"738964000001977355\"\n }\n ],\n \"phone\": \"9597538144\",\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": \"US\",\n \"role\": {\n \"name\": \"Manager\",\n \"id\": \"738964000000015969\"\n },\n \"city\": \"Austin\",\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"street\": \"6800 Burleson Rd, Building 310, Suite 200\",\n \"Currency\": \"AFN\",\n \"alias\": \"Patricia\",\n \"id\": \"738964000002006002\",\n \"state\": \"Texas\",\n \"fax\": \"444-222\",\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"Patricia@abcl.com\",\n \"Reporting_To\": null,\n \"zip\": \"78744\",\n \"created_time\": \"2021-03-31T07:38:23+00:00\",\n \"website\": \"www.patriciaboyle.com\",\n \"Modified_Time\": \"2021-03-31T07:53:02+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 19800000,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": \"9000000000\",\n \"last_name\": \"Boyle\",\n \"time_zone\": \"Asia/Kolkata\",\n \"created_by\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": \"044-71817070\",\n \"dob\": \"1996-02-01\",\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n },\n {\n \"country\": null,\n \"role\": {\n \"name\": \"CEO\",\n \"id\": \"738964000000015966\"\n },\n \"city\": null,\n \"sort_order_preference\": \"null\",\n \"language\": \"en_US\",\n \"locale\": \"en_US\",\n \"microsoft\": false,\n \"Isonline\": false,\n \"Modified_By\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"street\": null,\n \"Currency\": null,\n \"alias\": null,\n \"id\": \"738964000002058003\",\n \"state\": null,\n \"fax\": null,\n \"country_locale\": \"US\",\n \"sandboxDeveloper\": false,\n \"first_name\": \"Patricia\",\n \"email\": \"patricia@abc.com\",\n \"Reporting_To\": null,\n \"zip\": null,\n \"created_time\": \"2021-04-21T08:49:48+00:00\",\n \"website\": null,\n \"Modified_Time\": \"2021-04-21T08:49:48+00:00\",\n \"time_format\": \"hh:mm a\",\n \"offset\": 0,\n \"profile\": {\n \"name\": \"Administrator\",\n \"id\": \"738964000000015972\"\n },\n \"mobile\": null,\n \"last_name\": \"Boyle\",\n \"time_zone\": \"GMT\",\n \"created_by\": {\n \"name\": \"Sneha Sneha\",\n \"id\": \"738964000000291009\"\n },\n \"zuid\": null,\n \"confirm\": false,\n \"full_name\": \"Patricia Boyle\",\n \"territories\": [],\n \"phone\": null,\n \"dob\": null,\n \"date_format\": \"MM/dd/yyyy\",\n \"status\": \"active\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 3,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "INVALID_REQUEST_METHOD",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:59:26 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "124"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "X-Frame-Options",
"value": "deny"
},
{
"key": "X-Download-Options",
"value": "noopen"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_REQUEST_METHOD\",\n \"details\": {},\n \"message\": \"The http request method type is not a valid one\",\n \"status\": \"error\"\n}"
},
{
"name": "AUTHENTICATION_FAILURE",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 12:59:49 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "98"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"AUTHENTICATION_FAILURE\",\n \"details\": {},\n \"message\": \"Authentication failed\",\n \"status\": \"error\"\n}"
},
{
"name": "PATTERN_NOT_MATCHED",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users?type=all",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
],
"query": [
{
"key": "type",
"value": "all"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 13:00:09 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "140"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"PATTERN_NOT_MATCHED\",\n \"details\": {\n \"api_name\": \"type\"\n },\n \"message\": \"Please check whether the input values are correct\",\n \"status\": \"error\"\n}"
},
{
"name": "OAUTH_SCOPE_MISMATCH",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{authorization-token}}"
}
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/users",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"users"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Tue, 04 May 2021 13:37:36 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "113"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"OAUTH_SCOPE_MISMATCH\",\n \"details\": {},\n \"message\": \"invalid oauth scope to access this URL\",\n \"status\": \"error\"\n}"
}
]
}