Chilkat Online Tools

autoit / Zoho CRM REST APIs / Leads

Back to Collection Items

; This example assumes the Chilkat API to have been previously unlocked.
; See Global Unlock Sample for sample code.

$oHttp = ObjCreate("Chilkat.Http")
Local $bSuccess

; Adds the "Authorization: Bearer <access_token>" header.
$oHttp.AuthToken = "<access_token>"

$oSbResponseBody = ObjCreate("Chilkat.StringBuilder")
$bSuccess = $oHttp.QuickGetSb("https://domain.com/crm/v2.1/Leads",$oSbResponseBody)
If ($bSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf

$oJResp = ObjCreate("Chilkat.JsonObject")
$oJResp.LoadSb($oSbResponseBody)
$oJResp.EmitCompact = False

ConsoleWrite("Response Body:" & @CRLF)
ConsoleWrite($oJResp.Emit() & @CRLF)

Local $iRespStatusCode = $oHttp.LastStatus
ConsoleWrite("Response Status Code = " & $iRespStatusCode & @CRLF)
If ($iRespStatusCode >= 400) Then
    ConsoleWrite("Response Header:" & @CRLF)
    ConsoleWrite($oHttp.LastHeader & @CRLF)
    ConsoleWrite("Failed." & @CRLF)
    Exit
EndIf

; Sample JSON response:
; (Sample code for parsing the JSON response is shown below)

; {
;   "data": [
;     {
;       "Last_Name": "Test",
;       "id": "738964000002058110"
;     },
;     {
;       "Last_Name": "Test",
;       "id": "738964000002058109"
;     },
;     {
;       "Last_Name": "Test",
;       "id": "738964000002058100"
;     },
;     {
;       "Last_Name": "Dolan",
;       "id": "738964000002058089"
;     },
;     {
;       "Last_Name": "Contact_test",
;       "id": "738964000002058068"
;     },
;     {
;       "Last_Name": "Frey (Sample)",
;       "id": "738964000001517138"
;     },
;     {
;       "Last_Name": "Boyle",
;       "id": "738964000001273056"
;     }
;   ],
;   "info": {
;     "per_page": 200,
;     "count": 7,
;     "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

Local $sLast_Name
Local $sId

Local $iPer_page = $oJResp.IntOf("info.per_page")
Local $iCount = $oJResp.IntOf("info.count")
Local $iPage = $oJResp.IntOf("info.page")
Local $bMore_records = $oJResp.BoolOf("info.more_records")
Local $i = 0
Local $iCount_i = $oJResp.SizeOfArray("data")
While $i < $iCount_i
    $oJResp.I = $i
    $sLast_Name = $oJResp.StringOf("data[i].Last_Name")
    $sId = $oJResp.StringOf("data[i].id")
    $i = $i + 1
Wend

Curl Command

curl -X GET
	-H "Authorization: Bearer <access_token>"
https://domain.com/crm/v2.1/Leads

Postman Collection Item JSON

{
  "name": "Leads",
  "request": {
    "auth": {
      "type": "bearer",
      "bearer": [
        {
          "key": "token",
          "value": "{{access-token}}",
          "type": "string"
        }
      ]
    },
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{api-domain}}/crm/v2.1/Leads",
      "host": [
        "{{api-domain}}"
      ],
      "path": [
        "crm",
        "v2.1",
        "Leads"
      ]
    },
    "description": "To get the list of available records in the Leads module."
  },
  "response": [
    {
      "name": "P1: fields",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?fields=Last_Name",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "fields",
              "value": "Last_Name"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:40:35 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "422"
        },
        {
          "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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "key": "Content-Disposition",
          "value": "attachment; filename=response.json"
        },
        {
          "key": "Content-Language",
          "value": "en-US"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=15768000"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"data\": [\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058110\"\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058109\"\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058100\"\n        },\n        {\n            \"Last_Name\": \"Dolan\",\n            \"id\": \"738964000002058089\"\n        },\n        {\n            \"Last_Name\": \"Contact_test\",\n            \"id\": \"738964000002058068\"\n        },\n        {\n            \"Last_Name\": \"Frey (Sample)\",\n            \"id\": \"738964000001517138\"\n        },\n        {\n            \"Last_Name\": \"Boyle\",\n            \"id\": \"738964000001273056\"\n        }\n    ],\n    \"info\": {\n        \"per_page\": 200,\n        \"count\": 7,\n        \"page\": 1,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "P2: sort_order & sort_by",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?sort_order=asc&sort_by=Last_Name&fields=Last_Name",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "sort_order",
              "value": "asc"
            },
            {
              "key": "sort_by",
              "value": "Last_Name"
            },
            {
              "key": "fields",
              "value": "Last_Name"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:41:00 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "422"
        },
        {
          "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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "key": "Content-Disposition",
          "value": "attachment; filename=response.json"
        },
        {
          "key": "Content-Language",
          "value": "en-US"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=15768000"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"data\": [\n        {\n            \"Last_Name\": \"Boyle\",\n            \"id\": \"738964000001273056\"\n        },\n        {\n            \"Last_Name\": \"Contact_test\",\n            \"id\": \"738964000002058068\"\n        },\n        {\n            \"Last_Name\": \"Dolan\",\n            \"id\": \"738964000002058089\"\n        },\n        {\n            \"Last_Name\": \"Frey (Sample)\",\n            \"id\": \"738964000001517138\"\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058110\"\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058109\"\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058100\"\n        }\n    ],\n    \"info\": {\n        \"per_page\": 200,\n        \"count\": 7,\n        \"page\": 1,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "P3: converted",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?converted=true&fields=$converted,Last_Name",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "converted",
              "value": "true"
            },
            {
              "key": "fields",
              "value": "$converted,Last_Name"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:41:25 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "208"
        },
        {
          "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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "key": "Content-Disposition",
          "value": "attachment; filename=response.json"
        },
        {
          "key": "Content-Language",
          "value": "en-US"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=15768000"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"data\": [\n        {\n            \"$converted\": true,\n            \"Last_Name\": \"Daly\",\n            \"id\": \"738964000001517159\"\n        },\n        {\n            \"$converted\": true,\n            \"Last_Name\": \"New Lead\",\n            \"id\": \"738964000001517139\"\n        }\n    ],\n    \"info\": {\n        \"per_page\": 200,\n        \"count\": 2,\n        \"page\": 1,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "P4: approved",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?approved=true&fields=$approved,Last_Name",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "approved",
              "value": "true"
            },
            {
              "key": "fields",
              "value": "$approved,Last_Name"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:41:55 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "541"
        },
        {
          "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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "key": "Content-Disposition",
          "value": "attachment; filename=response.json"
        },
        {
          "key": "Content-Language",
          "value": "en-US"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=15768000"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"data\": [\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058110\",\n            \"$approved\": true\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058109\",\n            \"$approved\": true\n        },\n        {\n            \"Last_Name\": \"Test\",\n            \"id\": \"738964000002058100\",\n            \"$approved\": true\n        },\n        {\n            \"Last_Name\": \"Dolan\",\n            \"id\": \"738964000002058089\",\n            \"$approved\": true\n        },\n        {\n            \"Last_Name\": \"Contact_test\",\n            \"id\": \"738964000002058068\",\n            \"$approved\": true\n        },\n        {\n            \"Last_Name\": \"Frey (Sample)\",\n            \"id\": \"738964000001517138\",\n            \"$approved\": true\n        },\n        {\n            \"Last_Name\": \"Boyle\",\n            \"id\": \"738964000001273056\",\n            \"$approved\": true\n        }\n    ],\n    \"info\": {\n        \"per_page\": 200,\n        \"count\": 7,\n        \"page\": 1,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "P5: page & per_page",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?page=1&per_page=5",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "page",
              "value": "1"
            },
            {
              "key": "per_page",
              "value": "5"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:42: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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "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    \"data\": [\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-05-05T05:33:33+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058110\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058109\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058100\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:48:55+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:48:55+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Villa Margarita\",\n            \"Email\": \"brian@villa.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058089\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:47:07+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Brian\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Brian Dolan\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:47:07+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Dolan\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": null,\n            \"Email\": \"contact_test@xyz.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-04-21T09:05:46+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058068\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T08:55:27+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": null,\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": null,\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Contact_test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T08:55:27+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Contact_test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        }\n    ],\n    \"info\": {\n        \"per_page\": 5,\n        \"count\": 5,\n        \"page\": 1,\n        \"more_records\": true\n    }\n}"
    },
    {
      "name": "P6: cvid",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?cvid=738964000000093005",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "cvid",
              "value": "738964000000093005"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:43: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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "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    \"data\": [\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": [\n                {\n                    \"Description\": null,\n                    \"Preview_Id\": \"784adbb5429eb639726cdd07a63b5f8abc0ef2df237b5a3e848cee4e58a216d77c0ba7393c40187e848821c8ff57a1b1e3c55b814a8e2dfca81521eb682ef807fdb31b0753d6bfc8447e94fb9598789a58a70ea7ab49aa2308ec91e9ed29ef28\",\n                    \"File_Name\": \"Screen Shot 2021-01-05 at 12.47.26 PM.png\",\n                    \"State\": null,\n                    \"Size\": 488855,\n                    \"Sequence_Number\": 1,\n                    \"id\": \"738964000001760016\",\n                    \"File_Id\": \"fx0j618e809f27c3c4bc4b860c55fdf013c9b\"\n                }\n            ],\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-04-21T08:54:13+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": true,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": \"1234\",\n            \"id\": \"738964000001517159\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2020-11-05T13:25:47+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Colorado\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": 1,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": \"https://yaythisworked.com\",\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Daly\",\n            \"Record_Image\": \"8df9af945788601f0e8fa8b3d4c9138ad28a7871ceca29bd48fcd3c08f120e9de0fac5374507ee8acc488f2305a37552c52538d4d6d55892aa70af876e6cf1d538dc6fe51a394fbe18ab747568989bf8\",\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": 167,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T08:54:13+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Daly\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [\n                {\n                    \"name\": \"Tag2\",\n                    \"id\": \"738964000001670004\"\n                }\n            ],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": null,\n            \"Email\": \"newlead@zoho.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-04-21T08:54:38+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": true,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000001517139\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2020-11-05T07:09:12+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": null,\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"CRM Lead\",\n            \"Lead_Status\": \"Attempted to Contact\",\n            \"Full_Name\": \"CRM Lead New Lead\",\n            \"Record_Image\": \"8df9af945788601f0e8fa8b3d4c9138ad28a7871ceca29bd48fcd3c08f120e9d1b5e31a40d5e80b80a8f1c6c7dd622012fa17462b2f7511e35ebfae87e38702a3f835d9fc9dad8cc398dbaa608709d63\",\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": 167,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T08:54:38+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": \"7685635434\",\n            \"$orchestration\": false,\n            \"Last_Name\": \"New Lead\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        }\n    ],\n    \"info\": {\n        \"per_page\": 200,\n        \"count\": 2,\n        \"page\": 1,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "P7: ids",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads?ids=738964000002159001,738964000002148258",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ],
          "query": [
            {
              "key": "ids",
              "value": "738964000002159001,738964000002148258"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Thu, 13 May 2021 09:08:43 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-store, no-cache, must-revalidate, private"
        },
        {
          "key": "Expires",
          "value": "Thu, 01 Jan 1970 00:00:00 GMT"
        },
        {
          "key": "X-Frame-Options",
          "value": "SAMEORIGIN"
        },
        {
          "key": "X-ACCESSTOKEN-RESET",
          "value": "2021-05-13T09:52:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4031107"
        },
        {
          "key": "clientsubVersion",
          "value": "113b962796fc62946d9303284a64efab"
        },
        {
          "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    \"data\": [\n        {\n            \"Owner\": {\n                \"name\": \"Patricia Boyle\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": null,\n            \"Email\": null,\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": true,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": \"600114\",\n            \"Data_Processing_Basis_Details\": null,\n            \"id\": \"738964000002159001\",\n            \"Data_Source\": \"Manual\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"$data_source_details\": null,\n            \"Created_Time\": \"2021-05-13T06:25:09+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": null,\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"Patricia Boyle\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": null,\n            \"Lead_Status\": null,\n            \"Full_Name\": \"test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"Patricia Boyle\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"HIPAA\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-05-13T06:25:09+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"$stop_processing\": false,\n            \"Last_Name\": \"test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"Patricia Boyle\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": null,\n            \"Email\": \"contact_test@xyz.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-05-12T07:25:25+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": \"1234\",\n            \"Data_Processing_Basis_Details\": null,\n            \"id\": \"738964000002148258\",\n            \"Data_Source\": \"API\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"$data_source_details\": {},\n            \"Created_Time\": \"2021-05-11T13:17:55+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": 1000,\n            \"State\": \"Colorado\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"Patricia Boyle\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": 1,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": \"https://yaythisworked.com\",\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": null,\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Contact_test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"Patricia Boyle\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"HIPAA\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-05-12T07:25:25+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"$stop_processing\": false,\n            \"Last_Name\": \"Contact_test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        }\n    ],\n    \"info\": {\n        \"call\": false,\n        \"per_page\": 200,\n        \"count\": 2,\n        \"page\": 1,\n        \"email\": false,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "SUCCESS RESPONSE",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:39:43 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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "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    \"data\": [\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-05-05T05:33:33+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058110\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058109\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:49:18+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Zylker\",\n            \"Email\": \"p.daly@zylker.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058100\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:48:55+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Paul\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Paul Test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:48:55+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"Villa Margarita\",\n            \"Email\": \"brian@villa.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": null,\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058089\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T09:47:07+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Texas\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": \"Brian\",\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Brian Dolan\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T09:47:07+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Dolan\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": null,\n            \"Email\": \"contact_test@xyz.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-04-21T09:05:46+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": null,\n            \"id\": \"738964000002058068\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2021-04-21T08:55:27+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": null,\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": null,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": null,\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": null,\n            \"Lead_Status\": null,\n            \"Full_Name\": \"Contact_test\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-04-21T08:55:27+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Contact_test\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": \"abc\",\n            \"Email\": \"frey@sample.com\",\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-03-02T05:55:24+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": \"1234\",\n            \"id\": \"738964000001517138\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2020-11-05T07:09:12+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Colorado\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": 1,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": \"https://yaythisworked.com\",\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": null,\n            \"Lead_Status\": \"Lost Lead\",\n            \"Full_Name\": \"Frey (Sample)\",\n            \"Record_Image\": \"8df9af945788601f0e8fa8b3d4c9138ad28a7871ceca29bd48fcd3c08f120e9d54621e882f81927bcb5ffa3afb7833dd317e744d5b69e00a487651b632c8841edc3d69e413ad62ef673962b134724be3\",\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-03-02T05:55:24+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Frey (Sample)\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        },\n        {\n            \"Owner\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Company\": null,\n            \"Email\": null,\n            \"$currency_symbol\": \"Af\",\n            \"Image123\": null,\n            \"$sharing_permission\": \"full_access\",\n            \"Image\": null,\n            \"Last_Activity_Time\": \"2021-01-05T08:03:23+00:00\",\n            \"Industry\": null,\n            \"$state\": \"save\",\n            \"Unsubscribed_Mode\": null,\n            \"$converted\": false,\n            \"$process_flow\": false,\n            \"Exchange_Rate\": 1,\n            \"Currency\": \"AFN\",\n            \"Street\": null,\n            \"Zip_Code\": \"1234\",\n            \"id\": \"738964000001273056\",\n            \"$approved\": true,\n            \"$approval\": {\n                \"delegate\": false,\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Created_Time\": \"2020-08-24T09:32:55+00:00\",\n            \"$editable\": true,\n            \"City\": null,\n            \"No_of_Employees\": null,\n            \"State\": \"Colorado\",\n            \"Country\": null,\n            \"Created_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"Annual_Revenue\": 1,\n            \"Secondary_Email\": null,\n            \"Description\": null,\n            \"Rating\": null,\n            \"$review_process\": {\n                \"approve\": false,\n                \"reject\": false,\n                \"resubmit\": false\n            },\n            \"Website\": \"https://yaythisworked.com\",\n            \"Twitter\": null,\n            \"Salutation\": null,\n            \"First_Name\": null,\n            \"Lead_Status\": \"Junk Lead\",\n            \"Full_Name\": \"Boyle\",\n            \"Record_Image\": null,\n            \"Modified_By\": {\n                \"name\": \"patricia patricia\",\n                \"id\": \"738964000000291009\",\n                \"email\": \"patricia.ss@zylker.com\"\n            },\n            \"$review\": null,\n            \"Lead_Conversion_Time\": null,\n            \"Skype_ID\": null,\n            \"Phone\": null,\n            \"Email_Opt_Out\": false,\n            \"Designation\": null,\n            \"Modified_Time\": \"2021-01-05T08:03:23+00:00\",\n            \"$converted_detail\": {},\n            \"Unsubscribed_Time\": null,\n            \"Mobile\": null,\n            \"$orchestration\": false,\n            \"Last_Name\": \"Boyle\",\n            \"$in_merge\": false,\n            \"Lead_Source\": null,\n            \"Tag\": [],\n            \"Fax\": null,\n            \"$approval_state\": \"approved\"\n        }\n    ],\n    \"info\": {\n        \"per_page\": 200,\n        \"count\": 7,\n        \"page\": 1,\n        \"more_records\": false\n    }\n}"
    },
    {
      "name": "INVALID_MODULE",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Lead",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Lead"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:46:18 GMT"
        },
        {
          "key": "Content-Type",
          "value": "application/json;charset=utf-8"
        },
        {
          "key": "Content-Length",
          "value": "133"
        },
        {
          "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-05T07:39:40+00:00"
        },
        {
          "key": "clientVersion",
          "value": "4009533"
        },
        {
          "key": "clientsubVersion",
          "value": "cfa914635a0a376a1322139140e8bf37"
        },
        {
          "key": "Content-Disposition",
          "value": "attachment; filename=response.json"
        },
        {
          "key": "X-Download-Options",
          "value": "noopen"
        },
        {
          "key": "Content-Language",
          "value": "en-US"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"code\": \"INVALID_MODULE\",\n    \"details\": {\n        \"resource_path_index\": 0\n    },\n    \"message\": \"the module name given seems to be invalid\",\n    \"status\": \"error\"\n}"
    },
    {
      "name": "AUTHENTICATION_FAILURE",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:46: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": "INVALID_REQUEST_METHOD",
      "originalRequest": {
        "method": "COPY",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 06:47:33 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": "OAUTH_SCOPE_MISMATCH",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{api-domain}}/crm/v2.1/Leads",
          "host": [
            "{{api-domain}}"
          ],
          "path": [
            "crm",
            "v2.1",
            "Leads"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "ZGS"
        },
        {
          "key": "Date",
          "value": "Wed, 05 May 2021 07:31:40 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}"
    }
  ]
}