POST api/admin/departments/v1/edit
Request Information
URI Parameters
None.
Body Parameters
Department| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| description | string |
None. |
|
| image | string |
None. |
|
| last_modified | date |
None. |
|
| total_count | integer |
None. |
|
| system_generated | boolean |
None. |
|
| notifiers | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"image": "sample string 4",
"last_modified": "2025-12-06T04:32:24.7761028+00:00",
"total_count": 6,
"system_generated": true,
"notifiers": "sample string 8"
}
application/xml, text/xml
Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stocks.Models"> <description>sample string 3</description> <id>1</id> <image>sample string 4</image> <last_modified>2025-12-06T04:32:24.7761028+00:00</last_modified> <name>sample string 2</name> <notifiers>sample string 8</notifiers> <system_generated>true</system_generated> <total_count>6</total_count> </Department>
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.