POST api/Account/SetTeamLogoPictureFilename

Request Information

URI Parameters

None.

Body Parameters

TeamSettingsInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

LTUID

string

None.

LeagueID

integer

None.

TeamID

integer

None.

TeamName

string

None.

HideEmail

boolean

None.

CoManager

boolean

None.

CoManagerName

string

None.

CoManagerEmailAddress

string

None.

NotifyWeeklyResults

boolean

None.

NotifyTrade

boolean

None.

NotifyTradeBlock

boolean

None.

NotifyLineupReminder

boolean

None.

NotifyMessages

boolean

None.

DisableSlowDraftPickEmails

boolean

None.

DisableAllChatNotifications

boolean

None.

SecondCoManager

boolean

None.

SecondCoManagerName

string

None.

SecondCoManagerEmailAddress

string

None.

TeamLogoFile

HttpPostedFile

None.

TeamLogoFilename

string

None.

EnableTradeNotifications

boolean

None.

EnableMessageBoardPostsNotifications

boolean

None.

EnableSlowDraftPickNotifications

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "LTUID": "sample string 2",
  "LeagueID": 3,
  "TeamID": 4,
  "TeamName": "sample string 5",
  "HideEmail": true,
  "CoManager": true,
  "CoManagerName": "sample string 8",
  "CoManagerEmailAddress": "sample string 9",
  "NotifyWeeklyResults": true,
  "NotifyTrade": true,
  "NotifyTradeBlock": true,
  "NotifyLineupReminder": true,
  "NotifyMessages": true,
  "DisableSlowDraftPickEmails": true,
  "DisableAllChatNotifications": true,
  "SecondCoManager": true,
  "SecondCoManagerName": "sample string 18",
  "SecondCoManagerEmailAddress": "sample string 19",
  "TeamLogoFile": null,
  "TeamLogoFilename": "sample string 20",
  "EnableTradeNotifications": true,
  "EnableMessageBoardPostsNotifications": true,
  "EnableSlowDraftPickNotifications": true
}

text/html

Sample:
{"SessionID":"sample string 1","LTUID":"sample string 2","LeagueID":3,"TeamID":4,"TeamName":"sample string 5","HideEmail":true,"CoManager":true,"CoManagerName":"sample string 8","CoManagerEmailAddress":"sample string 9","NotifyWeeklyResults":true,"NotifyTrade":true,"NotifyTradeBlock":true,"NotifyLineupReminder":true,"NotifyMessages":true,"DisableSlowDraftPickEmails":true,"DisableAllChatNotifications":true,"SecondCoManager":true,"SecondCoManagerName":"sample string 18","SecondCoManagerEmailAddress":"sample string 19","TeamLogoFile":null,"TeamLogoFilename":"sample string 20","EnableTradeNotifications":true,"EnableMessageBoardPostsNotifications":true,"EnableSlowDraftPickNotifications":true}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Web.HttpPostedFile' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Web.HttpPostedFile' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TeamSettingsInputModel'.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>