GET api/admin/masters/AllOccupantTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OccupantTypeVM
NameDescriptionTypeAdditional information
OccupantTypeID

integer

None.

OccupantTypeName

string

None.

OccupantTypeDesc

string

None.

QuestionCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OccupantTypeID": 1,
    "OccupantTypeName": "sample string 2",
    "OccupantTypeDesc": "sample string 3",
    "QuestionCount": 4
  },
  {
    "OccupantTypeID": 1,
    "OccupantTypeName": "sample string 2",
    "OccupantTypeDesc": "sample string 3",
    "QuestionCount": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfOccupantTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FireNOC.Entities.CustomModels">
  <OccupantTypeVM>
    <OccupantTypeDesc>sample string 3</OccupantTypeDesc>
    <OccupantTypeID>1</OccupantTypeID>
    <OccupantTypeName>sample string 2</OccupantTypeName>
    <QuestionCount>4</QuestionCount>
  </OccupantTypeVM>
  <OccupantTypeVM>
    <OccupantTypeDesc>sample string 3</OccupantTypeDesc>
    <OccupantTypeID>1</OccupantTypeID>
    <OccupantTypeName>sample string 2</OccupantTypeName>
    <QuestionCount>4</QuestionCount>
  </OccupantTypeVM>
</ArrayOfOccupantTypeVM>