POST api/department/list

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DepartmentResponse
NameDescriptionTypeAdditional information
flag

integer

None.

Message

string

None.

Data

Collection of DepartmentClass

None.

Response Formats

application/json, text/json

Sample:
{
  "flag": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "ID": 1,
      "DEPARTMENT": "sample string 2",
      "IS_INACTIVE": true
    },
    {
      "ID": 1,
      "DEPARTMENT": "sample string 2",
      "IS_INACTIVE": true
    }
  ]
}

application/xml, text/xml

Sample:
<DepartmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <Data>
    <DepartmentClass>
      <DEPARTMENT>sample string 2</DEPARTMENT>
      <ID>1</ID>
      <IS_INACTIVE>true</IS_INACTIVE>
    </DepartmentClass>
    <DepartmentClass>
      <DEPARTMENT>sample string 2</DEPARTMENT>
      <ID>1</ID>
      <IS_INACTIVE>true</IS_INACTIVE>
    </DepartmentClass>
  </Data>
  <Message>sample string 2</Message>
  <flag>1</flag>
</DepartmentResponse>