Skip to content

Instrument Event Mappings Export

asaweero edited this page Aug 22, 2017 · 3 revisions

Exports an array of objects that represent the instrument-event mappings for the project.

Optional Parameters

  • arms: An array of arm numbers you want to pull events for. By default, all events will be pulled.

Return Value

  • Return the project's Instrument-event mappings.

Method Usage

    var params = {
      arms: [1]
    };

    redcap.instruments.exportMappings (params, function (err, res) {
      // error containts oprtional errors
      if (err) {
          // handle error
      }
      else {
          // res is return value
          console.log (res);
      }
    });