POST v3/teams/{id}/timeslots/markweek

set team time slots by week

Request Information

Parameters

NameDescriptionAdditional information
id

Define this parameter in the request URI.

inVO

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "hasUnavailableTimeSlot": true,
  "teamUnavailableTimeIds": "sample string 2",
  "minTimeSlotsPerWeek": 3,
  "numOfTimesCanBeMarkedOff": 4,
  "dayTime": "sample string 5",
  "gameType": 0,
  "teamId": "sample string 6",
  "curUserId": "sample string 7",
  "isSSO": true,
  "requestHost": "sample string 9",
  "applicationPath": "sample string 10",
  "secureApplicationPath": "sample string 11",
  "absoluteApplicationPath": "sample string 12",
  "isHttps": true,
  "isMobileDevice": true,
  "isFullEmbed": true,
  "clientType": 0,
  "clientVersion": "sample string 16",
  "clientOS": "sample string 17",
  "clientBuild": "sample string 18",
  "premiumAppId": "sample string 19",
  "clientWidth": 20,
  "clientHeight": 21,
  "timezone": 22
}

application/xml, text/xml

Sample:
<MarkWeekTimeSlotsInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input.Team">
  <ClientHeight xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">21</ClientHeight>
  <ClientType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">Site</ClientType>
  <ClientWidth xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">20</ClientWidth>
  <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 12</absoluteApplicationPath>
  <applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 10</applicationPath>
  <cachedKey xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 1</cachedKey>
  <clientBuild xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 18</clientBuild>
  <clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 17</clientOS>
  <clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 16</clientVersion>
  <curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 7</curUserId>
  <isFullEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isFullEmbed>
  <isHttps xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isHttps>
  <isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isMobileDevice>
  <isSSO xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isSSO>
  <premiumAppId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 19</premiumAppId>
  <requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 9</requestHost>
  <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 11</secureApplicationPath>
  <timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">22</timezone>
  <teamId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 6</teamId>
  <DayTime>sample string 5</DayTime>
  <GameType>RegularGame</GameType>
  <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
  <MinTimeSlotsPerWeek>3</MinTimeSlotsPerWeek>
  <NumOfTimesCanBeMarkedOff>4</NumOfTimesCanBeMarkedOff>
  <TeamUnavailableTimeIds>sample string 2</TeamUnavailableTimeIds>
</MarkWeekTimeSlotsInVO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "minTimeSlotsPerWeek": 1,
  "gameTimeSlotsList": [
    {
      "timeSlots": [
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        },
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        },
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        }
      ],
      "day": "sample string 1",
      "gameType": 0
    },
    {
      "timeSlots": [
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        },
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        },
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        }
      ],
      "day": "sample string 1",
      "gameType": 0
    },
    {
      "timeSlots": [
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        },
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        },
        {
          "dayTime": "sample string 1",
          "duration": "sample string 2",
          "timeSlot": "2020-05-30T04:45:56.9663189-05:00",
          "location": "sample string 4",
          "day": "sample string 5",
          "hasAvailableTimeSlot": true,
          "hasUnavailableTimeSlot": true,
          "teamUnavailableTimeIds": "sample string 8"
        }
      ],
      "day": "sample string 1",
      "gameType": 0
    }
  ],
  "numOfAvailableTimeSlots": 2
}

application/xml, text/xml

Sample:
<TeamTimePreferenceWeekOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Team">
  <GameTimeSlotsList>
    <GameTimeSlotsWeekOutVO>
      <Day>sample string 1</Day>
      <GameType>RegularGame</GameType>
      <TimeSlots>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
      </TimeSlots>
    </GameTimeSlotsWeekOutVO>
    <GameTimeSlotsWeekOutVO>
      <Day>sample string 1</Day>
      <GameType>RegularGame</GameType>
      <TimeSlots>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
      </TimeSlots>
    </GameTimeSlotsWeekOutVO>
    <GameTimeSlotsWeekOutVO>
      <Day>sample string 1</Day>
      <GameType>RegularGame</GameType>
      <TimeSlots>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
        <GameTimeSlotWeekOutVO>
          <Day>sample string 5</Day>
          <DayTime>sample string 1</DayTime>
          <Duration>sample string 2</Duration>
          <HasAvailableTimeSlot>true</HasAvailableTimeSlot>
          <HasUnavailableTimeSlot>true</HasUnavailableTimeSlot>
          <Location>sample string 4</Location>
          <TeamUnavailableTimeIds>sample string 8</TeamUnavailableTimeIds>
          <TimeSlot>2020-05-30T04:45:56.9663189-05:00</TimeSlot>
        </GameTimeSlotWeekOutVO>
      </TimeSlots>
    </GameTimeSlotsWeekOutVO>
  </GameTimeSlotsList>
  <MinTimeSlotsPerWeek>1</MinTimeSlotsPerWeek>
  <NumOfAvailableTimeSlots>2</NumOfAvailableTimeSlots>
</TeamTimePreferenceWeekOutVO>