POST Member/Update

Update data member. Please encript password with SHA256 and then encript value with MD5.

Request Information

URI Parameters

None.

Body Parameters

EditMemberParameterModel
NameDescriptionTypeAdditional information
Gender

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Phone

string

None.

Address

string

None.

Birthdate

string

None.

PlaceOfBirth

string

None.

ProfilePicture

string

None.

Password

string

None.

ZipCode

string

None.

ProvinceID

integer

None.

RegionID

integer

None.

DistrictID

integer

None.

SubDistrictID

integer

None.

IsNewsletter

boolean

None.

ESignature

string

None.

Consent

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Gender": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "Phone": "sample string 5",
  "Address": "sample string 6",
  "Birthdate": "sample string 7",
  "PlaceOfBirth": "sample string 8",
  "ProfilePicture": "sample string 9",
  "Password": "sample string 10",
  "ZipCode": "sample string 11",
  "ProvinceID": 1,
  "RegionID": 1,
  "DistrictID": 1,
  "SubDistrictID": 1,
  "IsNewsletter": true,
  "ESignature": "sample string 13",
  "Consent": true
}

Response Information

Resource Description

ResultModelOfMemberModel
NameDescriptionTypeAdditional information
StatusCode

string

None.

StatusMessage

string

None.

Value

MemberModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "StatusMessage": "sample string 2",
  "Value": {
    "Gender": "sample string 1",
    "Address": "sample string 2",
    "Birthdate": "sample string 3",
    "PlaceOfBirth": "sample string 4",
    "ProfilePicture": "sample string 5",
    "IsApproved": true,
    "IsActive": true,
    "IsBlacklist": true,
    "ProvinceID": 1,
    "RegionID": 1,
    "DistrictID": 1,
    "SubDistrictID": 1,
    "ZipCode": "sample string 9",
    "AcceptDate": "2024-11-17T01:28:49.2956958+07:00",
    "ID": 10,
    "FirstName": "sample string 11",
    "LastName": "sample string 12",
    "Email": "sample string 13",
    "Phone": "sample string 14"
  }
}