POST api/Client/ManageDepartment

Request Information

URI Parameters

None.

Body Parameters

ClientDepartment_model
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

integer

None.

DepartmentCode

string

None.

DepartmentId

integer

None.

DepartmentName

string

None.

UserId

integer

None.

CreatedBy

string

None.

DateCreated

date

None.

Mode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 2,
  "DepartmentCode": "sample string 3",
  "DepartmentId": 4,
  "DepartmentName": "sample string 5",
  "UserId": 6,
  "CreatedBy": "sample string 7",
  "DateCreated": "2026-11-21T12:46:33.9160508+08:00",
  "Mode": 9
}

application/xml, text/xml

Sample:
<Client_model.ClientDepartment_model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRModel.ViewModel.Client">
  <ClientId>2</ClientId>
  <CreatedBy>sample string 7</CreatedBy>
  <DateCreated>2026-11-21T12:46:33.9160508+08:00</DateCreated>
  <DepartmentCode>sample string 3</DepartmentCode>
  <DepartmentId>4</DepartmentId>
  <DepartmentName>sample string 5</DepartmentName>
  <Id>1</Id>
  <Mode>9</Mode>
  <UserId>6</UserId>
</Client_model.ClientDepartment_model>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.