Chilkat Online Tools

C / New FreshBooks / List Clients

Back to Collection Items

#include <C_CkHttp.h>
#include <C_CkStringBuilder.h>
#include <C_CkJsonObject.h>

void ChilkatSample(void)
    {
    HCkHttp http;
    BOOL success;
    HCkStringBuilder sbResponseBody;
    HCkJsonObject jResp;
    int respStatusCode;

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

    http = CkHttp_Create();

    // Adds the "Authorization: Bearer <access_token>" header.
    CkHttp_putAuthToken(http,"<access_token>");
    CkHttp_SetRequestHeader(http,"Content-Type","application/json");

    sbResponseBody = CkStringBuilder_Create();
    success = CkHttp_QuickGetSb(http,"https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients",sbResponseBody);
    if (success == FALSE) {
        printf("%s\n",CkHttp_lastErrorText(http));
        CkHttp_Dispose(http);
        CkStringBuilder_Dispose(sbResponseBody);
        return;
    }

    jResp = CkJsonObject_Create();
    CkJsonObject_LoadSb(jResp,sbResponseBody);
    CkJsonObject_putEmitCompact(jResp,FALSE);

    printf("Response Body:\n");
    printf("%s\n",CkJsonObject_emit(jResp));

    respStatusCode = CkHttp_getLastStatus(http);
    printf("Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        printf("Response Header:\n");
        printf("%s\n",CkHttp_lastHeader(http));
        printf("Failed.\n");
        CkHttp_Dispose(http);
        CkStringBuilder_Dispose(sbResponseBody);
        CkJsonObject_Dispose(jResp);
        return;
    }



    CkHttp_Dispose(http);
    CkStringBuilder_Dispose(sbResponseBody);
    CkJsonObject_Dispose(jResp);

    }

Curl Command

curl -X GET
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: application/json"
https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients

Postman Collection Item JSON

