POST api/v1/membergames/invite
Invites the specified members Beta 0.4: Initially implemented needs to be tested in detail
Request Information
URI Parameters
None.
Body Parameters
InviteToMemberGameModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberGameId | integer |
Required |
|
| MembersToInvite | Collection of integer |
None. |
|
| PodsToInvite | Collection of integer |
None. |
|
| InvitationMessage | string |
None. |
|
| EmailsCsv | string |
Matching regular expression pattern: ^([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)+(([\r\n]*)?)+(,[ ]?([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+))*$ |
|
| PreviousMemberGameToInvite | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"memberGameId": 1,
"membersToInvite": [
1,
2
],
"podsToInvite": [
1,
2
],
"invitationMessage": "sample string 2",
"emailsCsv": "sample string 3",
"previousMemberGameToInvite": [
1,
2
]
}
text/html, text/plain
Sample:
{"memberGameId":1,"membersToInvite":[1,2],"podsToInvite":[1,2],"invitationMessage":"sample string 2","emailsCsv":"sample string 3","previousMemberGameToInvite":[1,2]}
application/xml, text/xml
Sample:
<InviteToMemberGameModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.Models">
<EmailsCsv>sample string 3</EmailsCsv>
<InvitationMessage>sample string 2</InvitationMessage>
<MemberGameId>1</MemberGameId>
<MembersToInvite xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</MembersToInvite>
<PodsToInvite xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</PodsToInvite>
<PreviousMemberGameToInvite xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</PreviousMemberGameToInvite>
</InviteToMemberGameModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, text/plain, application/xml, text/xml
Sample:
Sample not available.