POST api/Leader/UpdateLeader

Request Information

URI Parameters

None.

Body Parameters

LeaderModal
NameDescriptionTypeAdditional information
LeaderId

integer

None.

Name

string

None.

PhotoPath

string

None.

Remark

string

None.

Status

byte

None.

CreatedAt

date

None.

UpdatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LeaderId": 1,
  "Name": "sample string 2",
  "PhotoPath": "sample string 3",
  "Remark": "sample string 4",
  "Status": 64,
  "CreatedAt": "2026-05-27T17:31:48.1884965+00:00",
  "UpdatedAt": "2026-05-27T17:31:48.1884965+00:00"
}

application/xml, text/xml

Sample:
<LeaderModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnionOwnersBackend.Models">
  <CreatedAt>2026-05-27T17:31:48.1884965+00:00</CreatedAt>
  <LeaderId>1</LeaderId>
  <Name>sample string 2</Name>
  <PhotoPath>sample string 3</PhotoPath>
  <Remark>sample string 4</Remark>
  <Status>64</Status>
  <UpdatedAt>2026-05-27T17:31:48.1884965+00:00</UpdatedAt>
</LeaderModal>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />