GET department/departmentDescriptions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DepartmentDescriptionEntity
NameDescriptionTypeAdditional information
TenantId

integer

None.

DeptId

integer

None.

Description

string

None.

Enabled

boolean

None.

TOSOURCE

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TenantId": 1,
    "DeptId": 2,
    "Description": "sample string 3",
    "Enabled": true,
    "TOSOURCE": "sample string 5"
  },
  {
    "TenantId": 1,
    "DeptId": 2,
    "Description": "sample string 3",
    "Enabled": true,
    "TOSOURCE": "sample string 5"
  }
]

text/html

Sample:
[{"TenantId":1,"DeptId":2,"Description":"sample string 3","Enabled":true,"TOSOURCE":"sample string 5"},{"TenantId":1,"DeptId":2,"Description":"sample string 3","Enabled":true,"TOSOURCE":"sample string 5"}]

application/xml, text/xml

Sample:
<ArrayOfDepartmentDescriptionEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Department">
  <DepartmentDescriptionEntity>
    <DeptId>2</DeptId>
    <Description>sample string 3</Description>
    <Enabled>true</Enabled>
    <TOSOURCE>sample string 5</TOSOURCE>
    <TenantId>1</TenantId>
  </DepartmentDescriptionEntity>
  <DepartmentDescriptionEntity>
    <DeptId>2</DeptId>
    <Description>sample string 3</Description>
    <Enabled>true</Enabled>
    <TOSOURCE>sample string 5</TOSOURCE>
    <TenantId>1</TenantId>
  </DepartmentDescriptionEntity>
</ArrayOfDepartmentDescriptionEntity>