POST api/User/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPassword
NameDescriptionTypeAdditional information
UserId

string

None.

Code

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "code": "sample string 2",
  "newPassword": "sample string 3"
}

text/html

Sample:
{"userId":"sample string 1","code":"sample string 2","newPassword":"sample string 3"}

application/xml, text/xml

Sample:
<ResetPassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.MeetingBananaApi">
  <Code>sample string 2</Code>
  <NewPassword>sample string 3</NewPassword>
  <UserId>sample string 1</UserId>
</ResetPassword>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Result

ApiResult

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {
    "resultCode": 1,
    "resultMessage": "sample string 2"
  }
}

text/html

Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"}}

application/xml, text/xml

Sample:
<CommonModels.APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Models">
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
    <d2p1:ResultCode>1</d2p1:ResultCode>
    <d2p1:ResultMessage>sample string 2</d2p1:ResultMessage>
  </Result>
</CommonModels.APIResponse>