POST api/Bda/Login

Request Information

URI Parameters

None.

Body Parameters

BdaUserModel
NameDescriptionTypeAdditional information
LastName

string

None.

FirstName

string

None.

PhoneNumber

string

None.

UserName

string

None.

Email

string

None.

Password

string

None.

ConfirmEmail

boolean

None.

clientId

string

None.

clientSecret

string

None.

AppName

string

None.

Claims

Collection of ClaimBindingModel

None.

UserToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LastName": "sample string 1",
  "FirstName": "sample string 2",
  "PhoneNumber": "sample string 3",
  "UserName": "sample string 4",
  "Email": "sample string 5",
  "Password": "sample string 6",
  "ConfirmEmail": true,
  "clientId": "sample string 8",
  "clientSecret": "sample string 9",
  "AppName": "sample string 10",
  "Claims": [
    {
      "Type": "sample string 1",
      "Value": "sample string 2",
      "UserRole": "sample string 3"
    },
    {
      "Type": "sample string 1",
      "Value": "sample string 2",
      "UserRole": "sample string 3"
    }
  ],
  "UserToken": "sample string 11"
}

application/xml, text/xml

Sample:
<BdaUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models">
  <AppName>sample string 10</AppName>
  <Claims>
    <ClaimBindingModel>
      <Type>sample string 1</Type>
      <UserRole>sample string 3</UserRole>
      <Value>sample string 2</Value>
    </ClaimBindingModel>
    <ClaimBindingModel>
      <Type>sample string 1</Type>
      <UserRole>sample string 3</UserRole>
      <Value>sample string 2</Value>
    </ClaimBindingModel>
  </Claims>
  <ConfirmEmail>true</ConfirmEmail>
  <Email>sample string 5</Email>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 1</LastName>
  <Password>sample string 6</Password>
  <PhoneNumber>sample string 3</PhoneNumber>
  <UserName>sample string 4</UserName>
  <UserToken>sample string 11</UserToken>
  <clientId>sample string 8</clientId>
  <clientSecret>sample string 9</clientSecret>
</BdaUserModel>

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 'BdaUserModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.