POST api/Department/Update
Documentation for 'Update'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| obj | Documentation for 'obj'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"RowNumber": 1,
"DepartmentId": "sample string 2",
"DepartmentCode": "sample string 3",
"DepartmentName": "sample string 4",
"DeleteFlag": 1,
"DepartmentType": 1,
"FoundingDate": "2026-04-14T22:39:36.1436765+07:00",
"DepartmentComment": "sample string 5",
"Avatar": "sample string 6",
"DeppartmentTrainningSystemId": "sample string 7",
"UserLevel": "sample string 8",
"CountTeacher": 9,
"VocationList": "sample string 10"
}
text/xml
Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lib.DTO"> <Avatar>sample string 6</Avatar> <CountTeacher>9</CountTeacher> <DeleteFlag>1</DeleteFlag> <DepartmentCode>sample string 3</DepartmentCode> <DepartmentComment>sample string 5</DepartmentComment> <DepartmentId>sample string 2</DepartmentId> <DepartmentName>sample string 4</DepartmentName> <DepartmentType>1</DepartmentType> <DeppartmentTrainningSystemId>sample string 7</DeppartmentTrainningSystemId> <FoundingDate>2026-04-14T22:39:36.1436765+07:00</FoundingDate> <RowNumber>1</RowNumber> <UserLevel>sample string 8</UserLevel> <VocationList>sample string 10</VocationList> </Department>
application/x-www-form-urlencoded
Sample:
Sample not available.