At the completion of Scenario based testing in the Sandbox environment, MNIT will grant vendors a key and secret for the district(s) they are working with in the staging environment. In the staging environment, vendors will load actual student data, with student enrollment (studentSchoolAssociation), demographic (studentEducationOrganizationAssociation), program and calendar information.
The main URL for the Staging Environment is: https://stage.edfi5.education.mn.gov/api/
.
As is MDE convention, the production URL is the same as staging, except with the “stage.” prefix removed.
Vendors have the option of building in support for interfacing with the MN Student Identity System to create new MARSS Student IDs (Ed-Fi Unique Id) through an Ed-Fi Identities API implementation. Vendors will be able to test their State ID creation integrations in the Staging environment.
Vendors must demonstrate their ability to create new Student IDs when a Student is created in the Student Information System. This would be accomplished by posting to the /identities
endpoint.
Testing for the identities API can be conducted in the Staging environment. Contact the MNIT Team partnering with MDE on EdFi for more details.
The general process for identity creation is as follows:
{
"stateStudentId": "000010000000",
"educationOrganizationId: "255901",
"lastSurname": "LastSurname",
"firstName": "FirstName",
"middleName": "MiddleName",
"generationCodeSuffix": "Suffix",
"birthDate": "2005-12-15T00:00:00",
"sexType": "Male"
}
201
created is returned from the ODS/API.400 Bad Request
with the corresponding message for the error given (see specific errors below under Test 2).Description: Vendor posts a new Student Identity to the ODS/API identities end-point. Vendor submits Id with additional identifying attributes, and ID is created successfully
Sample JSON:
{
"stateStudentId": "000010000000",
"educationOrganizationId: "255901",
"lastSurname": "LastSurname",
"firstName": "FirstName",
"middleName": "MiddleName",
"generationCodeSuffix": "Suffix",
"birthDate": "2005-12-15T00:00:00",
"sexType": "Male"
}
Response
A successful test will produce a response of 201: created
.
Description: Vendor posts a new Ed-Fi Student record to the Identities endpoint in order to generate the following error conditions: Error|Description|Details —|—|— 3000|(Input SSID not equal SSID)|Student identifying information given matches a single student, but the State Student Id specified as input does not match the official State Student Id of the matched student. 3001|(Multiple SSIDs found)|Student identifying information given matches multiple existing students. 3003|(Possible Student Already Exists)|Student identifying information given does not match any students. However suspect student matches found using Clean Last Name Initial, Clean First Name Initial, Birth Date and gender equal. Review needed. 3004|(Possible Student Already Exists)|Student identifying information given does not match any students. However suspect student matches found using Clean Last Name, Clean First Name equal. Exact match. Review needed. 3005|(Possible Student Already Exists)|Student identifying information given does not match any students. However suspect student matches found using Soundex of Clean Last Name, Soundex of Clean First Name, Gender, and Birth Date + or - 1 year. Review needed. 3006|(Possible Student Already Exists)|Student identifying information given does not match any students. However, the State Student Id is already in use by a non-matched student. Review needed.
Response
400: BAD REQUEST { "message": "<error number> <error description><error details>" }
Vendors will be expected to demonstrate a mechanism for timely reporting of ID creation errors back to users, either through the SIS user interface, or through a separate interface, or reporting method.
When Student Records are created or updated in the Ed-Fi ODS, the API will perform a look up against the MN State Student ID System to determine whether the student is associated to a valid student id.
This validation feature will be enabled in the Staging Environment. Vendors must capture validation errors returned in the API response and surface these errors to district users.
204
.400 Bad Request
, which also passes back the error code and message from the MDE Student ID System. The SIS should present this error code and message to the district user, informing them of the Student ID issue which must be resolved in the MDE Student ID system.Description: Vendor posts a new valid Ed-Fi Student record to the ODS/API Student end-point. Vendor submits Ed-Fi student record to the student’s resource endpoint using a valid student id and associated to the same student.
Response
201: created
Description: Vendor posts a new Ed-Fi Student record to the ODS/API Student end-point for the following error conditions: Error|Description|Details —|—|— 3000|(Input SSID not equal SSID)|Student identifying information given matches a single student, but the State Student Id specified as input does not match the official State Student Id of the matched student. 3001|(Multiple SSIDs found)|Student identifying information given matches multiple existing students. 3002|(No match found)|Student identifying information given does not match any students. Also no possible suspect student matches found. (May be safe to add as a new student.) 3003|(Possible Student Already Exists)|Student identifying information given does not match any students. However suspect student matches found using Clean Last Name Initial, Clean First Name Initial, Birth Date and gender equal. Review needed. 3004|(Possible Student Already Exists)|Student identifying information given does not match any students. However suspect student matches found using Clean Last Name, Clean First Name equal. Exact match. Review needed. 3005|(Possible Student Already Exists)|Student identifying information given does not match any students. However suspect student matches found using Soundex of Clean Last Name, Soundex of Clean First Name, Gender, and Birth Date + or - 1 year. Review needed. 3006|(Possible Student Already Exists)|Student identifying information given does not match any students. However, the State Student Id is already in use by a non-matched student. Review needed.
Response
400 Bad Request
and the corresponding message for the error given is returned from the ODS/API.