POST api/v1/account/RegisterExternal

Registers a third party authentication. This needs to be called after logging in as the third party (i.e. Facebook, Twitter). This will associate the inviteeMember's oAuth claim with their email address and will add their member info to the system.

Request Information

URI Parameters

None.

Body Parameters

RegisterExternalBindingModel
NameDescriptionTypeAdditional information
Email

string

Required

FunName

string

Required

Matching regular expression pattern: ^([a-zA-Z0-9_.$@!%*#?&+-]){1,20}$

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "funName": "sample string 2"
}

text/html, text/plain

Sample:
{"email":"sample string 1","funName":"sample string 2"}

application/xml, text/xml

Sample:
<RegisterExternalBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.WebApi.Models">
  <Email>sample string 1</Email>
  <FunName>sample string 2</FunName>
</RegisterExternalBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.