POST api/Account/GetJoinLeagueRequestInfo
Request Information
URI Parameters
None.
Body Parameters
JoinLeagueRequestInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionID | string |
None. |
|
| LeagueID | integer |
None. |
|
| SuperChopContestLeague | boolean |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| PrivateLeagueJoinLeagueRef | string |
None. |
|
| TeamName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SessionID": "sample string 1",
"LeagueID": 2,
"SuperChopContestLeague": true,
"Longitude": 4.1,
"Latitude": 5.1,
"PrivateLeagueJoinLeagueRef": "sample string 6",
"TeamName": "sample string 7"
}
text/html
Sample:
{"SessionID":"sample string 1","LeagueID":2,"SuperChopContestLeague":true,"Longitude":4.1,"Latitude":5.1,"PrivateLeagueJoinLeagueRef":"sample string 6","TeamName":"sample string 7"}
application/xml, text/xml
Sample:
<JoinLeagueRequestInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <Latitude>5.1</Latitude> <LeagueID>2</LeagueID> <Longitude>4.1</Longitude> <PrivateLeagueJoinLeagueRef>sample string 6</PrivateLeagueJoinLeagueRef> <SessionID>sample string 1</SessionID> <SuperChopContestLeague>true</SuperChopContestLeague> <TeamName>sample string 7</TeamName> </JoinLeagueRequestInputModel>
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>