POST api/Account/Update
Request Information
URI Parameters
None.
Body Parameters
HeadofAccModel| Name | Description | Type | Additional information |
|---|---|---|---|
| account_name | string |
None. |
|
| branch_id | integer |
None. |
|
| isDebit | boolean |
None. |
|
| isCredit | boolean |
None. |
|
| id | integer |
None. |
|
| text | string |
None. |
|
| is_active | boolean |
None. |
|
| created_by | integer |
None. |
|
| created_date | date |
None. |
|
| updated_by | integer |
None. |
|
| updated_date | date |
None. |
|
| TotalRows | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"account_name": "sample string 1",
"branch_id": 2,
"isDebit": true,
"isCredit": true,
"id": 5,
"text": "sample string 6",
"is_active": true,
"created_by": 8,
"created_date": "2025-12-18T16:09:46.531458+05:00",
"updated_by": 10,
"updated_date": "2025-12-18T16:09:46.531458+05:00",
"TotalRows": 12
}
application/xml, text/xml
Sample:
<HeadofAccModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OneLaundry.Models"> <TotalRows xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">12</TotalRows> <created_by xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">8</created_by> <created_date xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">2025-12-18T16:09:46.531458+05:00</created_date> <id xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">5</id> <is_active xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">true</is_active> <text xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">sample string 6</text> <updated_by xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">10</updated_by> <updated_date xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">2025-12-18T16:09:46.531458+05:00</updated_date> <account_name>sample string 1</account_name> <branch_id>2</branch_id> <isCredit>true</isCredit> <isDebit>true</isDebit> </HeadofAccModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.