POST api/MyAccount/DashboardLogin

Allows the Dashboard User to Log in.

Request Information

URI Parameters

None.

Body Parameters

LoginAuth0Model
NameDescriptionTypeAdditional information
IdentityToken

string

Required

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<LoginAuth0Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <IdentityToken>sample string 1</IdentityToken>
</LoginAuth0Model>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DashboardUserInfoModel
NameDescriptionTypeAdditional information
CampaignId

integer

None.

CampaignName

string

None.

Token

string

None.

ExpiresIn

string

None.

Response Formats

application/json, text/json

Sample:
{
  "campaignId": 1,
  "campaignName": "sample string 2",
  "token": "sample string 3",
  "expiresIn": "sample string 4"
}

application/xml, text/xml

Sample:
<DashboardUserInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <CampaignId>1</CampaignId>
  <CampaignName>sample string 2</CampaignName>
  <ExpiresIn>sample string 4</ExpiresIn>
  <Token>sample string 3</Token>
</DashboardUserInfoModel>