GET api/HGDivision

Gets list of all available divisions in the system.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Gets list of all available divisions in the system.

Division
NameDescriptionTypeAdditional information
DivisionId

It represents the label of a division. By default all divisions would be ordered by this property. We can leverage this property to render divisions at left side menu in IOS app.

string

None.

DivisionName

Ir represents the description/meaningful name of a division.

string

None.

Response Formats

application/json

Sample:
{
  "DivisionName": "sample string 2",
  "DivisionId": "sample string 1"
}

application/xml, text/xml

Sample:
<Division xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.BusinessObjects.Shared">
  <DivisionId>sample string 1</DivisionId>
  <DivisionName>sample string 2</DivisionName>
</Division>