GET api/PopulationDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PopulationDetailsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Type

string

None.

Address

string

None.

ReligionId

integer

None.

WardNo

integer

None.

LanguageId

integer

None.

IsAnyBusiness

boolean

None.

IsMarried

boolean

None.

HouseOwnerDetailId

integer

None.

ageGroupDataList

Collection of AgeGroupData

None.

casteGroupDataList

Collection of CasteGroupDataModel

None.

occupationGroupDataList

Collection of OccupationGroupDataModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Type": "sample string 3",
    "Address": "sample string 4",
    "ReligionId": 5,
    "WardNo": 6,
    "LanguageId": 7,
    "IsAnyBusiness": true,
    "IsMarried": true,
    "HouseOwnerDetailId": 10,
    "ageGroupDataList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      }
    ],
    "casteGroupDataList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      }
    ],
    "occupationGroupDataList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      }
    ]
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Type": "sample string 3",
    "Address": "sample string 4",
    "ReligionId": 5,
    "WardNo": 6,
    "LanguageId": 7,
    "IsAnyBusiness": true,
    "IsMarried": true,
    "HouseOwnerDetailId": 10,
    "ageGroupDataList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      }
    ],
    "casteGroupDataList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      }
    ],
    "occupationGroupDataList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Male": 3,
        "Female": 4,
        "Other": 5,
        "Total": 6
      }
    ]
  }
]

text/xml

Sample:
<ArrayOfPopulationDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models">
  <PopulationDetailsViewModel>
    <Address>sample string 4</Address>
    <HouseOwnerDetailId>10</HouseOwnerDetailId>
    <Id>1</Id>
    <IsAnyBusiness>true</IsAnyBusiness>
    <IsMarried>true</IsMarried>
    <LanguageId>7</LanguageId>
    <Name>sample string 2</Name>
    <ReligionId>5</ReligionId>
    <Type>sample string 3</Type>
    <WardNo>6</WardNo>
    <ageGroupDataList>
      <PopulationDetailsViewModel.AgeGroupData>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.AgeGroupData>
      <PopulationDetailsViewModel.AgeGroupData>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.AgeGroupData>
    </ageGroupDataList>
    <casteGroupDataList>
      <PopulationDetailsViewModel.CasteGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.CasteGroupDataModel>
      <PopulationDetailsViewModel.CasteGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.CasteGroupDataModel>
    </casteGroupDataList>
    <occupationGroupDataList>
      <PopulationDetailsViewModel.OccupationGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.OccupationGroupDataModel>
      <PopulationDetailsViewModel.OccupationGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.OccupationGroupDataModel>
    </occupationGroupDataList>
  </PopulationDetailsViewModel>
  <PopulationDetailsViewModel>
    <Address>sample string 4</Address>
    <HouseOwnerDetailId>10</HouseOwnerDetailId>
    <Id>1</Id>
    <IsAnyBusiness>true</IsAnyBusiness>
    <IsMarried>true</IsMarried>
    <LanguageId>7</LanguageId>
    <Name>sample string 2</Name>
    <ReligionId>5</ReligionId>
    <Type>sample string 3</Type>
    <WardNo>6</WardNo>
    <ageGroupDataList>
      <PopulationDetailsViewModel.AgeGroupData>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.AgeGroupData>
      <PopulationDetailsViewModel.AgeGroupData>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.AgeGroupData>
    </ageGroupDataList>
    <casteGroupDataList>
      <PopulationDetailsViewModel.CasteGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.CasteGroupDataModel>
      <PopulationDetailsViewModel.CasteGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.CasteGroupDataModel>
    </casteGroupDataList>
    <occupationGroupDataList>
      <PopulationDetailsViewModel.OccupationGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.OccupationGroupDataModel>
      <PopulationDetailsViewModel.OccupationGroupDataModel>
        <Female>4</Female>
        <Id>1</Id>
        <Male>3</Male>
        <Name>sample string 2</Name>
        <Other>5</Other>
        <Total>6</Total>
      </PopulationDetailsViewModel.OccupationGroupDataModel>
    </occupationGroupDataList>
  </PopulationDetailsViewModel>
</ArrayOfPopulationDetailsViewModel>