# ServerDataPushResponse

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.ServerDataPushResponse/

Server data push response details.

- **Full name:** `MFiles.ServerDataPushResponse`
- **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-type"></a>`type` | [`ServerDataPushRequestType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ServerDataPushRequestType/index.md) | 1 | Response type. Values: `SERVER_DATA_PUSH_REQUEST_TYPE_UNINITIALIZED` (0), `SERVER_DATA_PUSH_REQUEST_TYPE_ELECTRONIC_SIGNATURE_REQUEST` (1), `SERVER_DATA_PUSH_REQUEST_TYPE_EXTENSION_AUTHENTICATION_REQUEST` (2), `SERVER_DATA_PUSH_REQUEST_TYPE_OBJECTS_CHANGED_NOTIFICATION` (3). |
| <a id="f-data"></a>`data` | [`ServerDataPushResponseUnion`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerDataPushResponseUnion/index.md) | 2 | The actual message data. |
| <a id="f-error"></a>`error` | [`RPCErrorInfoArray`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.RPCErrorInfoArray/index.md) | 3 | Possible error encountered when serving the request. |

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

## Used by methods

- [IRPCServerDataPush.SendDataPushResponse](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerDataPush/SendDataPushResponse/index.md): Sends the client's answer to a push request received from [OpenServerDataPush](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerDataPush/OpenServerDataPush/index.md).

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

## Used in fields

- [`SendDataPushResponseRequest.response_data`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerDataPush/SendDataPushResponse/index.md#request): The answer: set `type` to the type of the request and fill the matching member of `data`, or report a failure in `error`. See [ServerDataPushResponse](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerDataPushResponse/index.md).
