GET ops/housing/houses/{id}/maintenanceAudits

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MaintenanceAuditGET
NameDescriptionTypeAdditional information
HouseId

integer

None.

TenantId

integer

None.

OccupantCount

integer

None.

HousingType

string

None.

Id

integer

None.

AuditDate

date

None.

Status

Status

None.

Modified

date

None.

ModifiedBy

UserBasicGET

None.

AuditBy

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "houseId": 1,
    "tenantId": 1,
    "occupantCount": 2,
    "housingType": "sample string 3",
    "id": 4,
    "auditDate": "2024-02-21T07:13:47.6935648+02:00",
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "modified": "2024-02-21T07:13:47.6935648+02:00",
    "modifiedBy": {
      "firstName": "sample string 1",
      "id": 2,
      "lastName": "sample string 3",
      "uid": "sample string 4",
      "username": "sample string 5"
    },
    "auditBy": "sample string 7"
  },
  {
    "houseId": 1,
    "tenantId": 1,
    "occupantCount": 2,
    "housingType": "sample string 3",
    "id": 4,
    "auditDate": "2024-02-21T07:13:47.6935648+02:00",
    "status": {
      "id": 1,
      "name": "sample string 2"
    },
    "modified": "2024-02-21T07:13:47.6935648+02:00",
    "modifiedBy": {
      "firstName": "sample string 1",
      "id": 2,
      "lastName": "sample string 3",
      "uid": "sample string 4",
      "username": "sample string 5"
    },
    "auditBy": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMaintenanceAuditGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <MaintenanceAuditGET>
    <AuditBy xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">sample string 7</AuditBy>
    <AuditDate xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">2024-02-21T07:13:47.6935648+02:00</AuditDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">4</Id>
    <Modified xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">2024-02-21T07:13:47.6935648+02:00</Modified>
    <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">
      <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>
    <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Status>
    <HouseId>1</HouseId>
    <HousingType>sample string 3</HousingType>
    <OccupantCount>2</OccupantCount>
    <TenantId>1</TenantId>
  </MaintenanceAuditGET>
  <MaintenanceAuditGET>
    <AuditBy xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">sample string 7</AuditBy>
    <AuditDate xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">2024-02-21T07:13:47.6935648+02:00</AuditDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">4</Id>
    <Modified xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">2024-02-21T07:13:47.6935648+02:00</Modified>
    <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">
      <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>
    <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Status>
    <HouseId>1</HouseId>
    <HousingType>sample string 3</HousingType>
    <OccupantCount>2</OccupantCount>
    <TenantId>1</TenantId>
  </MaintenanceAuditGET>
</ArrayOfMaintenanceAuditGET>