POST api/SystemManagement/UpdateEmployeePassword?pCode={pCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCode

integer

Required

Body Parameters

PassData
NameDescriptionTypeAdditional information
OldData

string

None.

NewData1

string

None.

NewData2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OldData": "sample string 1",
  "NewData1": "sample string 2",
  "NewData2": "sample string 3"
}

application/xml, text/xml

Sample:
<PassData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.SystemManagement">
  <NewData1>sample string 2</NewData1>
  <NewData2>sample string 3</NewData2>
  <OldData>sample string 1</OldData>
</PassData>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.