POST api/Master/AddDepartmentName

Request Information

URI Parameters

None.

Body Parameters

AddDepartment
NameDescriptionTypeAdditional information
department_ID

integer

None.

department_Name

string

None.

state

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "department_ID": 1,
  "department_Name": "sample string 2",
  "state": 3
}

application/xml, text/xml

Sample:
<AddDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <department_ID>1</department_ID>
  <department_Name>sample string 2</department_Name>
  <state>3</state>
</AddDepartment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Message

string

None.

Status

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": 2
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <Message>sample string 1</Message>
  <Status>2</Status>
</Response>