GET v2/networks/{networkid}/teams/{id}/timeslots

[Team Admin Permission Required] Get time preferences for team

Request Information

Parameters

NameDescriptionAdditional information
networkid
school id

Define this parameter in the request URI.

id
team id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "min_time_slots_per_week": 1,
  "game_time_slots_list": [
    {
      "available_times_of_week": 1,
      "time_slots": [
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        },
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        },
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        }
      ],
      "week_ndx": 2,
      "game_type": 0
    },
    {
      "available_times_of_week": 1,
      "time_slots": [
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        },
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        },
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        }
      ],
      "week_ndx": 2,
      "game_type": 0
    },
    {
      "available_times_of_week": 1,
      "time_slots": [
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        },
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        },
        {
          "avaliable": true,
          "text": "sample string 2",
          "time_slot": "sample string 3",
          "team_unavailable_time_ids": "sample string 4"
        }
      ],
      "week_ndx": 2,
      "game_type": 0
    }
  ]
}

application/xml, text/xml

Sample:
<TeamTimePreferenceOutDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output.V2">
  <game_time_slots_list>
    <GameTimeSlotsOutDto>
      <available_times_of_week>1</available_times_of_week>
      <game_type>RegularGame</game_type>
      <time_slots>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
      </time_slots>
      <week_ndx>2</week_ndx>
    </GameTimeSlotsOutDto>
    <GameTimeSlotsOutDto>
      <available_times_of_week>1</available_times_of_week>
      <game_type>RegularGame</game_type>
      <time_slots>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
      </time_slots>
      <week_ndx>2</week_ndx>
    </GameTimeSlotsOutDto>
    <GameTimeSlotsOutDto>
      <available_times_of_week>1</available_times_of_week>
      <game_type>RegularGame</game_type>
      <time_slots>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
        <GameTimeSlotOutDto>
          <avaliable>true</avaliable>
          <team_unavailable_time_ids>sample string 4</team_unavailable_time_ids>
          <text>sample string 2</text>
          <time_slot>sample string 3</time_slot>
        </GameTimeSlotOutDto>
      </time_slots>
      <week_ndx>2</week_ndx>
    </GameTimeSlotsOutDto>
  </game_time_slots_list>
  <min_time_slots_per_week>1</min_time_slots_per_week>
</TeamTimePreferenceOutDto>