# Master Blueprint Schedules


## Store

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

Use this end point to store master blueprint schedules

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/master-blueprint-schedules/store" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"game_id":1,"name":"MNF","creation_days":"cupiditate","creation_time":"12:00","opens_after_hours":12,"is_active":1}'

```


> Example response (200):

```json
{
    "message": "Master blueprint schedules created successfully"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The game id field is required."
        ],
        "name": [
            "The name field is required."
        ],
        "is_active": [
            "The active\/inactive field is required"
        ]
    }
}
```
> Example response (403):

```json
{
    "message": "Access Forbidden"
}
```
<div id="execution-results-POSTmaster-blueprint-schedules-store" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTmaster-blueprint-schedules-store"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTmaster-blueprint-schedules-store"></code></pre>
</div>
<div id="execution-error-POSTmaster-blueprint-schedules-store" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTmaster-blueprint-schedules-store"></code></pre>
</div>
<form id="form-POSTmaster-blueprint-schedules-store" data-method="POST" data-path="master-blueprint-schedules/store" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTmaster-blueprint-schedules-store', 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-POSTmaster-blueprint-schedules-store" onclick="tryItOut('POSTmaster-blueprint-schedules-store');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTmaster-blueprint-schedules-store" onclick="cancelTryOut('POSTmaster-blueprint-schedules-store');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTmaster-blueprint-schedules-store" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>master-blueprint-schedules/store</code></b>
</p>
<p>
<label id="auth-POSTmaster-blueprint-schedules-store" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTmaster-blueprint-schedules-store" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="game_id" data-endpoint="POSTmaster-blueprint-schedules-store" data-component="body"  hidden>
<br>
Game ID: 1 (NFL), 2 (NBA), 3 (MLB), 4 (NHL).
</p>
<p>
<b><code>name</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="name" data-endpoint="POSTmaster-blueprint-schedules-store" data-component="body"  hidden>
<br>
Name of the schedule master.
</p>
<p>
<b><code>creation_days</code></b>&nbsp;&nbsp;<small>array</small>  &nbsp;
<input type="text" name="creation_days" data-endpoint="POSTmaster-blueprint-schedules-store" data-component="body" required  hidden>
<br>
Game dates. Ex: "creation_days": [
      "Monday",
      "Tuesday"
  ]
</p>
<p>
<b><code>creation_time</code></b>&nbsp;&nbsp;<small>time</small>     <i>optional</i> &nbsp;
<input type="text" name="creation_time" data-endpoint="POSTmaster-blueprint-schedules-store" data-component="body"  hidden>
<br>
Creation Time of the schedule master.
</p>
<p>
<b><code>opens_after_hours</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="opens_after_hours" data-endpoint="POSTmaster-blueprint-schedules-store" data-component="body"  hidden>
<br>
Opens After Hours of the schedule master.
</p>
<p>
<b><code>is_active</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_active" data-endpoint="POSTmaster-blueprint-schedules-store" data-component="body" required  hidden>
<br>
0 (Inactive), 1 (Active).
</p>

</form>


## List

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

Use this end point to get the list of Master blueprint schedules

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/master-blueprint-schedules?per_page=15&search=NFL+Spin&sort_field=id&sort_method=desc&page=2&game_id=1&is_active=1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Master Blueprint Schedules List",
      "data": {
          "master_blueprint_schedules": {
              "current_page": 1,
              "data": [
                  {
                      "id": 32,
                      "name": "MNF",
                      "creation_days": [
                          "Monday"
                      ],
                      "creation_time": 13:00,
                      "opens_after_hours": 12,
                      "is_active": 1,
                      "created_at": "2023-12-07T13:15:23.000000Z",
                      "updated_at": "2023-12-07T13:15:23.000000Z",
                      "created_by": 1,
                      "updated_by": 0,
                      "game": {
                          "id": 1,
                          "name": "NFL"
                      }
                  }
              ],
              "first_page_url": "http://127.0.0.1:8000/master-blueprint-schedules?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&game_id=&page=1",
              "from": 1,
              "last_page": 2,
              "last_page_url": "http://127.0.0.1:8000/master-blueprint-schedules?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&game_id=&page=2",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/master-blueprint-schedules?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&game_id=&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": "http://127.0.0.1:8000/master-blueprint-schedules?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&game_id=&page=2",
                      "label": "2",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/master-blueprint-schedules?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&game_id=&page=2",
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": "http://127.0.0.1:8000/master-blueprint-schedules?per_page=10&search=&sort_field=id&sort_method=desc&is_active=&game_id=&page=2",
              "path": "http://127.0.0.1:8000/master-blueprint-schedules",
              "per_page": 10,
              "prev_page_url": null,
              "to": 10,
              "total": 17
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ],
        "sort_field": [
            "The selected sort field is invalid."
        ],
        "sort_method": [
            "The selected sort method is invalid."
        ],
        "is_active": [
            "The selected is active is invalid."
        ]
    }
}
```
<div id="execution-results-GETmaster-blueprint-schedules" hidden>
    <blockquote>Received response<span id="execution-response-status-GETmaster-blueprint-schedules"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETmaster-blueprint-schedules"></code></pre>
