POST api/Account/AddExternalLogin

Request Information

URI Parameters

None.

Body Parameters

AddExternalLoginBindingModel
NameDescriptionTypeAdditional information
ExternalAccessToken

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ExternalAccessToken": "sample string 1"
}

text/html

Sample:
{"ExternalAccessToken":"sample string 1"}

application/xml, text/xml

Sample:
<AddExternalLoginBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSushant">
  <ExternalAccessToken>sample string 1</ExternalAccessToken>
</AddExternalLoginBindingModel>

multipart/form-data

Sample:
<AddExternalLoginBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSushant"><ExternalAccessToken>sample string 1</ExternalAccessToken></AddExternalLoginBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddExternalLoginBindingModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.