curl --request GET \
--url https://api.stackone.com/unified/lms/assignments/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'x-account-id: <x-account-id>'{
"data": {
"id": "123456",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"unified_custom_fields": {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
},
"external_reference": "e3gd34-23tr21-er234-345er56",
"learning_object_id": "e3gd34-23tr21-er234-345er56",
"remote_learning_object_id": "e3cb55bf-aa84-466e-a6c1-b8302b257a49",
"learning_object_external_reference": "learning-content-123",
"progress": "40",
"updated_at": "2021-07-21T14:00:00.000Z",
"created_at": "2021-07-21T14:00:00.000Z",
"assigned_at": "2021-07-21T14:00:00.000Z",
"due_date": "2021-07-21T14:00:00.000Z",
"status": {
"value": "in_progress",
"source_value": "<string>"
},
"learning_object_type": {
"value": "content",
"source_value": "<string>"
},
"user_id": "c28xyrc55866bvuv",
"remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"certificate_url": "https://example.com/certificate/12345",
"result": {
"value": "Pass",
"source_value": "<string>"
},
"completed_at": "2021-07-21T14:00:00.000Z",
"course_id": "16873-ENG-1",
"remote_course_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"
},
"raw": [
{
"method": "<string>",
"url": "<string>",
"body": {},
"response": {}
}
]
}Retrieve an assignment type learning record by its identifier.
This is the record linking a user to a learning object.
It can be pending, in progress, or completed.
curl --request GET \
--url https://api.stackone.com/unified/lms/assignments/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'x-account-id: <x-account-id>'{
"data": {
"id": "123456",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"unified_custom_fields": {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
},
"external_reference": "e3gd34-23tr21-er234-345er56",
"learning_object_id": "e3gd34-23tr21-er234-345er56",
"remote_learning_object_id": "e3cb55bf-aa84-466e-a6c1-b8302b257a49",
"learning_object_external_reference": "learning-content-123",
"progress": "40",
"updated_at": "2021-07-21T14:00:00.000Z",
"created_at": "2021-07-21T14:00:00.000Z",
"assigned_at": "2021-07-21T14:00:00.000Z",
"due_date": "2021-07-21T14:00:00.000Z",
"status": {
"value": "in_progress",
"source_value": "<string>"
},
"learning_object_type": {
"value": "content",
"source_value": "<string>"
},
"user_id": "c28xyrc55866bvuv",
"remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"certificate_url": "https://example.com/certificate/12345",
"result": {
"value": "Pass",
"source_value": "<string>"
},
"completed_at": "2021-07-21T14:00:00.000Z",
"course_id": "16873-ENG-1",
"remote_course_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"
},
"raw": [
{
"method": "<string>",
"url": "<string>",
"body": {},
"response": {}
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The account identifier
Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
The comma separated list of fields to return in the response (if empty, all fields are returned)
The assignment with the given identifier was retrieved.
Show child attributes
The ID associated with this assignment
"123456"
Provider's unique identifier
"8187e5da-dc77-475e-9949-af0f1fa4e4e3"
Custom Unified Fields configured in your StackOne project
{
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
}The external reference associated with this assignment
"e3gd34-23tr21-er234-345er56"
The learning_object_id associated with this assignment. This is not required unless specified in an integration.
"e3gd34-23tr21-er234-345er56"
Provider's unique identifier of the learning object related to the assignment
"e3cb55bf-aa84-466e-a6c1-b8302b257a49"
The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.
"learning-content-123"
The progress associated with this assigment
"40"
The date the assignment was last updated
"2021-07-21T14:00:00.000Z"
The date the assignment was created
"2021-07-21T14:00:00.000Z"
The date the assignment was assigned
"2021-07-21T14:00:00.000Z"
The date the assignment is due to be completed
"2021-07-21T14:00:00.000Z"
The status of the assignment
The learning object type of the assignment
The user ID associated with this assignment
"c28xyrc55866bvuv"
Provider's unique identifier of the user related to the assignment
"e3cb75bf-aa84-466e-a6c1-b8322b257a48"
The certification URL associated with this assignment
"https://example.com/certificate/12345"
The date the content was completed
"2021-07-21T14:00:00.000Z"
The course ID associated with this assignment
"16873-ENG-1"
Provider's unique identifier of the course related to the assignment
"e3cb75bf-aa84-466e-a6c1-b8322b257a48"
Was this page helpful?