</div>
<div id="execution-error-GETmaster-blueprint-schedules" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETmaster-blueprint-schedules"></code></pre>
</div>
<form id="form-GETmaster-blueprint-schedules" data-method="GET" data-path="master-blueprint-schedules" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETmaster-blueprint-schedules', 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-GETmaster-blueprint-schedules" onclick="tryItOut('GETmaster-blueprint-schedules');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETmaster-blueprint-schedules" onclick="cancelTryOut('GETmaster-blueprint-schedules');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETmaster-blueprint-schedules" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>master-blueprint-schedules</code></b>
</p>
<p>
<label id="auth-GETmaster-blueprint-schedules" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETmaster-blueprint-schedules" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10.
</p>
<p>
<b><code>search</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="search" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Search string. Search will be performed in name.
</p>
<p>
<b><code>sort_field</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_field" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Sort by field.
</p>
<p>
<b><code>sort_method</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="sort_method" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Sort by method. Possible values: asc, desc.
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Page number.
</p>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="game_id" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Game ID.
</p>
<p>
<b><code>is_active</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_active" data-endpoint="GETmaster-blueprint-schedules" data-component="query"  hidden>
<br>
Possible values: 0 (Inactive), 1 (Active).
</p>
</form>


## Update

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

Use this end point to update master blueprint schedules

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/master-blueprint-schedules/eos/update" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"game_id":1,"name":"MNF","creation_days":"qui","creation_time":"12:00","opens_after_hours":12,"is_active":1}'

```


> Example response (200):

```json
{
    "message": "master blueprint schedules updated successfully"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "game_id": [
            "The game id field is required."
        ],
        "name": [
            "The name field is required."
        ],
        "slate": [
            "The slate field is required."
        ],
        "is_active": [
            "The active\/inactive field is required"
        ]
    }
}
```
> Example response (403):

```json
{
    "message": "Access Forbidden"
}
```
<div id="execution-results-POSTmaster-blueprint-schedules--id--update" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTmaster-blueprint-schedules--id--update"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTmaster-blueprint-schedules--id--update"></code></pre>
</div>
<div id="execution-error-POSTmaster-blueprint-schedules--id--update" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTmaster-blueprint-schedules--id--update"></code></pre>
</div>
<form id="form-POSTmaster-blueprint-schedules--id--update" data-method="POST" data-path="master-blueprint-schedules/{id}/update" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTmaster-blueprint-schedules--id--update', 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-POSTmaster-blueprint-schedules--id--update" onclick="tryItOut('POSTmaster-blueprint-schedules--id--update');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTmaster-blueprint-schedules--id--update" onclick="cancelTryOut('POSTmaster-blueprint-schedules--id--update');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTmaster-blueprint-schedules--id--update" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>master-blueprint-schedules/{id}/update</code></b>
</p>
<p>
<label id="auth-POSTmaster-blueprint-schedules--id--update" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="id" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="url" required  hidden>
<br>

</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="game_id" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="body"  hidden>
<br>
Game ID: 1 (NFL), 2 (NBA), 3 (MLB), 4 (NHL).
</p>
<p>
<b><code>name</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="name" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="body"  hidden>
<br>
Name of the schedule master.
</p>
<p>
<b><code>creation_days</code></b>&nbsp;&nbsp;<small>array</small>  &nbsp;
<input type="text" name="creation_days" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="body" required  hidden>
<br>
Game dates. Ex: "creation_days": [
      "Monday",
      "Tuesday"
  ]
</p>
<p>
<b><code>creation_time</code></b>&nbsp;&nbsp;<small>time</small>     <i>optional</i> &nbsp;
<input type="text" name="creation_time" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="body"  hidden>
<br>
Creation Time of the schedule master.
</p>
<p>
<b><code>opens_after_hours</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="opens_after_hours" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="body"  hidden>
<br>
Opens After Hours of the schedule master.
</p>
<p>
<b><code>is_active</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="is_active" data-endpoint="POSTmaster-blueprint-schedules--id--update" data-component="body" required  hidden>
<br>
0 (Inactive), 1 (Active).
</p>

</form>


## Delete

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

Use this end point to delete a master blueprint schedule

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/master-blueprint-schedules/delete" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Master blueprint schedule deleted successfully!",
      }
  }
```
> Example response (404):

