public function importInstrumentEventMappings($mappings, $format = 'php')
    {
        $data = array(
            'token'        => $this->apiToken,
            'content'      => 'formEventMapping',
            'returnFormat' => 'json'
        );
        
        #---------------------------------------
        # Process arguments
        #---------------------------------------
        $data['data'] = $this->processImportDataArgument($mappings, 'mappings', $format);
        $legalFormats = array('csv', 'json', 'php', 'xml');
        $data['format'] = $this->processFormatArgument($format, $legalFormats);
        
        $result = $this->connection->callWithArray($data);
        
        $this->processNonExportResult($result);
        
        return (integer) $result;
    }