POST api/Leader/SaveLeader
Request Information
URI Parameters
None.
Body Parameters
LeaderModal| Name | Description | Type | Additional 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:42.89945+00:00",
"UpdatedAt": "2026-05-27T17:31:42.89945+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:42.89945+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:42.89945+00:00</UpdatedAt> </LeaderModal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
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" />