public function getRecordById($id, $params = [], $options = [])
    {
        if (is_array($id)) {
            $params['idlist'] = implode(';', $id);
        } else {
            $params['id'] = $id;
        }

        return $this->call('getRecordById', $params);
    }
public function getRecordById($id, $params = [], $options = [])
    {
        if (is_array($id)) {
            $params['idlist'] = implode(';', $id);
        } else {
            $params['id'] = $id;
        }

        return $this->call('getRecordById', $params);
    }
public function getRecordById ( $ id , $ params = [ ] , $ options = [ ] ) { if ( is_array ( $ id ) ) { $ params [ 'idlist' ] = implode ( ';' , $ id ) ; } else { $ params [ 'id' ] = $ id ; } return $ this -> call ( 'getRecordById' , $ params ) ; }
Implements getRecordById API method.

@param mixed $id       Id of the record if string or list of ids if an array
a list will be passed as the parameter idlist
@param array $params   request parameters
newFormat 1 (default) - exclude fields with null values in the response
2 - include fields with null values in the response
version   1 (default) - use earlier API implementation
2 - use latest API implementation
@param array $options Options to add for configurations [optional]

@return Response The Response object
Implements getRecordById API method .