SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
tasks

Fetch one assignment with its submissions, reviews and full event history.

Fetch one assignment with its submissions, reviews and full event history.

GEThttps://app.softsolz.uk/api/v1/services/tasks/assignments/{id}

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Response

Response Body

assignmentobjectOne person copy of the task.
taskobjectThe task this assignment came from.
submissionsarray of objectsEvery attempt, newest first.
reviewsarray of objectsEvery decision made on those attempts.
eventsarray of objectsThe full history: who had it, when it moved, what the deadline was, and why each change happened.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.tasks.getAssignment('<id>');
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 200

{
"data": {
"assignment": {},
"task": {},
"submissions": [],
"reviews": [],
"events": []
}
}