POST api/Department

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "DEP_ID": 1,
  "DEP_NAME": "sample string 2",
  "DESCRIP": "sample string 3",
  "BU_ID": 1,
  "BU_NAME": "sample string 4",
  "DEP_MANAGER": 1,
  "FILE_NO": 1,
  "FIRST_NAME": "sample string 5"
}

application/xml, text/xml

Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Resource">
  <BU_ID>1</BU_ID>
  <BU_NAME>sample string 4</BU_NAME>
  <DEP_ID>1</DEP_ID>
  <DEP_MANAGER>1</DEP_MANAGER>
  <DEP_NAME>sample string 2</DEP_NAME>
  <DESCRIP>sample string 3</DESCRIP>
  <FILE_NO>1</FILE_NO>
  <FIRST_NAME>sample string 5</FIRST_NAME>
</Department>

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 'Department'.