POST api/AccountB2C

Get an account by Username and Password

Request Information

URI Parameters

None.

Body Parameters

SessionLoginData
NameDescriptionTypeAdditional information
UserName

The user name / login email of the donor account

string

None.

Password

The password of the donor accouhnt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<SessionLoginData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caf.DonorSystem.Mobile.WebApi.Models">
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</SessionLoginData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The account object

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.