PUT ops/housing/MaintenanceAudits?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
MaintenanceAuditPUTName | Description | Type | Additional information |
---|---|---|---|
HouseId | integer |
None. |
|
TenantId | integer |
None. |
|
OccupantCount | integer |
None. |
|
HousingType | string |
None. |
|
Responses | Collection of BasicResponsePUT |
None. |
|
AuditDate | date |
None. |
|
StatusId | integer |
None. |
|
UserUid | string |
None. |
|
AuditBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "houseId": 1, "tenantId": 1, "occupantCount": 2, "housingType": "sample string 3", "responses": [ { "checklistCheckId": 1, "comply": true, "nonConformanceDescription": "sample string 3", "priorityRating": 1, "actionDescription": "sample string 4" }, { "checklistCheckId": 1, "comply": true, "nonConformanceDescription": "sample string 3", "priorityRating": 1, "actionDescription": "sample string 4" } ], "auditDate": "2024-11-20T21:08:03.4777183+00:00", "statusId": 5, "userUid": "sample string 6", "auditBy": "sample string 7" }
application/xml, text/xml
Sample:
<MaintenanceAuditPUT 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:03.4777183+00:00</AuditDate> <StatusId xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">5</StatusId> <UserUid xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists">sample string 6</UserUid> <HouseId>1</HouseId> <HousingType>sample string 3</HousingType> <OccupantCount>2</OccupantCount> <Responses xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Checklists"> <d2p1:BasicResponsePUT> <d2p1:ActionDescription>sample string 4</d2p1:ActionDescription> <d2p1:ChecklistCheckId>1</d2p1:ChecklistCheckId> <d2p1:Comply>true</d2p1:Comply> <d2p1:NonConformanceDescription>sample string 3</d2p1:NonConformanceDescription> <d2p1:PriorityRating>1</d2p1:PriorityRating> </d2p1:BasicResponsePUT> <d2p1:BasicResponsePUT> <d2p1:ActionDescription>sample string 4</d2p1:ActionDescription> <d2p1:ChecklistCheckId>1</d2p1:ChecklistCheckId> <d2p1:Comply>true</d2p1:Comply> <d2p1:NonConformanceDescription>sample string 3</d2p1:NonConformanceDescription> <d2p1:PriorityRating>1</d2p1:PriorityRating> </d2p1:BasicResponsePUT> </Responses> <TenantId>1</TenantId> </MaintenanceAuditPUT>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MaintenanceAuditGETName | Description | Type | Additional 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:03.4777183+00:00", "status": { "id": 1, "name": "sample string 2" }, "modified": "2024-11-20T21:08:03.4777183+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:03.4777183+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:03.4777183+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>