Example JSON Request & Response - GET RescoringRule
https://...surpass.com/api/v2/RescoringRule?$top={top}&$skip={skip}&$filter={filter}
[
{
"id": 16,
"href": "https://...surpass.com/api/v2/RescoringRule/16"
},
{
"id": 23,
"href": "https://...surpass.com/api/v2/RescoringRule/23"
}
]
[
{
"id": 16,
"href": "https://...surpass.com/api/v2/RescoringRule/16"
},
{
"id": 23,
"href": "https://...surpass.com/api/v2/RescoringRule/23"
}
]
https://...surpass.com/api/v2/RescoringRule/1282
{
"count": null,
"top": null,
"skip": null,
"pageCount": null,
"nextPageLink": null,
"prevPageLink": null,
"response": [
{
"rescoredItems": [
{
"rescoredItem": {
"answerOptions": [
{
"label": "A",
"displayLabel": "A",
"contentType": "RichText",
"originalMark": 3,
"newMark": 2
},
{
"label": "B",
"displayLabel": "B",
"contentType": "RichText",
"originalMark": 2,
"newMark": 3
},
{
"label": "C",
"displayLabel": "C",
"contentType": "RichText",
"originalMark": 1,
"newMark": 1
}
],
"itemId": "5135P1477",
"itemVersion": 2,
"type": "MultipleChoice",
"questionText": "Question 2",
"totalMark": 3,
"contentType": "RichText",
"unattemptedMark": 1
},
"changeAction": "AnswerChanged"
},
{
"rescoredItem": {
"itemId": "5135P1479",
"itemVersion": 2,
"type": "ShortAnswer",
"questionText": "Question 3",
"totalMark": 2,
"contentType": "RichText",
"unattemptedMark": null
},
"changeAction": "FullMarkedUnattempted"
}
],
"user": {
"id": 2,
"reference": "SFlockton",
"href": "https://...surpass.com/api/v2/User/2"
},
"subject": {
"id": 135,
"reference": "BTLSF123",
"href": "https://...surpass.com/api/v2/Subject/135"
},
"test": {
"id": 166,
"reference": "BTLSF123",
"href": null
},
"testForm": {
"id": 173,
"reference": "BTLSF123",
"href": null
},
"startDate": "2016-05-18T00:00:00",
"endDate": "2016-06-10T23:59:59",
"savedDate": "2016-12-21T15:25:54.33",
"historicalResults": [
{
"id": 133,
"href": "https://...surpass.com/api/v2/HistoricalResult/133"
},
{
"id": 134,
"href": "https://...surpass.com/api/v2/HistoricalResult/134"
},
{
"id": 135,
"href": "https://...surpass.com/api/v2/HistoricalResult/135"
},
{
"id": 136,
"href": "https://...surpass.com/api/v2/HistoricalResult/136"
}
],
"scoringData": [
{
"testFormVersion": 4,
"scaleScoreMapping": {
"id": 43,
"href": "https://...surpass.com/api/v2/AnalyticsScaleScoreMapping/43"
},
"gradeBoundaries": {
"minRawScore": 3.0000,
"grade": "Pass"
},
"loBoundaries": {
"learningOutcomeBoundariesApplied": true,
"learningOutcomeBoundaries": [
{
"isDefault": false,
"text": "LO1",
"passPercentage": 5.0
},
{
"isDefault": true,
"text": "LO2",
"passPercentage": 50.0
},
{
"isDefault": true,
"text": "Test",
"passPercentage": 50.0
}
]
}
},
{
"testFormVersion": 8,
"scaleScoreMapping": {
"id": 44,
"href": "https://...surpass.com/api/v2/AnalyticsScaleScoreMapping/44"
},
"gradeBoundaries": {
"minRawScore": 3.0000,
"grade": "Pass"
},
"loBoundaries": {
"learningOutcomeBoundariesApplied": true,
"learningOutcomeBoundaries": [
{
"isDefault": false,
"text": "LO1",
"passPercentage": 5.0
},
{
"isDefault": true,
"text": "LO2",
"passPercentage": 50.0
},
{
"isDefault": true,
"text": "Test",
"passPercentage": 50.0
}
]
}
}
}
],
"id": 93,
"href": "https://...surpass.com/api/v2/RescoringRule/93"
}
],
"errors": null,
"serverTimeZone": "GMT Standard Time"
}
{
"count": null,
"top": null,
"skip": null,
"pageCount": null,
"nextPageLink": null,
"prevPageLink": null,
"response": [
{
"rescoredItems": [
{
"rescoredItem": {
"answerOptions": [
{
"label": "A",
"displayLabel": "A",
"contentType": "RichText",
"originalMark": 3,
"newMark": 2
},
{
"label": "B",
"displayLabel": "B",
"contentType": "RichText",
"originalMark": 2,
"newMark": 3
},
{
"label": "C",
"displayLabel": "C",
"contentType": "RichText",
"originalMark": 1,
"newMark": 1
}
],
"itemId": "5135P1477",
"itemVersion": 2,
"type": "MultipleChoice",
"questionText": "Question 2",
"totalMark": 3,
"contentType": "RichText",
"unattemptedMark": 1
},
"changeAction": "AnswerChanged"
},
{
"rescoredItem": {
"itemId": "5135P1479",
"itemVersion": 2,
"type": "ShortAnswer",
"questionText": "Question 3",
"totalMark": 2,
"contentType": "RichText",
"unattemptedMark": null
},
"changeAction": "FullMarkedUnattempted"
}
],
"user": {
"id": 2,
"reference": "SFlockton",
"href": "https://...surpass.com/api/v2/User/2"
},
"subject": {
"id": 135,
"reference": "BTLSF123",
"href": "https://...surpass.com/api/v2/Subject/135"
},
"test": {
"id": 166,
"reference": "BTLSF123",
"href": null
},
"testForm": {
"id": 173,
"reference": "BTLSF123",
"href": null
},
"startDate": "2016-05-18T00:00:00",
"endDate": "2016-06-10T23:59:59",
"savedDate": "2016-12-21T15:25:54.33",
"historicalResults": [
{
"id": 133,
"href": "https://...surpass.com/api/v2/HistoricalResult/133"
},
{
"id": 134,
"href": "https://...surpass.com/api/v2/HistoricalResult/134"
},
{
"id": 135,
"href": "https://...surpass.com/api/v2/HistoricalResult/135"
},
{
"id": 136,
"href": "https://...surpass.com/api/v2/HistoricalResult/136"
}
],
"scoringData": [
{
"testFormVersion": 4,
"scaleScoreMapping": {
"id": 43,
"href": "https://...surpass.com/api/v2/AnalyticsScaleScoreMapping/43"
},
"gradeBoundaries": {
"minRawScore": 3.0000,
"grade": "Pass"
},
"loBoundaries": {
"learningOutcomeBoundariesApplied": true,
"learningOutcomeBoundaries": [
{
"isDefault": false,
"text": "LO1",
"passPercentage": 5.0
},
{
"isDefault": true,
"text": "LO2",
"passPercentage": 50.0
},
{
"isDefault": true,
"text": "Test",
"passPercentage": 50.0
}
]
}
},
{
"testFormVersion": 8,
"scaleScoreMapping": {
"id": 44,
"href": "https://...surpass.com/api/v2/AnalyticsScaleScoreMapping/44"
},
"gradeBoundaries": {
"minRawScore": 3.0000,
"grade": "Pass"
},
"loBoundaries": {
"learningOutcomeBoundariesApplied": true,
"learningOutcomeBoundaries": [
{
"isDefault": false,
"text": "LO1",
"passPercentage": 5.0
},
{
"isDefault": true,
"text": "LO2",
"passPercentage": 50.0
},
{
"isDefault": true,
"text": "Test",
"passPercentage": 50.0
}
]
}
}
}
],
"id": 93,
"href": "https://...surpass.com/api/v2/RescoringRule/93"
}
],
"errors": null,
"serverTimeZone": "GMT Standard Time"
}