POST api/Inspection/inspectiontotals

Get Inspection Information for Mobile Inspection Info

Request Information

URI Parameters

None.

Body Parameters

FilterInspection
NameDescriptionTypeAdditional information
AccountID

integer

None.

InspectionDateFrom

date

None.

SearchText

string

None.

QuickSearchTitle

string

None.

InspectionDateTo

date

None.

ScheduledDateFrom

date

None.

ScheduledDateTo

date

None.

SpaceGroupID

integer

None.

SpaceTypeDescription

string

None.

SpaceGroupIDs

Collection of integer

None.

BuildingSpaceIDs

Collection of integer

None.

InspectionTypeID

integer

None.

WorkerID

integer

None.

InspectorID

integer

None.

TemplateDescription

string

None.

BuildingID

integer

None.

SpaceID

integer

None.

AreaID

integer

None.

FloorID

integer

None.

ScorePass

boolean

None.

ScoreFail

boolean

None.

ScoreUnscored

boolean

None.

IsTour

boolean

None.

CampusID

integer

None.

State

string

None.

StateCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "InspectionDateFrom": "2024-05-18T06:16:24.2240978Z",
  "SearchText": "sample string 1",
  "QuickSearchTitle": "sample string 2",
  "InspectionDateTo": "2024-05-18T06:16:24.2240978Z",
  "ScheduledDateFrom": "2024-05-18T06:16:24.2240978Z",
  "ScheduledDateTo": "2024-05-18T06:16:24.2240978Z",
  "SpaceGroupID": 1,
  "SpaceTypeDescription": "sample string 3",
  "SpaceGroupIDs": [
    1,
    2
  ],
  "BuildingSpaceIDs": [
    1,
    2
  ],
  "InspectionTypeID": 1,
  "WorkerID": 1,
  "InspectorID": 1,
  "TemplateDescription": "sample string 4",
  "BuildingID": 1,
  "SpaceID": 1,
  "AreaID": 1,
  "FloorID": 1,
  "ScorePass": true,
  "ScoreFail": true,
  "ScoreUnscored": true,
  "IsTour": true,
  "CampusID": 1,
  "State": "sample string 5",
  "StateCode": "sample string 6"
}

application/xml, text/xml

Sample:
<FilterInspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Filters">
  <AccountID>1</AccountID>
  <AreaID>1</AreaID>
  <BuildingID>1</BuildingID>
  <BuildingSpaceIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BuildingSpaceIDs>
  <CampusID>1</CampusID>
  <FloorID>1</FloorID>
  <InspectionDateFrom>2024-05-18T06:16:24.2240978+00:00</InspectionDateFrom>
  <InspectionDateTo>2024-05-18T06:16:24.2240978+00:00</InspectionDateTo>
  <InspectionTypeID>1</InspectionTypeID>
  <InspectorID>1</InspectorID>
  <IsTour>true</IsTour>
  <QuickSearchTitle>sample string 2</QuickSearchTitle>
  <ScheduledDateFrom>2024-05-18T06:16:24.2240978+00:00</ScheduledDateFrom>
  <ScheduledDateTo>2024-05-18T06:16:24.2240978+00:00</ScheduledDateTo>
  <ScoreFail>true</ScoreFail>
  <ScorePass>true</ScorePass>
  <ScoreUnscored>true</ScoreUnscored>
  <SearchText>sample string 1</SearchText>
  <SpaceGroupID>1</SpaceGroupID>
  <SpaceGroupIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SpaceGroupIDs>
  <SpaceID>1</SpaceID>
  <SpaceTypeDescription>sample string 3</SpaceTypeDescription>
  <State>sample string 5</State>
  <StateCode>sample string 6</StateCode>
  <TemplateDescription>sample string 4</TemplateDescription>
  <WorkerID>1</WorkerID>
</FilterInspection>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FilterInspection'.

Response Information

Resource Description

Collection of InspectionReport
NameDescriptionTypeAdditional information
Description

string

None.

ApprovedInspections

integer

None.

FailedInspections

integer

None.

TotalInspection

integer

None.

ScoreSum

integer

None.

InspectionDate

date

None.

ProfitCenter

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Description": "sample string 1",
    "ApprovedInspections": 1,
    "FailedInspections": 1,
    "TotalInspection": 1,
    "ScoreSum": 1,
    "InspectionDate": "2024-05-18T06:16:24.2240978Z",
    "ProfitCenter": "sample string 2"
  },
  {
    "Description": "sample string 1",
    "ApprovedInspections": 1,
    "FailedInspections": 1,
    "TotalInspection": 1,
    "ScoreSum": 1,
    "InspectionDate": "2024-05-18T06:16:24.2240978Z",
    "ProfitCenter": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInspectionReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <InspectionReport>
    <ApprovedInspections>1</ApprovedInspections>
    <Description>sample string 1</Description>
    <FailedInspections>1</FailedInspections>
    <InspectionDate>2024-05-18T06:16:24.2240978+00:00</InspectionDate>
    <ProfitCenter>sample string 2</ProfitCenter>
    <ScoreSum>1</ScoreSum>
    <TotalInspection>1</TotalInspection>
  </InspectionReport>
  <InspectionReport>
    <ApprovedInspections>1</ApprovedInspections>
    <Description>sample string 1</Description>
    <FailedInspections>1</FailedInspections>
    <InspectionDate>2024-05-18T06:16:24.2240978+00:00</InspectionDate>
    <ProfitCenter>sample string 2</ProfitCenter>
    <ScoreSum>1</ScoreSum>
    <TotalInspection>1</TotalInspection>
  </InspectionReport>
</ArrayOfInspectionReport>