POST api/Reports/AuditandScoreReport
Request Information
URI Parameters
None.
Body Parameters
AuditandScoreReportModelName | Description | Type | Additional information |
---|---|---|---|
Accountid | integer |
None. |
|
Startdate | date |
None. |
|
Enddate | date |
None. |
|
Filtertype | string |
None. |
|
Filterlist | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Accountid": 1, "Startdate": "2024-11-21T08:50:33.7949288+00:00", "Enddate": "2024-11-21T08:50:33.7949288+00:00", "Filtertype": "sample string 4", "Filterlist": "sample string 5" }
application/xml, text/xml
Sample:
<AuditandScoreReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models"> <Accountid>1</Accountid> <Enddate>2024-11-21T08:50:33.7949288+00:00</Enddate> <Filterlist>sample string 5</Filterlist> <Filtertype>sample string 4</Filtertype> <Startdate>2024-11-21T08:50:33.7949288+00:00</Startdate> </AuditandScoreReportModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AuditandScoreReportName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
TotalInspection | integer |
None. |
|
AverageScore | decimal number |
None. |
|
TotalFollowups | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
ReportsDetails | string |
None. |
|
GroupAuditandScore | Collection of GroupAuditandScoreReport |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "TotalInspection": 2, "AverageScore": 3.1, "TotalFollowups": 4, "StartDate": "2024-11-21T08:50:33.7949288+00:00", "EndDate": "2024-11-21T08:50:33.7949288+00:00", "ReportsDetails": "sample string 7", "GroupAuditandScore": [ { "Index": 1, "Name": "sample string 2", "TotalInspection": 3, "AverageScore": 4.1, "TotalFollowups": 5, "Inspections": [ { "Location": "sample string 1", "InspectionTemplates": "sample string 2", "Inspectors": "sample string 3", "Score": 4, "InspectionDate": "2024-11-21T08:50:33.7949288+00:00", "FollowupCount": 6, "InspectionId": 7, "CityName": "sample string 8", "CampusName": "sample string 9", "BuildingName": "sample string 10", "FloorName": "sample string 11", "AreaName": "sample string 12" }, { "Location": "sample string 1", "InspectionTemplates": "sample string 2", "Inspectors": "sample string 3", "Score": 4, "InspectionDate": "2024-11-21T08:50:33.7949288+00:00", "FollowupCount": 6, "InspectionId": 7, "CityName": "sample string 8", "CampusName": "sample string 9", "BuildingName": "sample string 10", "FloorName": "sample string 11", "AreaName": "sample string 12" } ] }, { "Index": 1, "Name": "sample string 2", "TotalInspection": 3, "AverageScore": 4.1, "TotalFollowups": 5, "Inspections": [ { "Location": "sample string 1", "InspectionTemplates": "sample string 2", "Inspectors": "sample string 3", "Score": 4, "InspectionDate": "2024-11-21T08:50:33.7949288+00:00", "FollowupCount": 6, "InspectionId": 7, "CityName": "sample string 8", "CampusName": "sample string 9", "BuildingName": "sample string 10", "FloorName": "sample string 11", "AreaName": "sample string 12" }, { "Location": "sample string 1", "InspectionTemplates": "sample string 2", "Inspectors": "sample string 3", "Score": 4, "InspectionDate": "2024-11-21T08:50:33.7949288+00:00", "FollowupCount": 6, "InspectionId": 7, "CityName": "sample string 8", "CampusName": "sample string 9", "BuildingName": "sample string 10", "FloorName": "sample string 11", "AreaName": "sample string 12" } ] } ] }
application/xml, text/xml
Sample:
<AuditandScoreReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models"> <AverageScore>3.1</AverageScore> <EndDate>2024-11-21T08:50:33.7949288+00:00</EndDate> <GroupAuditandScore> <GroupAuditandScoreReport> <AverageScore>4.1</AverageScore> <Index>1</Index> <Inspections> <AuditandScoreInspections> <AreaName>sample string 12</AreaName> <BuildingName>sample string 10</BuildingName> <CampusName>sample string 9</CampusName> <CityName>sample string 8</CityName> <FloorName>sample string 11</FloorName> <FollowupCount>6</FollowupCount> <InspectionDate>2024-11-21T08:50:33.7949288+00:00</InspectionDate> <InspectionId>7</InspectionId> <InspectionTemplates>sample string 2</InspectionTemplates> <Inspectors>sample string 3</Inspectors> <Location>sample string 1</Location> <Score>4</Score> </AuditandScoreInspections> <AuditandScoreInspections> <AreaName>sample string 12</AreaName> <BuildingName>sample string 10</BuildingName> <CampusName>sample string 9</CampusName> <CityName>sample string 8</CityName> <FloorName>sample string 11</FloorName> <FollowupCount>6</FollowupCount> <InspectionDate>2024-11-21T08:50:33.7949288+00:00</InspectionDate> <InspectionId>7</InspectionId> <InspectionTemplates>sample string 2</InspectionTemplates> <Inspectors>sample string 3</Inspectors> <Location>sample string 1</Location> <Score>4</Score> </AuditandScoreInspections> </Inspections> <Name>sample string 2</Name> <TotalFollowups>5</TotalFollowups> <TotalInspection>3</TotalInspection> </GroupAuditandScoreReport> <GroupAuditandScoreReport> <AverageScore>4.1</AverageScore> <Index>1</Index> <Inspections> <AuditandScoreInspections> <AreaName>sample string 12</AreaName> <BuildingName>sample string 10</BuildingName> <CampusName>sample string 9</CampusName> <CityName>sample string 8</CityName> <FloorName>sample string 11</FloorName> <FollowupCount>6</FollowupCount> <InspectionDate>2024-11-21T08:50:33.7949288+00:00</InspectionDate> <InspectionId>7</InspectionId> <InspectionTemplates>sample string 2</InspectionTemplates> <Inspectors>sample string 3</Inspectors> <Location>sample string 1</Location> <Score>4</Score> </AuditandScoreInspections> <AuditandScoreInspections> <AreaName>sample string 12</AreaName> <BuildingName>sample string 10</BuildingName> <CampusName>sample string 9</CampusName> <CityName>sample string 8</CityName> <FloorName>sample string 11</FloorName> <FollowupCount>6</FollowupCount> <InspectionDate>2024-11-21T08:50:33.7949288+00:00</InspectionDate> <InspectionId>7</InspectionId> <InspectionTemplates>sample string 2</InspectionTemplates> <Inspectors>sample string 3</Inspectors> <Location>sample string 1</Location> <Score>4</Score> </AuditandScoreInspections> </Inspections> <Name>sample string 2</Name> <TotalFollowups>5</TotalFollowups> <TotalInspection>3</TotalInspection> </GroupAuditandScoreReport> </GroupAuditandScore> <Name>sample string 1</Name> <ReportsDetails>sample string 7</ReportsDetails> <StartDate>2024-11-21T08:50:33.7949288+00:00</StartDate> <TotalFollowups>4</TotalFollowups> <TotalInspection>2</TotalInspection> </AuditandScoreReport>