GET API/ChangePassword/GetUserpassword/{UserId}/{HotelId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

integer

Required

HotelId

integer

Required

Body Parameters

ChangePassword
NameDescriptionTypeAdditional information
Id

integer

None.

Password

string

None.

HotelId

integer

None.

UserId

integer

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Password": "sample string 2",
  "HotelId": 3,
  "UserId": 4,
  "NewPassword": "sample string 5"
}

application/xml, text/xml

Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <HotelId>3</HotelId>
  <Id>1</Id>
  <NewPassword>sample string 5</NewPassword>
  <Password>sample string 2</Password>
  <UserId>4</UserId>
</ChangePassword>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ChangePassword
NameDescriptionTypeAdditional information
Id

integer

None.

Password

string

None.

HotelId

integer

None.

UserId

integer

None.

NewPassword

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Password": "sample string 2",
    "HotelId": 3,
    "UserId": 4,
    "NewPassword": "sample string 5"
  },
  {
    "Id": 1,
    "Password": "sample string 2",
    "HotelId": 3,
    "UserId": 4,
    "NewPassword": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <ChangePassword>
    <HotelId>3</HotelId>
    <Id>1</Id>
    <NewPassword>sample string 5</NewPassword>
    <Password>sample string 2</Password>
    <UserId>4</UserId>
  </ChangePassword>
  <ChangePassword>
    <HotelId>3</HotelId>
    <Id>1</Id>
    <NewPassword>sample string 5</NewPassword>
    <Password>sample string 2</Password>
    <UserId>4</UserId>
  </ChangePassword>
</ArrayOfChangePassword>