GET api/OrganisationChart/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OrganisationChart
NameDescriptionTypeAdditional information
Id

integer

None.

Designation

string

None.

Function

string

None.

Name

string

None.

Email

string

None.

Mobile

string

None.

Role

string

None.

Responsibility

string

None.

ParentId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Designation": "sample string 2",
    "Function": "sample string 3",
    "Name": "sample string 4",
    "Email": "sample string 5",
    "Mobile": "sample string 6",
    "Role": "sample string 7",
    "Responsibility": "sample string 8",
    "ParentId": 9
  },
  {
    "Id": 1,
    "Designation": "sample string 2",
    "Function": "sample string 3",
    "Name": "sample string 4",
    "Email": "sample string 5",
    "Mobile": "sample string 6",
    "Role": "sample string 7",
    "Responsibility": "sample string 8",
    "ParentId": 9
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrganisationChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <OrganisationChart>
    <Designation>sample string 2</Designation>
    <Email>sample string 5</Email>
    <Function>sample string 3</Function>
    <Id>1</Id>
    <Mobile>sample string 6</Mobile>
    <Name>sample string 4</Name>
    <ParentId>9</ParentId>
    <Responsibility>sample string 8</Responsibility>
    <Role>sample string 7</Role>
  </OrganisationChart>
  <OrganisationChart>
    <Designation>sample string 2</Designation>
    <Email>sample string 5</Email>
    <Function>sample string 3</Function>
    <Id>1</Id>
    <Mobile>sample string 6</Mobile>
    <Name>sample string 4</Name>
    <ParentId>9</ParentId>
    <Responsibility>sample string 8</Responsibility>
    <Role>sample string 7</Role>
  </OrganisationChart>
</ArrayOfOrganisationChart>