About the ITranslateReadPersonResponse interface
The ITranslateReadPersonResponse is used to translate a Brightspace user into a LIS person record.
The interface implementation is D2L.IM.IPSIS.LIS.PMS.ITranslateReadPersonResponse.
The Template, IPSIS configuration list provides a starting point for any LIS implementation.
PersonRequestBaseTranslator
This translator maps a Brightspace user’s name to both LIS name and formatted name elements.
Implementation
D2L.IM.IPSIS.LIS.ResultAdapters.PMS.Default.ReadUserResponseNameFirstLastNameRequiredTranslator
Expected behavior
User
|
LIS Mapping
|
request.Entity.FirstName + request.Entity.LastName
|
result.Entity.formName.formattedName
|
"FULL"
|
result.Entity.name.nameType
|
request.Entity.FirstName
|
result.Entity.name.partName[FIRST]
|
request.Entity.LastName
|
result.Entity.name.partName[LAST]
|
The result.Entity.name.nameType object is populated with Full name type using the language and vocabulary from the LIS context.
The result.Entity.name.partName is a list of partName objects which correspond to a set of defined partName types. This set is defined in a vocabulary. The FIRST and LAST name partName types are populated and added to the partName list.
The result.Entity.formname.formattedName is set with the combination of first and last name from the D2L user object.
Error behavior
If a vocabulary entry is not found for FIRST, LAST, or FULL the request results in:
- The suspension of all further processing.
- A LIS response header containing:
- CodeMajor = failure.
- Severity = status.
- CodeMinor = invaliddata.