POST api/DraftPilot/GetDraftStrategy
Request Information
URI Parameters
None.
Body Parameters
DraftPilot_DraftStrategyInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| DraftStrategyID | integer |
None. |
|
| RankingsSetID | integer |
None. |
|
| CustomDraftStrategy | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DraftStrategyID": 1,
"RankingsSetID": 2,
"CustomDraftStrategy": true
}
text/html
Sample:
{"DraftStrategyID":1,"RankingsSetID":2,"CustomDraftStrategy":true}
application/xml, text/xml
Sample:
<DraftPilot_DraftStrategyInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <CustomDraftStrategy>true</CustomDraftStrategy> <DraftStrategyID>1</DraftStrategyID> <RankingsSetID>2</RankingsSetID> </DraftPilot_DraftStrategyInfo>
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>