GET api/Flats/Get
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of tblFlat| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| flatNo | string |
None. |
|
| flatDesc | string |
None. |
|
| buildingId | integer |
None. |
|
| ownerId | integer |
None. |
|
| totalMaintenance | decimal number |
None. |
|
| delFlag | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"flatNo": "sample string 2",
"flatDesc": "sample string 3",
"buildingId": 1,
"ownerId": 1,
"totalMaintenance": 1.0,
"delFlag": 1
},
{
"Id": 1,
"flatNo": "sample string 2",
"flatDesc": "sample string 3",
"buildingId": 1,
"ownerId": 1,
"totalMaintenance": 1.0,
"delFlag": 1
}
]
text/xml
Sample:
<ArrayOftblFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjWebApiMaint.Models">
<tblFlat>
<Id>1</Id>
<buildingId>1</buildingId>
<delFlag>1</delFlag>
<flatDesc>sample string 3</flatDesc>
<flatNo>sample string 2</flatNo>
<ownerId>1</ownerId>
<totalMaintenance>1</totalMaintenance>
</tblFlat>
<tblFlat>
<Id>1</Id>
<buildingId>1</buildingId>
<delFlag>1</delFlag>
<flatDesc>sample string 3</flatDesc>
<flatNo>sample string 2</flatNo>
<ownerId>1</ownerId>
<totalMaintenance>1</totalMaintenance>
</tblFlat>
</ArrayOftblFlat>