Skip to main content
PUT
/
ims
/
oneroster
/
gradebook
/
v1p2
/
results
/
{sourcedId}
Update or Create a Result
curl --request PUT \
  --url https://api.alpha-1edtech.ai/ims/oneroster/gradebook/v1p2/results/{sourcedId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "result": {
    "status": "active",
    "lineItem": {
      "sourcedId": "<string>"
    },
    "student": {
      "sourcedId": "<string>"
    },
    "scoreStatus": "exempt",
    "scoreDate": "2023-11-07T05:31:56Z",
    "sourcedId": "<string>",
    "dateLastModified": "2023-11-07T05:31:56Z",
    "metadata": {},
    "class": {
      "sourcedId": "<string>"
    },
    "scoreScale": {
      "sourcedId": "<string>"
    },
    "score": 123,
    "textScore": "<string>",
    "comment": "<string>",
    "learningObjectiveSet": [
      {
        "source": "<string>",
        "learningObjectiveResults": [
          {
            "learningObjectiveId": "<string>",
            "score": 123,
            "textScore": "<string>"
          }
        ]
      }
    ],
    "inProgress": "<string>",
    "incomplete": "<string>",
    "late": "<string>",
    "missing": "<string>"
  }
}
'
{
  "result": {
    "status": "active",
    "lineItem": {
      "sourcedId": "<string>"
    },
    "student": {
      "sourcedId": "<string>"
    },
    "scoreStatus": "exempt",
    "scoreDate": "2023-11-07T05:31:56Z",
    "sourcedId": "<string>",
    "dateLastModified": "2023-11-07T05:31:56Z",
    "metadata": {},
    "class": {
      "sourcedId": "<string>"
    },
    "scoreScale": {
      "sourcedId": "<string>"
    },
    "score": 123,
    "textScore": "<string>",
    "comment": "<string>",
    "learningObjectiveSet": [
      {
        "source": "<string>",
        "learningObjectiveResults": [
          {
            "learningObjectiveId": "<string>",
            "score": 123,
            "textScore": "<string>"
          }
        ]
      }
    ],
    "inProgress": "<string>",
    "incomplete": "<string>",
    "late": "<string>",
    "missing": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

sourcedId
string
required

The sourcedId of the result

Body

application/json
result
object
required

Represents a result.

Response

Result successfully created or updated

result
object
required

Represents a result.