POST api/v1/social/invite

Invites the emails to the app Beta 0.4: Note - the destination invitation url doesn't exist yet

Request Information

URI Parameters

None.

Body Parameters

InviteToAppModel
NameDescriptionTypeAdditional information
EmailsCsv

string

Required

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-.]+))*$

InviteMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "emailsCsv": "sample string 1",
  "inviteMessage": "sample string 2"
}

text/html, text/plain

Sample:
{"emailsCsv":"sample string 1","inviteMessage":"sample string 2"}

application/xml, text/xml

Sample:
<InviteToAppModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.Models">
  <EmailsCsv>sample string 1</EmailsCsv>
  <InviteMessage>sample string 2</InviteMessage>
</InviteToAppModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Return HttpStatusCode

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, text/plain, application/xml, text/xml

Sample:

Sample not available.