public function usersList(array $filter = [], $page = null, $limit = null)
    {
        $parameters = [];

        if (count($filter)) {
            $parameters['filter'] = $filter;
        }
        if (null !== $page) {
            $parameters['page'] = (int)$page;
        }
        if (null !== $limit) {
            $parameters['limit'] = (int)$limit;
        }

        /** @noinspection PhpUndefinedMethodInspection */
        return $this->client->makeRequest(
            '/users',
            "GET",
            $parameters
        );
    }
public function usersList(array $filter = [], $page = null, $limit = null)
    {
        $parameters = [];

        if (count($filter)) {
            $parameters['filter'] = $filter;
        }
        if (null !== $page) {
            $parameters['page'] = (int)$page;
        }
        if (null !== $limit) {
            $parameters['limit'] = (int)$limit;
        }

        /** @noinspection PhpUndefinedMethodInspection */
        return $this->client->makeRequest(
            '/users',
            "GET",
            $parameters
        );
    }
public function usersList ( array $ filter = [ ] , $ page = null , $ limit = null ) { $ parameters = [ ] ; if ( count ( $ filter ) ) { $ parameters [ 'filter' ] = $ filter ; } if ( null !== $ page ) { $ parameters [ 'page' ] = ( int ) $ page ; } if ( null !== $ limit ) { $ parameters [ 'limit' ] = ( int ) $ limit ; } /** @noinspection PhpUndefinedMethodInspection */ return $ this -> client -> makeRequest ( '/users' , "GET" , $ parameters ) ; }
Returns users list

@param array $filter
@param null  $page
@param null  $limit

@throws \RetailCrm\Exception\InvalidJsonException
@throws \RetailCrm\Exception\CurlException
@throws \InvalidArgumentException

@return \RetailCrm\Response\ApiResponse
Returns users list