# WebCompanionTaskInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WebCompanionTaskInfo/

Struct for web companion task information.

- **Full name:** `MFiles.WebCompanionTaskInfo`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-data"></a>`data` | `string` | 1 | The Web Companion task data. |
| <a id="f-action_type"></a>`action_type` | [`WebCompanionActionType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.WebCompanionActionType/index.md) | 2 | Web Companion Task Action type. Values: `WEB_COMPANION_ACTION_TYPE_VIEW` (0), `WEB_COMPANION_ACTION_TYPE_EDIT` (1), `WEB_COMPANION_ACTION_TYPE_CHECKIN` (2), `WEB_COMPANION_ACTION_TYPE_SAVE_FILE_EXTENSION` (3), `WEB_COMPANION_ACTION_TYPE_CO_AUTHOR` (4). |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCWebCompanionTaskOperation.GetWebCompanionTask](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebCompanionTaskOperation/GetWebCompanionTask/index.md): Gets a task that M-Files Web stored for M-Files Web Companion.

<a id="used-in-fields"></a>

## Used in fields

- [`GetWebCompanionTaskResponse.web_companion_task_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebCompanionTaskOperation/GetWebCompanionTask/index.md#response): The stored task.
