> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetRequestStatus

> SetRequestStatus method in the ABBYY FlexiCapture Web Services API: updates the status of an Application Server request using a ServerRequestStatus value.

## What it does

Changes the status of a request to the Application Server.

## Definition

```
void SetRequestStatus( int requestId, int status );
```

## Parameters

| **Name**  | **Type** | **Description**                                                                                                                                                 |
| --------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| requestId | int      | The ID of the request to the Application Server                                                                                                                 |
| status    | int      | The current status of the request to the Application Server. See [ServerRequestStatus](/flexi-capture/api/structures/server-request-status) for possible values |

## Returned value

None.
