Personas

A persona represents a person with many identifiers and attributes across systems.

It is accessible through the following HTTP interfaces:

SCHEMA

Name

Description

Name

Description

_id

The id of the persona.

organisation

The id of the organisation that this persona belongs to.

name

The display name of this persona.

EXAMPLE

{ "_id" : "59c1219936229d4ce9634601", "organisation" : "59c1219936229d4ce9634602", "name" : "Example Persona", }

 

Merge personas

Merges two personas by updating the persona field on the personaIdentifier model

The two URL parameters are:

Name

Description

Name

Description

mergePersonaFromId

Required, _id of the persona from which you want to merge identifiers

mergePersonaToId

Required, _id of the persona into which you want to merge mergePersonaFromId

GET http://www.example.org/api/mergepersona?mergePersonaFromId=647a147baa472635729a9ab1&mergePersonaToId=647a149aaa472635729a9b2f Authorization: Basic YOUR_BASIC_AUTH

A request like the one above, will respond with a 200 response like the one below with a list of _ids of the personaIdentifiers that have been updated.

{ "identifierIds": [ "647a147b7d3bcfae15e1b084" ] }

 

Learning Locker and the Squirrel logo are trademark of Learning Pool 2020 | Learning Locker is licensed under GPL 3.0.