> This page is for TWS API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ibkrcampus.com/docs/llms.txt.

# Receive Meta Data

#### EWrapper.wshEventData (

**requestId:** int. Request identifier used to track data.

**dataJson:** String. metadata in json format.\
)

Returns meta data from the WSH calendar

#### Python

```python
def wshMetaData(self, reqId: int, dataJson: str):
	print("WshMetaData.", "ReqId:", reqId, "Data JSON:", dataJson)
```

#### Java

```java
@Override
public void wshMetaData(int reqId, String dataJson) {
	System.out.println(EWrapperMsgGenerator.wshMetaData(reqId, dataJson));
}
```

#### C++

```cpp
void TestCppClient::wshMetaData(int reqId, const std::string& dataJson) {
    printf("WSH Meta Data. ReqId: %d, dataJson: %s\n", reqId, dataJson.c_str());
}
```

#### C\#

```csharp
public void wshMetaData(int reqId, string dataJson)
{
	Console.WriteLine($"WSH Meta Data. Request Id: {reqId}, Data JSON: {dataJson}\n");
}
```

#### VB.NET

```vbnet
Public Sub wshMetaData(reqId As Integer, dataJson As String) Implements EWrapper.wshMetaData
	Console.WriteLine($"WSH Meta Data. Request Id: {reqId}, Data JSON: {dataJson}")
End Sub
```

Once the json content has been received, the specific event types used to filter [EClient.reqWshEventData()](/tws-api/doc/wall-street-horizon/event-data/wsh-event-data-object) are listed under "meta_data" -> "event_types".

The "name" field will express what the filter will return, such as "Board of Directors Meeting"

The "tag" field will return the filter used in your JSON query. The related example would be "wshe_bod".