POST api/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordRequest
NameDescriptionTypeAdditional information
LoginToken

string

Required

Email

string

Required

NewPassword

string

Required

SendEmail

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "LoginToken": "sample string 1",
  "Email": "sample string 2",
  "NewPassword": "sample string 3",
  "SendEmail": true
}

application/xml, text/xml

Sample:
<ResetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account">
  <Email>sample string 2</Email>
  <LoginToken>sample string 1</LoginToken>
  <NewPassword>sample string 3</NewPassword>
  <SendEmail>true</SendEmail>
</ResetPasswordRequest>

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

Response Information

Resource Description

ApiSuccessOfResetPasswordResult
NameDescriptionTypeAdditional information
Success

boolean
Data

ResetPasswordResult

Response Formats

application/json

Sample:
{
  "Success": true,
  "Data": {
    "EmailSent": true,
    "SessionKey": "04XNXj7xtJKfa5qvDDVdgM7P4iHqRlKXbzw2tHpnAtJleMKwXPTqXM5Gb0u2XHNFqxIrbdqi241sqY0Io3Uw6qgpEsmkBDEgmn1jQH3KwJI=",
    "LoggedIn": true
  }
}

text/json

Sample:
{
  "Success": true,
  "Data": {
    "EmailSent": true,
    "SessionKey": "c5n2InDoA4Pw3AwE4E+sQjjYZLry33Z9/sYDQqEdWYozAwn1YKpBtDJkyQ66IPutPKeByYKAZgQxu8Iyhc3a8fTymH3njE50Zf0IHVzdWQo=",
    "LoggedIn": true
  }
}

application/xml, text/xml

Sample:
<ApiSuccessOfResetPasswordResultgLC8bFpX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account">
    <d2p1:LoggedIn>true</d2p1:LoggedIn>
    <d2p1:SessionKey>sample string 2</d2p1:SessionKey>
    <d2p1:EmailSent>true</d2p1:EmailSent>
  </Data>
</ApiSuccessOfResetPasswordResultgLC8bFpX>