{
  "name": "List Clients",
  "event": [
    {
      "listen": "test",
      "script": {
        "exec": [
          "let jsonData = JSON.parse(responseBody);",
          "pm.environment.set(\"customerId\", jsonData.response.result.clients[0].id)",
          "pm.environment.set(\"clientId\", jsonData.response.result.clients[0].id)"
        ],
        "type": "text/javascript"
      }
    }
  ],
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/json",
        "type": "text"
      }
    ],
    "url": {
      "raw": "https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients",
      "protocol": "https",
      "host": [
        "api",
        "freshbooks",
        "com"
      ],
      "path": [
        "accounting",
        "account",
        "{{accountId}}",
        "users",
        "clients"
      ],
      "query": [
        {
          "key": "include[]",
          "value": "outstanding_balance",
          "description": "client's outstanding balance\n",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "credit_balance",
          "description": "client's current balance of credit",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "draft_balance",
          "description": "balance of draft invoices for client",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "overdue_balance",
          "description": "overdue balance for client",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "grand_total_balance",
          "description": "grand total for client",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "late_fee",
          "description": "information about late fees",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "late_reminders",
          "description": "information about late reminders",
          "disabled": true
        },
        {
          "key": "include[]",
          "value": "last_activity",
          "description": "last activity time",
          "disabled": true
        }
      ]
    },
    "description": "list all clients"
  },
  "response": [
    {
      "name": "List Clients",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          }
        ],
        "url": {
          "raw": "https://api.freshbooks.com/accounting/account/{{accountId}}/users/clients",
          "protocol": "https",
          "host": [
            "api",
            "freshbooks",
            "com"
          ],
          "path": [
            "accounting",
            "account",
            "{{accountId}}",
            "users",
            "clients"
          ],
          "query": [
            {
              "key": "include%5B%5D",
              "value": "outstanding_balance",
              "description": "client's outstanding balance\n",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "credit_balance",
              "description": "client's current balance of credit",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "draft_balance",
              "description": "balance of draft invoices for client",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "overdue_balance",
              "description": "overdue balance for client",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "grand_total_balance",
              "description": "grand total for client",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "late_fee",
              "description": "information about late fees",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "late_reminders",
              "description": "information about late reminders",
              "disabled": true
            },
            {
              "key": "include%5B%5D",
              "value": "last_activity",
              "description": "last activity time",
              "disabled": true
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Server",
          "value": "nginx"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        },
        {
          "key": "X-NewRelic-App-Data",
          "value": "PxQBWV5TCBABVlVSAwEOVlcTGhE1AwE2QgNWEVlbQFtcCxYnRA9QFg1ZWU4DFVdfRgFPCkNFR0gRQlNBEVwADlkHVhZLGhgCH1UXUwBYAlFXBwRZUFYOBQFSU04aABtEVVQBAlVWUFBUBwhSClwDAxFJXwBdElY/"
        },
        {
          "key": "X-RateLimit-Limit",
          "value": "20"
        },
        {
          "key": "X-RateLimit-Remaining",
          "value": "0"
        },
        {
          "key": "X-RateLimit-Reset",
          "value": "1557344286"
        },
        {
          "key": "Retry-After",
          "value": "56"
        },
        {
          "key": "Access-Control-Allow-Origin",
          "value": "*"
        },
        {
          "key": "Expires",
          "value": "Tue, 08 May 2018 19:37:09 GMT"
        },
        {
          "key": "Cache-Control",
          "value": "no-cache"
        },
        {
          "key": "Content-Encoding",
          "value": "gzip"
        },
        {
          "key": "Via",
          "value": "1.1 google"
        },
        {
          "key": "Via",
          "value": "1.1 varnish"
        },
        {
          "key": "Accept-Ranges",
          "value": "bytes"
        },
        {
          "key": "Accept-Ranges",
          "value": "bytes"
        },
        {
          "key": "Age",
          "value": "0"
        },
        {
          "key": "Age",
          "value": "0"
        },
        {
          "key": "Transfer-Encoding",
          "value": "chunked"
        },
        {
          "key": "Date",
          "value": "Wed, 08 May 2019 19:37:09 GMT"
        },
        {
          "key": "Connection",
          "value": "keep-alive"
        },
        {
          "key": "X-Served-By",
          "value": "cache-mdw17330-MDW"
        },
        {
          "key": "X-Cache",
          "value": "MISS"
        },
        {
          "key": "X-Cache-Hits",
          "value": "0"
        },
        {
          "key": "Vary",
          "value": "Accept-Encoding"
        },
        {
          "key": "Country",
          "value": "CA"
        },
        {
          "key": "Strict-Transport-Security",
          "value": "max-age=31536000; includeSubDomains; preload"
        }
      ],
      "cookie": [
      ],
      "body": "{\n    \"response\": {\n        \"result\": {\n            \"clients\": [\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Nicholas\",\n                    \"has_retainer\": null,\n                    \"home_phone\": null,\n                    \"id\": 92402,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Jaar\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Space Is Only Noise\",\n                    \"p_city\": \"Toronto\",\n                    \"p_code\": \"M6P 3T1\",\n                    \"p_country\": \"\",\n                    \"p_province\": \"Ontario\",\n                    \"p_street\": \"1655 Dupont St. W.\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-05-08 19:25:29\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-05-08 15:25:29\",\n                    \"userid\": 92402,\n                    \"username\": \"nicholasjaar2\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Ryan\",\n                    \"has_retainer\": null,\n                    \"home_phone\": null,\n                    \"id\": 75162,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Marr\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Ryan Marr\",\n                    \"p_city\": \"\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"\",\n                    \"p_province\": \"\",\n                    \"p_street\": \"\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-05-02 14:31:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-05-02 13:00:27\",\n                    \"userid\": 75162,\n                    \"username\": \"ryanmarr\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks+1@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Nicholas\",\n                    \"has_retainer\": null,\n                    \"home_phone\": null,\n                    \"id\": 46834,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Jaar\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Space Is Only Noise\",\n                    \"p_city\": \"Toronto\",\n                    \"p_code\": \"M6P 3T1\",\n                    \"p_country\": \"\",\n                    \"p_province\": \"Ontario\",\n                    \"p_street\": \"1655 Dupont St. W.\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-24 17:45:17\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-26 13:52:56\",\n                    \"userid\": 46834,\n                    \"username\": \"nicholasjaar\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"api.freshbooks@gmail.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Elbert\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"804-177-0551\",\n                    \"id\": 32082,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Vatcher\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Blick, Dickinson and Morar\",\n                    \"p_city\": \"Richmond\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Virginia\",\n                    \"p_street\": \"9 Park Meadow Street\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:32\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-22 10:37:33\",\n                    \"userid\": 32082,\n                    \"username\": \"elbertvatcher\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"mwesthofer5i@imdb.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Myrta\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"832-780-4312\",\n                    \"id\": 32080,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Westhofer\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Prosacco Group\",\n                    \"p_city\": \"Houston\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Texas\",\n                    \"p_street\": \"70347 Ramsey Plaza\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:32\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-05-03 03:45:42\",\n                    \"userid\": 32080,\n                    \"username\": \"myrtawesthofer\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"bmichelin5h@github.io\",\n                    \"fax\": \"\",\n                    \"fname\": \"Beaufort\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"408-201-8841\",\n                    \"id\": 32078,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Michelin\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Witting, McDermott and Gutmann\",\n                    \"p_city\": \"San Jose\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"California\",\n                    \"p_street\": \"5 Kings Pass\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:32\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-22 10:43:38\",\n                    \"userid\": 32078,\n                    \"username\": \"beaufortmichelin\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"tarblaster5g@vk.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Tarra\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"254-975-2685\",\n                    \"id\": 32076,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Arblaster\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Hermann-Jast\",\n                    \"p_city\": \"Waco\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Texas\",\n                    \"p_street\": \"05 Haas Trail\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-22 10:49:56\",\n                    \"userid\": 32076,\n                    \"username\": \"tarraarblaster\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"ranfosso5f@toplist.cz\",\n                    \"fax\": \"\",\n                    \"fname\": \"Roger\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"713-881-3522\",\n                    \"id\": 32074,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Anfosso\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Kuhn, Ondricka and Reilly\",\n                    \"p_city\": \"Houston\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Texas\",\n                    \"p_street\": \"01496 Novick Court\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32074,\n                    \"username\": \"rogeranfosso\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"agoodlad5e@redcross.org\",\n                    \"fax\": \"\",\n                    \"fname\": \"Ariella\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"718-429-4271\",\n                    \"id\": 32072,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Goodlad\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Schneider-Hoeger\",\n                    \"p_city\": \"Bronx\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"New York\",\n                    \"p_street\": \"77 Melody Hill\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32072,\n                    \"username\": \"ariellagoodlad\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"bscardifield5d@yellowbook.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Brooke\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"913-353-2546\",\n                    \"id\": 32070,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Scardifield\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"McClure-Dibbert\",\n                    \"p_city\": \"Kansas City\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Kansas\",\n                    \"p_street\": \"6911 Pankratz Plaza\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32070,\n                    \"username\": \"brookescardifield\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"egelardi5c@bloglovin.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Evangeline\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"213-187-2288\",\n                    \"id\": 32068,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Gelardi\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Heaney and Sons\",\n                    \"p_city\": \"Los Angeles\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"California\",\n                    \"p_street\": \"02 Glendale Lane\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32068,\n                    \"username\": \"evangelinegelardi\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"acraythorne5b@constantcontact.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Audry\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"608-624-6164\",\n                    \"id\": 32066,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Craythorne\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Kunze-Kunze\",\n                    \"p_city\": \"Madison\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Wisconsin\",\n                    \"p_street\": \"8138 Buena Vista Hill\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:31\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32066,\n                    \"username\": \"audrycraythorne\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"cdaviot5a@newyorker.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Crissy\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"574-571-1318\",\n                    \"id\": 32064,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Daviot\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Langosh-Fritsch\",\n                    \"p_city\": \"South Bend\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Indiana\",\n                    \"p_street\": \"0550 Loomis Terrace\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:31\",\n                    \"userid\": 32064,\n                    \"username\": \"crissydaviot\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"imuddimer59@instagram.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Iorgo\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"573-831-6641\",\n                    \"id\": 32062,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Muddimer\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Borer-Welch\",\n                    \"p_city\": \"Columbia\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"Missouri\",\n                    \"p_street\": \"10109 Alpine Terrace\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:30\",\n                    \"userid\": 32062,\n                    \"username\": \"iorgomuddimer\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                },\n                {\n                    \"accounting_systemid\": \"wkMd2g\",\n                    \"allow_late_fees\": true,\n                    \"allow_late_notifications\": true,\n                    \"bus_phone\": \"\",\n                    \"company_industry\": null,\n                    \"company_size\": null,\n                    \"currency_code\": \"USD\",\n                    \"direct_link_token\": null,\n                    \"email\": \"mjolley58@moonfruit.com\",\n                    \"fax\": \"\",\n                    \"fname\": \"Maryanna\",\n                    \"has_retainer\": null,\n                    \"home_phone\": \"626-885-3822\",\n                    \"id\": 32060,\n                    \"language\": \"en\",\n                    \"last_activity\": null,\n                    \"last_login\": null,\n                    \"level\": 0,\n                    \"lname\": \"Jolley\",\n                    \"mob_phone\": \"\",\n                    \"note\": null,\n                    \"notified\": false,\n                    \"num_logins\": 0,\n                    \"organization\": \"Haley, Renner and Vandervort\",\n                    \"p_city\": \"Pasadena\",\n                    \"p_code\": \"\",\n                    \"p_country\": \"United States\",\n                    \"p_province\": \"California\",\n                    \"p_street\": \"7 Bartelt Plaza\",\n                    \"p_street2\": \"\",\n                    \"pref_email\": true,\n                    \"pref_gmail\": false,\n                    \"retainer_id\": null,\n                    \"role\": \"client\",\n                    \"s_city\": \"\",\n                    \"s_code\": \"\",\n                    \"s_country\": \"\",\n                    \"s_province\": \"\",\n                    \"s_street\": \"\",\n                    \"s_street2\": \"\",\n                    \"signup_date\": \"2019-04-18 18:28:30\",\n                    \"statement_token\": null,\n                    \"subdomain\": null,\n                    \"updated\": \"2019-04-18 14:28:30\",\n                    \"userid\": 32060,\n                    \"username\": \"maryannajolley\",\n                    \"vat_name\": null,\n                    \"vat_number\": null,\n                    \"vis_state\": 0\n                }\n            ],\n            \"page\": 1,\n            \"pages\": 14,\n            \"per_page\": 15,\n            \"total\": 205\n        }\n    }\n}"
    }
  ]
}