GET me/views/joinasfreeagent?league={league}&division={division}
Get informations to render the view for join free agent in a division
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
league | the id of the league want to join free agent in |
Define this parameter in the request URI. |
division | the id of the division want to join free agent in |
Define this parameter in the request URI. |
Response Information
return an object including the infromation to render the view
Response body formats
application/json, text/json
Sample:
{ "waiver": { "show": true, "statement": "sample string 2", "content": "sample string 3" }, "show_email": true, "sid": { "show": true, "text": "sample string 2", "label": "sample string 3", "char_type": 0, "min_num_char": 4, "max_num_char": 5, "extra_info": "sample string 6" }, "phone": { "show": true, "value": "sample string 2", "carrier_id": 3, "carrier_list": [ { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" }, { "id": "sample string 1", "name": "sample string 2" } ], "allow_sms_message": true } }
application/xml, text/xml
Sample:
<JoinFreeAgentVMDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output"> <phone> <allow_sms_message>true</allow_sms_message> <carrier_id>3</carrier_id> <carrier_list xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> <d3p1:BasicInfoDto> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </d3p1:BasicInfoDto> </carrier_list> <show>true</show> <value>sample string 2</value> </phone> <show_email>true</show_email> <sid> <char_type>AnyCharacters</char_type> <extra_info>sample string 6</extra_info> <label>sample string 3</label> <max_num_char>5</max_num_char> <min_num_char>4</min_num_char> <show>true</show> <text>sample string 2</text> </sid> <waiver> <content>sample string 3</content> <show>true</show> <statement>sample string 2</statement> </waiver> </JoinFreeAgentVMDto>