```json
{
    "message": "Master blueprint schedule not found!"
}
```
<div id="execution-results-POSTmaster-blueprint-schedules-delete" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTmaster-blueprint-schedules-delete"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTmaster-blueprint-schedules-delete"></code></pre>
</div>
<div id="execution-error-POSTmaster-blueprint-schedules-delete" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTmaster-blueprint-schedules-delete"></code></pre>
</div>
<form id="form-POSTmaster-blueprint-schedules-delete" data-method="POST" data-path="master-blueprint-schedules/delete" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTmaster-blueprint-schedules-delete', 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-POSTmaster-blueprint-schedules-delete" onclick="tryItOut('POSTmaster-blueprint-schedules-delete');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTmaster-blueprint-schedules-delete" onclick="cancelTryOut('POSTmaster-blueprint-schedules-delete');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTmaster-blueprint-schedules-delete" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>master-blueprint-schedules/delete</code></b>
</p>
<p>
<label id="auth-POSTmaster-blueprint-schedules-delete" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTmaster-blueprint-schedules-delete" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="id" data-endpoint="POSTmaster-blueprint-schedules-delete" data-component="url" required  hidden>
<br>
Master Blueprint Schedule Id.
</p>
</form>


## View

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

Use this end point to view a master blueprint schedule

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/master-blueprint-schedules/data/1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Master Blueprint Schedule",
      "data": {
          "master_blueprint_schedule": {
              "id": 1,
              "game_id": 1,
              "name": "MNF",
              "creation_days": ["Monday"],
              "creation_time": 10:00,
              "opens_after_hours": 12,
              "is_active": 1,
              "created_at": "2023-12-06T13:32:57.000000Z",
              "updated_at": "2023-12-06T13:32:57.000000Z",
              "created_by": 1,
              "updated_by": 0,
              "game": {
                  "id": 1,
                  "name": "NFL"
              }
          },
      }
  }
```
> Example response (404):

```json
{
    "message": "Master Blueprint Schedule not found!"
}
```
<div id="execution-results-GETmaster-blueprint-schedules-data--id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETmaster-blueprint-schedules-data--id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETmaster-blueprint-schedules-data--id-"></code></pre>
</div>
<div id="execution-error-GETmaster-blueprint-schedules-data--id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETmaster-blueprint-schedules-data--id-"></code></pre>
</div>
<form id="form-GETmaster-blueprint-schedules-data--id-" data-method="GET" data-path="master-blueprint-schedules/data/{id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETmaster-blueprint-schedules-data--id-', 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-GETmaster-blueprint-schedules-data--id-" onclick="tryItOut('GETmaster-blueprint-schedules-data--id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETmaster-blueprint-schedules-data--id-" onclick="cancelTryOut('GETmaster-blueprint-schedules-data--id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETmaster-blueprint-schedules-data--id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>master-blueprint-schedules/data/{id}</code></b>
</p>
<p>
<label id="auth-GETmaster-blueprint-schedules-data--id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETmaster-blueprint-schedules-data--id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="id" data-endpoint="GETmaster-blueprint-schedules-data--id-" data-component="url" required  hidden>
<br>
Master Blueprint Schedule Id.
</p>
</form>


## Get Master Blueprint Schedules

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

Use this end point to get master blueprint schedules by game_id

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/master-blueprint-schedules/get/1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Master Blueprint Schedules",
      "data": {
          "master_blueprint_schedules": {
              "id": 1,
              "game_id": 1,
              "name": "MNF",
              "slate": "Date",
              "creation_days": ["Monday"],
              "creation_time": 10:00,
              "opens_after_hours": 12,
              "is_active": 1,
{
              "id": 2,
              "game_id": 1,
              "name": "MNF",
              "slate": "Date",
              "creation_days": ["Monday"],
              "creation_time": 10:00,
              "opens_after_hours": 12,
              "is_active": 1,
          },
      }
  }
```
> Example response (404):

