POST api/UserManagement/UpdateCsrsPassword

Request Information

URI Parameters

None.

Body Parameters

UserBindingModel
NameDescriptionTypeAdditional information
FirstName

string

Required

LastName

string

Required

Email

string

Required

UserName

string

None.

LastTimePasswordChanged

date

None.

MarketId

integer

None.

HospitalId

integer

None.

Active

boolean

None.

OnlyCsr

boolean

None.

Password

string

String length: inclusive between 6 and 100

Roles

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "email": "sample string 3",
  "userName": "sample string 4",
  "lastTimePasswordChanged": "2023-02-03T10:23:42.9021129+00:00",
  "marketId": 1,
  "hospitalId": 1,
  "active": true,
  "onlyCsr": true,
  "password": "sample string 8",
  "roles": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<UserBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <Active>true</Active>
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <HospitalId>1</HospitalId>
  <LastName>sample string 2</LastName>
  <LastTimePasswordChanged>2023-02-03T10:23:42.9021129+00:00</LastTimePasswordChanged>
  <MarketId>1</MarketId>
  <OnlyCsr>true</OnlyCsr>
  <Password>sample string 8</Password>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <UserName>sample string 4</UserName>
</UserBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.