GET api/Account/ManageInfo?returnUrl={returnUrl}&generateState={generateState}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
returnUrl

string

Required

generateState

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ManageInfoViewModel
NameDescriptionTypeAdditional information
LocalLoginProvider

string

None.

Email

string

None.

Logins

Collection of UserLoginInfoViewModel

None.

ExternalLoginProviders

Collection of ExternalLoginViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "LocalLoginProvider": "sample string 1",
  "Email": "sample string 2",
  "Logins": [
    {
      "LoginProvider": "sample string 1",
      "ProviderKey": "sample string 2"
    },
    {
      "LoginProvider": "sample string 1",
      "ProviderKey": "sample string 2"
    }
  ],
  "ExternalLoginProviders": [
    {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "State": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "State": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ManageInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abbott.HR.Training.WebApi.Models">
  <Email>sample string 2</Email>
  <ExternalLoginProviders>
    <ExternalLoginViewModel>
      <Name>sample string 1</Name>
      <State>sample string 3</State>
      <Url>sample string 2</Url>
    </ExternalLoginViewModel>
    <ExternalLoginViewModel>
      <Name>sample string 1</Name>
      <State>sample string 3</State>
      <Url>sample string 2</Url>
    </ExternalLoginViewModel>
  </ExternalLoginProviders>
  <LocalLoginProvider>sample string 1</LocalLoginProvider>
  <Logins>
    <UserLoginInfoViewModel>
      <LoginProvider>sample string 1</LoginProvider>
      <ProviderKey>sample string 2</ProviderKey>
    </UserLoginInfoViewModel>
    <UserLoginInfoViewModel>
      <LoginProvider>sample string 1</LoginProvider>
      <ProviderKey>sample string 2</ProviderKey>
    </UserLoginInfoViewModel>
  </Logins>
</ManageInfoViewModel>