---
title: "Update Assignment"
method: POST
path: "/api/v1/guide_assignments/{GuideAssignmentID}"
---

# Update Assignment

`POST /api/v1/guide_assignments/{GuideAssignmentID}`

## Request

- Base URL: `https://app.workramp.com`
- URL: `https://app.workramp.com/api/v1/guide_assignments/{GuideAssignmentID}`
- Auth: API key in header `Authorization`

Update an assignment for a given user

## Path parameters

- `GuideAssignmentID` string, required

## Request body

- object
  - `dueDate` string, date-time: Flexible date format, with a preference for ISO8601 formats, but can accept number of milliseconds since 1970-01-01 00:00:00 UTC.
  - `isCompleted` boolean
  - `completedDate` string, date-time: Flexible date format, with a preference for ISO8601 formats, but can accept number of milliseconds since 1970-01-01 00:00:00 UTC.- Providing a "completedDate" does NOT complete a user's assignment.
  - `score` number, float: A percentage with value from 0-100. Providing a "score" does NOT complete a user's assignment.
  - `dueAtEndOfDay` boolean: Specifies whether you want to have the due date set to 23:59:99 of the day chosen.

## Response `200`

200

- object
  - `id` string
  - `userId` integer
  - `title` string
  - `courseId` string
  - `trainingSeriesUserAssignmentId` unknown
  - `dueDate` integer
  - `numViewedTasks` integer
  - `numCompletedTasks` integer
  - `numCompletedTestQuestions` integer
  - `numGradedTestQuestions` integer
  - `numCorrectTestQuestions` integer
  - `score` integer
  - `isArchived` unknown
  - `isCompleted` boolean
  - `createdAt` number
  - `updatedAt` number
  - `completedAt` integer

---

[API](https://skmtc.dev/workramp/apis/json-api.md) - [All operations](https://skmtc.dev/workramp/apis/json-api/llms.txt) - [OpenAPI document](https://skmtc.dev/workramp/apis/json-api/revisions/2cb77bf12793?raw)
