# Game Play Sound


## Update Game Play Sound Status

<small class="badge badge-darkred">requires authentication</small>

Use this end point to update status of game play sound.

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/update/gameplay-sound-status" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"is_gameplay_sound_enabled":15}'

```


> Example response (200):

```json

{
      "message": "Status changed successfully",
        "data": {
             "is_gameplay_sound_enabled": 1
         }
  }

* @response 422 {
      "message": "Validation Failed.",
      "errors": {
          "is_gameplay_sound_enabled": [
              "The is_gameplay_sound_enabled field is required"
          ]
      }
  }
```
> Example response (404):

```json
{
    "message": "User not found!"
}
```
<div id="execution-results-POSTupdate-gameplay-sound-status" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTupdate-gameplay-sound-status"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTupdate-gameplay-sound-status"></code></pre>
</div>
<div id="execution-error-POSTupdate-gameplay-sound-status" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTupdate-gameplay-sound-status"></code></pre>
</div>
<form id="form-POSTupdate-gameplay-sound-status" data-method="POST" data-path="update/gameplay-sound-status" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTupdate-gameplay-sound-status', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTupdate-gameplay-sound-status" onclick="tryItOut('POSTupdate-gameplay-sound-status');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTupdate-gameplay-sound-status" onclick="cancelTryOut('POSTupdate-gameplay-sound-status');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTupdate-gameplay-sound-status" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>update/gameplay-sound-status</code></b>
</p>
<p>
<label id="auth-POSTupdate-gameplay-sound-status" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTupdate-gameplay-sound-status" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>is_gameplay_sound_enabled</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_gameplay_sound_enabled" data-endpoint="POSTupdate-gameplay-sound-status" data-component="body" required  hidden>
<br>
Possible values: 1 (Enabled), 0 (Disabled). Ex: 1
</p>

</form>


## Update Game Play Background Sound Status

<small class="badge badge-darkred">requires authentication</small>

Use this end point to update status of game play background sound.

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/update/gameplay-bg-sound-status" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"sound_key":"necessitatibus","is_enabled":19}'

```


> Example response (200):

```json

{
      "message": "Status changed successfully"
  }

 @response 422 {
      "message": "Validation Failed.",
      "errors": {
          "sound_key": [
              "The sound_key field is required"
          ],
          "is_enabled": [
              "The is_enabled field is required"
          ]
      }
  }
```
> Example response (404):

```json
{
    "message": "User not found!"
}
```
<div id="execution-results-POSTupdate-gameplay-bg-sound-status" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTupdate-gameplay-bg-sound-status"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTupdate-gameplay-bg-sound-status"></code></pre>
</div>
<div id="execution-error-POSTupdate-gameplay-bg-sound-status" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTupdate-gameplay-bg-sound-status"></code></pre>
</div>
<form id="form-POSTupdate-gameplay-bg-sound-status" data-method="POST" data-path="update/gameplay-bg-sound-status" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTupdate-gameplay-bg-sound-status', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-POSTupdate-gameplay-bg-sound-status" onclick="tryItOut('POSTupdate-gameplay-bg-sound-status');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTupdate-gameplay-bg-sound-status" onclick="cancelTryOut('POSTupdate-gameplay-bg-sound-status');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTupdate-gameplay-bg-sound-status" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>update/gameplay-bg-sound-status</code></b>
</p>
<p>
<label id="auth-POSTupdate-gameplay-bg-sound-status" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTupdate-gameplay-bg-sound-status" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>sound_key</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sound_key" data-endpoint="POSTupdate-gameplay-bg-sound-status" data-component="body"  hidden>
<br>
required. Possible values: classic_rock, fantasyspin_classic, edm, smooth_jazz, 80_pop, holiday_spins. Ex: classic_rock
</p>
<p>
<b><code>is_enabled</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_enabled" data-endpoint="POSTupdate-gameplay-bg-sound-status" data-component="body" required  hidden>
<br>
Possible values: 1 (Enabled), 0 (Disabled). Ex: 1
</p>

</form>