```json
{
    "message": "Master blueprint schedules not found!"
}
```
<div id="execution-results-GETmaster-blueprint-schedules-get--game_id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETmaster-blueprint-schedules-get--game_id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETmaster-blueprint-schedules-get--game_id-"></code></pre>
</div>
<div id="execution-error-GETmaster-blueprint-schedules-get--game_id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETmaster-blueprint-schedules-get--game_id-"></code></pre>
</div>
<form id="form-GETmaster-blueprint-schedules-get--game_id-" data-method="GET" data-path="master-blueprint-schedules/get/{game_id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETmaster-blueprint-schedules-get--game_id-', 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-GETmaster-blueprint-schedules-get--game_id-" onclick="tryItOut('GETmaster-blueprint-schedules-get--game_id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETmaster-blueprint-schedules-get--game_id-" onclick="cancelTryOut('GETmaster-blueprint-schedules-get--game_id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETmaster-blueprint-schedules-get--game_id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>master-blueprint-schedules/get/{game_id}</code></b>
</p>
<p>
<label id="auth-GETmaster-blueprint-schedules-get--game_id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETmaster-blueprint-schedules-get--game_id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="GETmaster-blueprint-schedules-get--game_id-" data-component="url" required  hidden>
<br>
Game Id.
</p>
</form>


## Get Master Blueprints By Schedule

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

Use this end point to get master blueprints by schedule_id

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/master-blueprint-schedules/blueprints/quia" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json
{
    "message": "Master Blueprints",
    "data": {
        "fantasy_spin_master_blueprints": {
            "id": 1,
            "game_id": 1,
            "name": "Pittsburgh Steelers vs New England Patriots",
            "slate": "Pittsburgh Steelers vs New England Patriots",
            "currency_type": 20,
            "buy_in": 25,
            "payout": 100,
            "number_of_entrants": 100,
            "number_of_entries_per_user": 10,
            "is_active": 1,
            "master_blueprint_schedule_id": 1,
            "created_at": "2023-12-06T13:32:57.000000Z",
            "updated_at": "2023-12-06T13:32:57.000000Z",
            "created_by": 1,
            "updated_by": 0,
            "game": {
                "id": 1,
                "name": "NFL"
            }
        }
    }
}
```
> Example response (404):

```json
{
    "message": "Master blueprints not found!"
}
```
<div id="execution-results-GETmaster-blueprint-schedules-blueprints--schedule_id-" hidden>
    <blockquote>Received response<span id="execution-response-status-GETmaster-blueprint-schedules-blueprints--schedule_id-"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETmaster-blueprint-schedules-blueprints--schedule_id-"></code></pre>
</div>
<div id="execution-error-GETmaster-blueprint-schedules-blueprints--schedule_id-" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETmaster-blueprint-schedules-blueprints--schedule_id-"></code></pre>
</div>
<form id="form-GETmaster-blueprint-schedules-blueprints--schedule_id-" data-method="GET" data-path="master-blueprint-schedules/blueprints/{schedule_id}" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETmaster-blueprint-schedules-blueprints--schedule_id-', 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-GETmaster-blueprint-schedules-blueprints--schedule_id-" onclick="tryItOut('GETmaster-blueprint-schedules-blueprints--schedule_id-');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETmaster-blueprint-schedules-blueprints--schedule_id-" onclick="cancelTryOut('GETmaster-blueprint-schedules-blueprints--schedule_id-');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETmaster-blueprint-schedules-blueprints--schedule_id-" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>master-blueprint-schedules/blueprints/{schedule_id}</code></b>
</p>
<p>
<label id="auth-GETmaster-blueprint-schedules-blueprints--schedule_id-" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETmaster-blueprint-schedules-blueprints--schedule_id-" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4>
<p>
<b><code>schedule_id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="schedule_id" data-endpoint="GETmaster-blueprint-schedules-blueprints--schedule_id-" data-component="url" required  hidden>
<br>

</p>
<p>
<b><code>game_id</code></b>&nbsp;&nbsp;<small>integer</small>  &nbsp;
<input type="number" name="game_id" data-endpoint="GETmaster-blueprint-schedules-blueprints--schedule_id-" data-component="url" required  hidden>
<br>
Schedule Id.
</p>
</form>



