Resource Description for ImportRecord

Properties for ImportRecord

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
importedRecord mixed
importedRecordEntityType int
importer mixed
importerName string

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\ImportRecord;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$importRecord = ImportRecord::retrieve(5433);

$importer = $importRecord->getImporter();
$importerName = $importRecord->getImporterName();
$importedRecordEntityType = $importRecord->getImportedRecordEntityType();
$importedRecord = $importRecord->getImportedRecord();