/1/assessment - GET

Overview

The /1/assessments endpoint provides for the ability to retrieve assessment data for a given learner.

Description

In order to use the iFrame API, a temporary token must be used to authenticate the call.  This token is obtained by calling this API with the headers as described below.  The resulting token is valid for 24 hours, after which a new token must be obtained.  It is okay to obtain a new token before the 24 hour period has expired; the new token will invalidate any previously obtained token.


Beta API

NOTE: This API is currently in beta and applies only to the 'iFrame' API customers.


Endpoint Details

Required Headers

Key
Value
Example
User-Agent<company identifier>The exact value here is not important, but it should include something to identify your company
Acceptapplication/json
AuthorizationBearer <your token>Bearer wV1MLk5+sFzioJw/3M5r9A==
Content-Typeapplication/json



X-SystemDomain<the system domain>vbmapp
X-UserId<the user id>The id of the user to view the learners for (See REST API Guide and /1/user - POST)
X-UserCode<the user code>The code of the user to view the learners for (See REST API Guide and /1/user - POST)
X-LearnerId<the learner id>The DMTD-supplied identifier that identifies the learner (see REST API Guide)
X-LearnerCode<the learner code>A REST-client-supplied identifier that identifies the learner (see REST API Guide)

Optional Headers

KeyValueDefaultDescription
Accept-Language<language locale> enThe language in which to generate the reports (default will be English)

Query Parameters

Key
Type
RequiredDescription
Example
scoresBooleanOptionalIndicates that assessment scores should be provided (default = false)scores=true
gridsBooleanOptionalIndicates that the grids should be provided for each assessment (default = false)grids=true
grid_scoresBooleanOptionalIndicates that the grid scores should be provided for each assessment (default = false)grid_scores=true
iepBooleanOptionalIndicates that the IEP report should be provided for the learner (default=false)iep=true


The Response

Response Fields

Field
Type
Optional
Description
vbmappVB-MAPPOptionalThe VB-MAPP object

VB-MAPP Fields

Field
Type
Optional
Description
assessmentsArrayOptionalAn array of VB-MAPP Assessment objects
iepBase 64-Encoded StringOptionalA MS Word document encoded as a Base-64 string containing the IEP report for the learner
gridsVB-MAPP Grids ObjectOptionalA VB-MAPP Grids object
gridScoresVB-MAPP Grids Scores ObjectOptionalA VB-MAPP Grids Scores object

VB-MAPP Assessment Fields

Field
Type
Optional
Description
idIntRequiredA unique identifier for the VB-MAPP Assessment
startDateISO 8601 DateRequiredThe date and time at which the assessment was started
colorStringOptionalThe color associated with the assessment, if it was specified
scoresArrayOptionalAn array of VB-MAPP Score objects
assessorStringOptionalThe primary user that conducted the assessment

VB-MAPP Score Fields

Field
Type
Optional
Description

timestampISO 8601 DateRequiredThe date and time at which the score was recorded
areaStringRequiredThe area of the questionAn area provided by /1/protocol - GET - Index
groupStringOptionalThe group of the questionA group provided by /1/protocol - GET - Index
questionNumIntOptionalquestionNum=1A level provided by  /1/protocol - GET - Index
scoreDoubleRequiredThe score's value

VB-MAPP Grids Fields

Field
Type
Optional
Description
milestonesArray of Base-64 Encoded StringOptionalAn array of PDF documents encoded as a Base-64 string containing the report
barriersArray of Base-64 Encoded StringOptionalAn array of PDF documents encoded as a Base-64 string containing the report
transitionsArray of Base-64 Encoded StringOptionalAn array of PDF documents encoded as a Base-64 string containing the report
taskAnalysisArray of Base-64 Encoded StringOptionalAn array of PDF documents encoded as a Base-64 string containing the report

VB-MAPP Grids Scores Fields

Field
Type
Optional
Description
milestonesArray of VB-MAPP Milestone Grid Score ObjectOptionalAn array of VB-MAPP Milestone Grid Score objects
barriersArray of VB-MAPP Barriers/Transitions Score ObjectOptionalAn array of VB-MAPP Barriers/Transitions Grid Score objects
transitionsArray of VB-MAPP Barriers/Transitions Score ObjectOptionalAn array of VB-MAPP Barriers/Transitions Grid Score objects
taskAnalysisArray of VB-MAPP Task Analysis Score ObjectOptionalAn array of VB-MAPP Task Analysis Grid Score objects

VB-MAPP Grid Header Fields

Field
Type
Optional
Description
learnerNameStringRequiredThe learner's full name
dateOfBirthStringRequiredThe learner's date of birth
assessmentsArray of VB-MAPP Grid Header Assessment ObjectRequiredAn array of VB-MAPP Grid Header Assessment objects

