POST api/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordParams
NameDescriptionTypeAdditional information
id

integer

None.

password

string

None.

language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "password": "sample string 2",
  "language": "sample string 3"
}

application/xml, text/xml

Sample:
<CustomClasses.ResetPasswordParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models">
  <id>1</id>
  <language>sample string 3</language>
  <password>sample string 2</password>
</CustomClasses.ResetPasswordParams>

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

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

StatusMessage

string

None.

ErrorType

string

None.

ObjectList

Object

None.

ObjectList2

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "StatusMessage": "sample string 2",
  "ErrorType": "sample string 3",
  "ObjectList": {},
  "ObjectList2": {}
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentACarService.Models">
  <ErrorType>sample string 3</ErrorType>
  <ObjectList />
  <ObjectList2 />
  <StatusCode>1</StatusCode>
  <StatusMessage>sample string 2</StatusMessage>
</ServiceResponse>