POST me/teams/{id}/invite
send invitation to members to join his team by team captain or co-captian
Request Information
Parameters
| Name | Description | Additional information | 
|---|---|---|
| id | the id of the team  | 
                
                             Define this parameter in the request URI.  | 
            
| invitations | an object include the information of invitations,
            message - message to invite members;
            emails - a list of email adress of members who are invited. | 
                
                             Define this parameter in the request body.  | 
            
Request body formats
application/json, text/json
            Sample:
        
{
  "message": "sample string 1",
  "emails": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}
        application/xml, text/xml
            Sample:
        
<InviteMemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input">
  <emails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </emails>
  <message>sample string 1</message>
</InviteMemberDto>
        application/x-www-form-urlencoded
            Sample:
    
        Sample not available.
multipart/form-data
            Sample:
    
Sample not available.
Response Information
return all emails that the invitation were sent to
Response body formats
application/json, text/json
            Sample:
        [ "sample 1", "sample 2" ]
application/xml, text/xml
            Sample:
        <ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample 1</string> <string>sample 2</string> </ArrayOfstring>
multipart/form-data
            Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0]" sample 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1]" sample 2 --MultipartDataMediaFormatterBoundary1q2w3e--