Mappings
A Mapping is the generated output from Lume. Each mapping corresponds to a source record, so a job with multiple source records will contain multiple mappings. A mapping contains:
index
: the index of the source record in questionsource_record
: the source record.mapped_record
: The mapped data after applying a Mapper to source data. E.g. the final output data.message
: the status of the type enforcement on the record’s mapped data. Ifsuccess
, then the record is not flagged. Otherwise, Lume caught an error to review. See Flagged Mappings to learn more about parsing themessage
and error handling.
You can access Mappings in the Results payload returned after running a Job, via Get Results.
After fetching a result, get the mappings via Get Mappings For Result with fetched result’s result_id
.