VB-MAPP Grid Header Assessment Fields

Field
Type
Optional
Description
ageAtTestingIntegerOptionalThe learner's age when the assessment began
keyStringRequiredThe value for the 'key' header field
totalScoreDoubleOptionalThe total score achieved for the assessment
assessmentDateStringOptionalThe date that the assessment began
assessmentColorStringOptionalThe HTML color string that the user chose for the assessment's color
testerStringOptionalThe name of the person that administered the assessment

Milestones - Example Grid

VB-MAPP Milestone Grid Score Fields

Field
Type
Optional
Description
headerVB-MAPP  Grid Header ObjectRequiredA VB-MAPP Grid Header object
levelsArray of VB-MAPP Milestone Level ObjectRequiredAn array of VB-MAPP Milestone Level objects

VB-MAPP Milestone Level Fields

Field
Type
Optional
Description
levelIntRequiredThe level number (1...3)
levelTitleStringRequiredThe display of the level
gridColumnsArray of VB-MAPP Milestone Grid Column ObjectRequiredAn array of VB-MAPP Milestone Level Column objects

VB-MAPP Milestone Grid Column Fields

Field
Type
Optional
Description
groupTitleStringRequiredThe level number (1...3)
assessmentScoredZeroArray of BoolRequiredtrue/false as to whether each assessment's score was scored a 0 value (fill in the circle if this is true)
cellsArray of VB-MAPP Milestone Grid Cell ObjectRequiredAn array of VB-MAPP Milestone Grid Cell objects (there will be 10 cells per column)

VB-MAPP Milestone Grid Cell Fields

Field
Type
Optional
Description
cellNumIntRequiredThe number of the cell
borderColorStringOptionalThe HTML color string of the cell's border
fillColorStringOptionalThe HTML color string of the cell's fill 

Barriers/Transitions - Example Grids


VB-MAPP Barriers/Transitions Grid Score Fields

Field
Type
Optional
Description
headerVB-MAPP Grid Header ObjectRequiredA VB-MAPP Grid Header object
rowsArray of VB-MAPP Barriers/Transitions Row ObjectRequiredAn array of VB-MAPP Barriers/Transitions Row objects

VB-MAPP Barriers/Transitions Row Fields

Field
Type
Optional
Description
gridCellsArray of VB-MAPP Barriers/Transitions Grid Cell ObjectRequiredAn array of VB-MAPP Barriers/Transitions Grid Cell objects

VB-MAPP Barriers/Transitions Grid Cell Fields

Field
Type
Optional
Description
cellTitleStringRequiredThe title of the grid cell
columnsArray of VB-MAPP Barriers/Transitions Grid Cell Column ObjectRequiredAn array of VB-MAPP Barriers/Transitions Grid Cell Column objects

VB-MAPP Barriers/Transitions Grid Cell Column Fields

Field
Type
Optional
Description
scoreIntOptionalThe score to represent in the column
fillColorStringOptionalThe HTML color string to fill the 'score' number of rows in the column

Task Analysis - Example Grid

VB-MAPP VB-MAPP Task Analysis Grid Score Fields

Field
Type
Optional
Description
gridLevelsArray of VB-MAPP Task Analysis Grid Level ObjectRequiredAn array of VB-MAPP Task Analysis Grid Level objects

VB-MAPP VB-MAPP Task Analysis Grid Level Fields

Field
Type
Optional
Description
headerVB-MAPP Grid Header ObjectRequiredA VB-MAPP Grid Header object
columnsArray of VB-MAPP Task Analysis Column ObjectRequiredAn array of VB-MAPP Task Analysis Column objects

VB-MAPP VB-MAPP Task Analysis Column Fields

Field
Type
Optional
Description
columnTitleStringRequiredThe title to display for the column
scoreGroupsArray of VB-MAPP Task Analysis Score Group ObjectRequiredAn array of VB-MAPP Task Analysis Score Group objects

VB-MAPP VB-MAPP Task Analysis Score Group Fields

Field
Type
Optional
Description
scoresArray of VB-MAPP Task Analysis Score ObjectRequiredAn array of VB-MAPP Task Analysis Score objects

VB-MAPP VB-MAPP Task Analysis Score Fields

Field
Type
Optional
Description
scoreIdStringRequiredThe text to display in the score cell
scoreColorStringOptionalThe HTML color string to fill the score cell

Example


Example

curl -X GET \
-H 'User-Agent: dmtd-rest-api' \
-H 'Authorization: Bearer wV1MLk5+sFzioJw/3M5r9A==' \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-SystemDomain: vbmapp" \
 -H "X-UserId: 2" \
-H "X-LearnerId: 42" \
https://api-sandbox.datamtd.com/1/assessment?scores=true&grids=true&grids_scores=true&iep=true