POST api/Inspection/scheduledinspections
Request Information
URI Parameters
None.
Body Parameters
FilterInspectionName | Description | Type | Additional 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. |
|
InspectionCategoryID | integer |
None. |
|
StateCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountID": 1, "InspectionDateFrom": "2025-04-03T08:34:19.881259Z", "SearchText": "sample string 1", "QuickSearchTitle": "sample string 2", "InspectionDateTo": "2025-04-03T08:34:19.881259Z", "ScheduledDateFrom": "2025-04-03T08:34:19.881259Z", "ScheduledDateTo": "2025-04-03T08:34:19.881259Z", "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", "InspectionCategoryID": 1, "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> <InspectionCategoryID>1</InspectionCategoryID> <InspectionDateFrom>2025-04-03T08:34:19.881259+00:00</InspectionDateFrom> <InspectionDateTo>2025-04-03T08:34:19.881259+00:00</InspectionDateTo> <InspectionTypeID>1</InspectionTypeID> <InspectorID>1</InspectorID> <IsTour>true</IsTour> <QuickSearchTitle>sample string 2</QuickSearchTitle> <ScheduledDateFrom>2025-04-03T08:34:19.881259+00:00</ScheduledDateFrom> <ScheduledDateTo>2025-04-03T08:34:19.881259+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:
Response Information
Resource Description
Collection of SimpleInspectionName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ScheduledDate | date |
None. |
|
AccountID | integer |
None. |
|
Template | string |
None. |
|
TemplateID | integer |
None. |
|
TypeID | integer |
None. |
|
TypeDesc | string |
None. |
|
AssetNumber | string |
None. |
|
Space | string |
None. |
|
WorkRequestID | integer |
None. |
|
SpaceID | integer |
None. |
|
IsTour | boolean |
None. |
|
SpacePath | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "ScheduledDate": "2025-04-03T08:34:19.881259Z", "AccountID": 2, "Template": "sample string 3", "TemplateID": 4, "TypeID": 5, "TypeDesc": "sample string 6", "AssetNumber": "sample string 7", "Space": "sample string 8", "WorkRequestID": 1, "SpaceID": 1, "IsTour": true, "SpacePath": "sample string 10" }, { "ID": 1, "ScheduledDate": "2025-04-03T08:34:19.881259Z", "AccountID": 2, "Template": "sample string 3", "TemplateID": 4, "TypeID": 5, "TypeDesc": "sample string 6", "AssetNumber": "sample string 7", "Space": "sample string 8", "WorkRequestID": 1, "SpaceID": 1, "IsTour": true, "SpacePath": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfSimpleInspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <SimpleInspection> <AccountID>2</AccountID> <AssetNumber>sample string 7</AssetNumber> <ID>1</ID> <IsTour>true</IsTour> <ScheduledDate>2025-04-03T08:34:19.881259+00:00</ScheduledDate> <Space>sample string 8</Space> <SpaceID>1</SpaceID> <SpacePath>sample string 10</SpacePath> <Template>sample string 3</Template> <TemplateID>4</TemplateID> <TypeDesc>sample string 6</TypeDesc> <TypeID>5</TypeID> <WorkRequestID>1</WorkRequestID> </SimpleInspection> <SimpleInspection> <AccountID>2</AccountID> <AssetNumber>sample string 7</AssetNumber> <ID>1</ID> <IsTour>true</IsTour> <ScheduledDate>2025-04-03T08:34:19.881259+00:00</ScheduledDate> <Space>sample string 8</Space> <SpaceID>1</SpaceID> <SpacePath>sample string 10</SpacePath> <Template>sample string 3</Template> <TemplateID>4</TemplateID> <TypeDesc>sample string 6</TypeDesc> <TypeID>5</TypeID> <WorkRequestID>1</WorkRequestID> </SimpleInspection> </ArrayOfSimpleInspection>