Skip to content

Latest commit

 

History

History
executable file
·
64 lines (46 loc) · 2.36 KB

FollowsApi.md

File metadata and controls

executable file
·
64 lines (46 loc) · 2.36 KB

Swagger\Client\FollowsApi

All URIs are relative to https://api.insightly.com/v3.0

Method HTTP request Description
getFollows GET /Follows Gets a list of followed records for the user

getFollows

object[] getFollows($authorization, $record_type, $skip, $top, $count_total)

Gets a list of followed records for the user

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Swagger\Client\Api\FollowsApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$authorization = "{{Authorization}}"; // string | Authorization
$record_type = "record_type_example"; // string | Optional, filters followed records by a given record type.
$skip = 56; // int | Optional, number of records to skip.
$top = 56; // int | Optional, maximum number of records to return in the response.
$count_total = false; // bool | Optional, true if total number of records should be returned in the response headers.

try {
    $result = $apiInstance->getFollows($authorization, $record_type, $skip, $top, $count_total);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FollowsApi->getFollows: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
authorization string Authorization [default to {{Authorization}}]
record_type string Optional, filters followed records by a given record type. [optional]
skip int Optional, number of records to skip. [optional]
top int Optional, maximum number of records to return in the response. [optional]
count_total bool Optional, true if total number of records should be returned in the response headers. [optional] [default to false]

Return type

object[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]