---
title: "Update the ActivityRunStatus of an ActivityRun"
method: PUT
path: "/api/v2/activityRuns/{activityRunID}/status"
tags: ["ActivityRuns"]
---

# Update the ActivityRunStatus of an ActivityRun

`PUT /api/v2/activityRuns/{activityRunID}/status`

## Request

- Base URL: `https://secure.agco-ats.com`
- URL: `https://secure.agco-ats.com/api/v2/activityRuns/{activityRunID}/status`
- Auth: none declared

Updates the ActivityRunStatus of an ActivityRun.  The body of the PUT is the updated ActivityRunStatus.
            When successful, the response is empty.  If unsuccessful, an appropriate ApiError is returned.

## Path parameters

- `activityRunID` integer, required

## Request body

- BuildSystemSharedDTOActivityRunStatus: A DTO for an IActivityRunStatus
  - `Status` 'Ready' | 'InProgress' | 'Succeeded' | 'Cancelled' | 'Failed': The status of the ActivityRun
  - `CurrentStep` integer: The activity step currently executing, indicated by numeric order
  - `StepStatus` string: The status text from the currently executing step
  - `StepProgress` integer: The percent progress from the currently executing step. This value shall be null if progress is not available

## Response `204`

No Content

## Other responses

- `default`: API Error Response

---

[API](https://skmtc.dev/agco-ats/apis/agco-ats-api.md) - [All operations](https://skmtc.dev/agco-ats/apis/agco-ats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agco-ats/apis/agco-ats-api/revisions/8b416443df5c?raw)
