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

[Team Admin Permission Required] Mark time slots available/unavailable

Request Information

Parameters

NameDescriptionAdditional information
networkid
network id

Define this parameter in the request URI.

id
team id

Define this parameter in the request URI.

timeSlots
time slots to be changed

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "avaliable": true,
    "time_slot": "sample string 2",
    "team_unavailable_time_ids": "sample string 3",
    "game_type": 0
  },
  {
    "avaliable": true,
    "time_slot": "sample string 2",
    "team_unavailable_time_ids": "sample string 3",
    "game_type": 0
  },
  {
    "avaliable": true,
    "time_slot": "sample string 2",
    "team_unavailable_time_ids": "sample string 3",
    "game_type": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfTimeSlotInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input.V2">
  <TimeSlotInDto>
    <avaliable>true</avaliable>
    <game_type>RegularGame</game_type>
    <team_unavailable_time_ids>sample string 3</team_unavailable_time_ids>
    <time_slot>sample string 2</time_slot>
  </TimeSlotInDto>
  <TimeSlotInDto>
    <avaliable>true</avaliable>
    <game_type>RegularGame</game_type>
    <team_unavailable_time_ids>sample string 3</team_unavailable_time_ids>
    <time_slot>sample string 2</time_slot>
  </TimeSlotInDto>
  <TimeSlotInDto>
    <avaliable>true</avaliable>
    <game_type>RegularGame</game_type>
    <team_unavailable_time_ids>sample string 3</team_unavailable_time_ids>
    <time_slot>sample string 2</time_slot>
  </TimeSlotInDto>
</ArrayOfTimeSlotInDto>

application/x-www-form-urlencoded

Sample:

Sample not available.