POST api/Auth/SendNewPassword

Sends new password to the email.... not sure if safe(potential security leak)

Request Information

URI Parameters

None.

Body Parameters

SendNewPasswordModel
NameDescriptionTypeAdditional information
UserName

Valid Username

string

Required

Email

Valid Email that belongs to the user

string

Required

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<SendNewPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models">
  <Email>sample string 2</Email>
  <UserName>sample string 1</UserName>
</SendNewPasswordModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.