POST api/v1/MyProfileUserPassword/Add

Request Information

URI Parameters

None.

Body Parameters

UserInfoPasswordModel
NameDescriptionTypeAdditional information
Id

string

None.

UserId

string

None.

Msg

string

None.

LastDayUpdatePassword

date

None.

IsNeedChangePassword

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "UserId": "sample string 2",
  "Msg": "sample string 3",
  "LastDayUpdatePassword": "2026-03-06T08:50:20.683036+07:00",
  "IsNeedChangePassword": true
}

application/xml, text/xml

Sample:
<UserInfoPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.APIService.Shared.Models">
  <Id>sample string 1</Id>
  <IsNeedChangePassword>true</IsNeedChangePassword>
  <LastDayUpdatePassword>2026-03-06T08:50:20.683036+07:00</LastDayUpdatePassword>
  <Msg>sample string 3</Msg>
  <UserId>sample string 2</UserId>
</UserInfoPasswordModel>

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

Response Information

Resource Description

EzyResultObjectOfUserInfoPasswordModel
NameDescriptionTypeAdditional information
Data

UserInfoPasswordModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "UserId": "sample string 2",
    "Msg": "sample string 3",
    "LastDayUpdatePassword": "2026-03-06T08:50:20.6840353+07:00",
    "IsNeedChangePassword": true
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfUserInfoPasswordModel7Ey2AL_PT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ezy.APIService.Shared.Models">
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsNeedChangePassword>true</d2p1:IsNeedChangePassword>
    <d2p1:LastDayUpdatePassword>2026-03-06T08:50:20.6840353+07:00</d2p1:LastDayUpdatePassword>
    <d2p1:Msg>sample string 3</d2p1:Msg>
    <d2p1:UserId>sample string 2</d2p1:UserId>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfUserInfoPasswordModel7Ey2AL_PT>