POST api/Team/ExecuteLineupAction
Request Information
URI Parameters
None.
Body Parameters
LineupActionInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LeagueID | integer |
None. |
|
| TeamID | integer |
None. |
|
| ActionType | ActionType |
None. |
|
| PlayerID | string |
None. |
|
| ActionPlayerSlotLabel | string |
None. |
|
| ActionPlayerIsStarter | boolean |
None. |
|
| TargetSlotLabel | string |
None. |
|
| PlayerIDSwappingWith | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeagueID": 1,
"TeamID": 2,
"ActionType": 0,
"PlayerID": "sample string 3",
"ActionPlayerSlotLabel": "sample string 4",
"ActionPlayerIsStarter": true,
"TargetSlotLabel": "sample string 6",
"PlayerIDSwappingWith": "sample string 7"
}
text/html
Sample:
{"LeagueID":1,"TeamID":2,"ActionType":0,"PlayerID":"sample string 3","ActionPlayerSlotLabel":"sample string 4","ActionPlayerIsStarter":true,"TargetSlotLabel":"sample string 6","PlayerIDSwappingWith":"sample string 7"}
application/xml, text/xml
Sample:
<LineupActionInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <ActionPlayerIsStarter>true</ActionPlayerIsStarter> <ActionPlayerSlotLabel>sample string 4</ActionPlayerSlotLabel> <ActionType>NoAction</ActionType> <LeagueID>1</LeagueID> <PlayerID>sample string 3</PlayerID> <PlayerIDSwappingWith>sample string 7</PlayerIDSwappingWith> <TargetSlotLabel>sample string 6</TargetSlotLabel> <TeamID>2</TeamID> </LineupActionInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional 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>