Model/Apiconnector/Client.php
public function getContactImportReportFaults($id)
    {
        $this->isNotJson = true;
        $url = $this->getApiEndpoint() . self::REST_CONTACTS_IMPORT . $id . '/report-faults';
        $this->setUrl($url)
            ->setVerb('GET');

        $response = $this->execute();

        //if string is JSON than there is a error message
        if (json_decode($response)) {
            //log error
            if (isset($response->message)) {
                $message = 'GET CONTACT IMPORT REPORT FAULTS: ' . $response->message;
                $this->helper->log($message);
            }

            return false;
        }

        return $response;
    }
public function getContactImportReportFaults($id)
    {
        $this->isNotJson = true;
        $url = $this->getApiEndpoint() . self::REST_CONTACTS_IMPORT . $id . '/report-faults';
        $this->setUrl($url)
            ->setVerb('GET');

        $response = $this->execute();

        //if string is JSON than there is a error message
        if (json_decode($response)) {
            //log error
            if (isset($response->message)) {
                $message = 'GET CONTACT IMPORT REPORT FAULTS: ' . $response->message;
                $this->helper->log($message);
            }

            return false;
        }

        return $response;
    }
public function getContactImportReportFaults ( $ id ) { $ this -> isNotJson = true ; $ url = $ this -> getApiEndpoint ( ) . self :: REST_CONTACTS_IMPORT . $ id . '/report-faults' ; $ this -> setUrl ( $ url ) -> setVerb ( 'GET' ) ; $ response = $ this -> execute ( ) ; //if string is JSON than there is a error message if ( json_decode ( $ response ) ) { //log error if ( isset ( $ response -> message ) ) { $ message = 'GET CONTACT IMPORT REPORT FAULTS: ' . $ response -> message ; $ this -> helper -> log ( $ message ) ; } return false ; } return $ response ; }
Get contact import report faults.

@param string $id

@return bool|null

@throws \Exception
Get contact import report faults .