GET me/freeagents/canjoin?league={league}&division={division}
check if this member can join as free agent in a division.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| league | the id of the league which the division belong to |
Define this parameter in the request URI. |
| division | the id of the division |
Define this parameter in the request URI. |
Response Information
true means you can join as free agent; false means you can't ,and will return msg_code and msg_desc
Response body formats
application/json, text/json
Sample:
{
"return_value": true,
"code": 2,
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<BooleanDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <code>2</code> <message>sample string 3</message> <return_value>true</return_value> </BooleanDto>