GET ops/housing/MaintenanceAudits/{id}?full={full}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

full

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

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-11-20T21:08:00.2902413+00:00",
  "status": {
    "id": 1,
    "name": "sample string 2"
  },
  "modified": "2024-11-20T21:08:00.2902413+00: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:
<MaintenanceAuditGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <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-11-20T21:08:00.2902413+00: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-11-20T21:08:00.2902413+00:00</Modified>
  <ModifiedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">
    <d2p1:FirstName>sample string 1</d2p1:FirstName>
    <d2p1:Id>2</d2p1:Id>
    <d2p1:LastName>sample string 3</d2p1:LastName>
    <d2p1:Uid>sample string 4</d2p1:Uid>
    <d2p1:Username>sample string 5</d2p1:Username>
  </ModifiedBy>
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Status>
  <HouseId>1</HouseId>
  <HousingType>sample string 3</HousingType>
  <OccupantCount>2</OccupantCount>
  <TenantId>1</TenantId>
</MaintenanceAuditGET>