GET api/Flats/Details/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}
text/xml
Sample:
<tblFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjWebApiMaint.Models"> <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>