POST api/Draft/GetDraftStrategyLeagueFormatAssignmentVM
Request Information
URI Parameters
None.
Body Parameters
TeamAssignmentInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteUserID | integer |
None. |
|
| DraftStrategyID | integer |
None. |
|
| LeagueTypeID | integer |
None. |
|
| Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SiteUserID": 1,
"DraftStrategyID": 2,
"LeagueTypeID": 3,
"Active": true
}
text/html
Sample:
{"SiteUserID":1,"DraftStrategyID":2,"LeagueTypeID":3,"Active":true}
application/xml, text/xml
Sample:
<TeamAssignmentInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DraftPilotWebAPI.Models.InputModels"> <Active>true</Active> <DraftStrategyID>2</DraftStrategyID> <LeagueTypeID>3</LeagueTypeID> <SiteUserID>1</SiteUserID> </TeamAssignmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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/DraftPilot.BusinessObjects"> <Data /> <Message>sample string 1</Message> <ResultCode>4</ResultCode> <Status>true</Status> </ResponseModel>