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

# Query member event status

> Query member event status: request parameters, response format and response codes.

> [!NOTE]
>
> * Queries the events a member has joined.
> * Either the event ID or the member account is required.

## Path

```text theme={null}
GET {host}/api/v1.0/event/member/search
```

## Headers

<table>
  <colgroup>
    <col width="27%" />

    <col width="10%" />

    <col width="7%" />

    <col width="56%" />
  </colgroup>

  <thead><tr><th>Field</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td>`Authorization`</td><td>string</td><td>Yes</td><td>Token we provide</td></tr>
  </tbody>
</table>

## Request parameters

<table>
  <colgroup>
    <col width="27%" />

    <col width="10%" />

    <col width="7%" />

    <col width="11%" />

    <col width="45%" />
  </colgroup>

  <thead><tr><th>Field</th><th>Type</th><th>Required</th><th>Signed</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td>`eventID`</td><td>string</td><td>No</td><td>✓</td><td>Event ID (allowed characters: `a-z A-Z 0-9 _`)</td></tr>
    <tr><td>`account`</td><td>string</td><td>No</td><td>✓</td><td>Member account (allowed characters: `a-z A-Z 0-9 _-`)</td></tr>
    <tr><td>`page`</td><td>number</td><td>Yes</td><td>✓</td><td>Page number (minimum 1)</td></tr>
    <tr><td>`pageSize`</td><td>number</td><td>Yes</td><td>✓</td><td>Records per page (minimum 50, maximum 5000)</td></tr>
    <tr><td>`sign`</td><td>string</td><td>Yes</td><td /><td>Signature. See [Signature](https://doc.va777.net/en/v1/guides/signature.md) for how to generate it</td></tr>
  </tbody>
</table>

## Response

Success (the HTTP status code is always 200; check `status.code` for the result)

<table>
  <colgroup>
    <col width="34%" />

    <col width="12%" />

    <col width="54%" />
  </colgroup>

  <thead><tr><th>Field</th><th>Type</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td>`data`</td><td>object</td><td /></tr>
    <tr><td>`data.list`</td><td>object</td><td>Member event information</td></tr>
    <tr><td>`data.list.eventID`</td><td>string</td><td>Event ID</td></tr>
    <tr><td>`data.list.channelID`</td><td>number</td><td>Channel ID</td></tr>
    <tr><td>`data.list.memberAccount`</td><td>string</td><td>Member account</td></tr>
    <tr><td>`data.list.status`</td><td>string</td><td>Event status (Inactive: not used, Used: used, Completed: completed, Frozen: frozen)</td></tr>
    <tr><td>`data.list.eventName`</td><td>string</td><td>Event name</td></tr>
    <tr><td>`data.list.totalSpinTimes`</td><td>number</td><td>Total sessions of the event</td></tr>
    <tr><td>`data.list.usedSpinTimes`</td><td>number</td><td>Sessions used</td></tr>
    <tr><td>`data.list.currency`</td><td>string</td><td>Currency</td></tr>
    <tr><td>`data.list.totalWin`</td><td>number</td><td>Total winnings of the event</td></tr>
    <tr><td>`data.list.createdTime`</td><td>string</td><td>Creation time (see [Time format](https://doc.va777.net/en/v1/guides/request-format.md#time-format))</td></tr>
    <tr><td>`data.list.startTime`</td><td>string</td><td>Event start time (see [Time format](https://doc.va777.net/en/v1/guides/request-format.md#time-format))</td></tr>
    <tr><td>`data.list.endTime`</td><td>string</td><td>Event end time (see [Time format](https://doc.va777.net/en/v1/guides/request-format.md#time-format))</td></tr>
    <tr><td>`data.list.bet`</td><td>number</td><td>Bet</td></tr>
    <tr><td>`data.list.gameIDList`</td><td>string</td><td>Game list</td></tr>
    <tr><td>`data.list.minWithdraw`</td><td>number</td><td>Minimum withdrawal amount</td></tr>
    <tr><td>`data.list.maxWithdraw`</td><td>number</td><td>Maximum withdrawal amount</td></tr>
    <tr><td>`data.list.note`</td><td>number</td><td>Note</td></tr>
    <tr><td>`data.count`</td><td>number</td><td>Record count</td></tr>
    <tr><td>`status`</td><td>object</td><td>Response status. See [Response format](https://doc.va777.net/en/v1/guides/request-format.md#response-format)</td></tr>
  </tbody>
</table>

### Response example

```json theme={null}
{
  "data": {
    "count": 1,
    "list": {
      "eventID": "asda_dsf4cger",
      "channelID": 98,
      "memberAccount": "test12345",
      "status": "Frozen",
      "eventName": "atestevent",
      "totalSpinTimes": 10,
      "usedSpinTimes": 1,
      "currency": "CNY",
      "totalWin": 15,
      "createdTime": "2022-07-02T10:13:54.920+08:00",
      "startTime": "2022-07-01T10:13:54.920+08:00",
      "endTime": "2022-07-02T11:13:54.920+08:00",
      "bet": 10,
      "gameIDList": "452,453",
      "minWithdraw": 20,
      "maxWithdraw": 50,
      "note": "nodata"
    }
  },
  "status": {
    "code": "0",
    "message": "success",
    "datetime": "2022-07-01T10:13:54.920+08:00",
    "traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.