GET ops/housing/houses/{houseId}/leases
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
houseId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LeaseGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Rent | decimal number |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
HouseId | integer |
None. |
|
Tenant | TenantGET |
None. |
|
TenantType | TenantTypeGET |
None. |
|
Modified | date |
None. |
|
Status | Status |
None. |
|
ModifiedBy | UserBasicGET |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "rent": 2.0, "startDate": "2024-11-20T21:09:47.5705353+00:00", "endDate": "2024-11-20T21:09:47.5705353+00:00", "houseId": 5, "tenant": { "id": 1, "rsaId": "sample string 2", "fullName": "sample string 3", "email": "sample string 4", "contactNo": "sample string 5", "fringeBenifitTotal": 1.0, "modified": "2024-11-20T21:09:47.5705353+00:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }, "tenantType": { "id": 1, "description": "sample string 2" }, "modified": "2024-11-20T21:09:47.5705353+00:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }, { "id": 1, "rent": 2.0, "startDate": "2024-11-20T21:09:47.5705353+00:00", "endDate": "2024-11-20T21:09:47.5705353+00:00", "houseId": 5, "tenant": { "id": 1, "rsaId": "sample string 2", "fullName": "sample string 3", "email": "sample string 4", "contactNo": "sample string 5", "fringeBenifitTotal": 1.0, "modified": "2024-11-20T21:09:47.5705353+00:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }, "tenantType": { "id": 1, "description": "sample string 2" }, "modified": "2024-11-20T21:09:47.5705353+00:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } } ]
application/xml, text/xml
Sample:
<ArrayOfLeaseGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <LeaseGET> <EndDate>2024-11-20T21:09:47.5705353+00:00</EndDate> <HouseId>5</HouseId> <Id>1</Id> <Modified>2024-11-20T21:09:47.5705353+00:00</Modified> <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:FirstName>sample string 1</d3p1:FirstName> <d3p1:Id>2</d3p1:Id> <d3p1:LastName>sample string 3</d3p1:LastName> <d3p1:Uid>sample string 4</d3p1:Uid> <d3p1:Username>sample string 5</d3p1:Username> </ModifiedBy> <Rent>2</Rent> <StartDate>2024-11-20T21:09:47.5705353+00:00</StartDate> <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Status> <Tenant> <ContactNo>sample string 5</ContactNo> <Email>sample string 4</Email> <FringeBenifitTotal>1</FringeBenifitTotal> <FullName>sample string 3</FullName> <Id>1</Id> <Modified>2024-11-20T21:09:47.5705353+00:00</Modified> <ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d4p1:FirstName>sample string 1</d4p1:FirstName> <d4p1:Id>2</d4p1:Id> <d4p1:LastName>sample string 3</d4p1:LastName> <d4p1:Uid>sample string 4</d4p1:Uid> <d4p1:Username>sample string 5</d4p1:Username> </ModifiedBy> <RsaId>sample string 2</RsaId> <Status xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 2</d4p1:Name> </Status> </Tenant> <TenantType> <Description>sample string 2</Description> <Id>1</Id> </TenantType> </LeaseGET> <LeaseGET> <EndDate>2024-11-20T21:09:47.5705353+00:00</EndDate> <HouseId>5</HouseId> <Id>1</Id> <Modified>2024-11-20T21:09:47.5705353+00:00</Modified> <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:FirstName>sample string 1</d3p1:FirstName> <d3p1:Id>2</d3p1:Id> <d3p1:LastName>sample string 3</d3p1:LastName> <d3p1:Uid>sample string 4</d3p1:Uid> <d3p1:Username>sample string 5</d3p1:Username> </ModifiedBy> <Rent>2</Rent> <StartDate>2024-11-20T21:09:47.5705353+00:00</StartDate> <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Status> <Tenant> <ContactNo>sample string 5</ContactNo> <Email>sample string 4</Email> <FringeBenifitTotal>1</FringeBenifitTotal> <FullName>sample string 3</FullName> <Id>1</Id> <Modified>2024-11-20T21:09:47.5705353+00:00</Modified> <ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d4p1:FirstName>sample string 1</d4p1:FirstName> <d4p1:Id>2</d4p1:Id> <d4p1:LastName>sample string 3</d4p1:LastName> <d4p1:Uid>sample string 4</d4p1:Uid> <d4p1:Username>sample string 5</d4p1:Username> </ModifiedBy> <RsaId>sample string 2</RsaId> <Status xmlns:d4p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 2</d4p1:Name> </Status> </Tenant> <TenantType> <Description>sample string 2</Description> <Id>1</Id> </TenantType> </LeaseGET> </ArrayOfLeaseGET>