---
title: "Sets a job's result"
method: PUT
path: "/v1/jobs/{jobId}/result"
tags: ["Jobs"]
---

# Sets a job's result

`PUT /v1/jobs/{jobId}/result`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/jobs/{jobId}/result`
- Auth: HTTP bearer

Sets a specific job's result. The job status must be started to use this endpoint (required scope jobs:write)

## Path parameters

- `jobId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- UpdateJobResultModel: Represents a model containing information for setting the result of a job
  - `status` 'completedOk' | 'completedWithIssues', required: Describes the result of a job<p>Possible values:</p><ul><li><b>completedOk</b>: Job completed with a positive result</li><li><b>completedWithIssues</b>: Job completed with a negative result</li></ul>
  - `result` string, nullable: Required if status is completedOk; optional if completedWithIssues. Must exactly match a valid result string for the job type and status
  - `statusModifiedAt` string, date-time, nullable: The UTC timestamp the status change should be recorded at. If omitted the current UTC time is used

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
