POST api/DepartmentDetails/CreateDepartment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
DepartmentModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Department_Id": 1,
  "Department_Code": "sample string 2",
  "Department_Name": "sample string 3"
}

application/xml, text/xml

Sample:
<DepartmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <Department_Code>sample string 2</Department_Code>
  <Department_Id>1</Department_Id>
  <Department_Name>sample string 3</Department_Name>
</DepartmentModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DepartmentModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.