POST api/Reports/GetInspectionReport

Request Information

URI Parameters

None.

Body Parameters

ReportFilterModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

InspectionId

integer

None.

InspectionCount

integer

None.

CreatedDateFrom

string

None.

CreatedDateTo

string

None.

IsIdsSelected

boolean

None.

Evaluators

Collection of string

None.

Assignments

Collection of integer

None.

InspectionTemplates

Collection of integer

None.

InspectionIds

Collection of integer

None.

FollowupIds

Collection of integer

None.

IncludeImages

boolean

None.

IncludeFollowUps

boolean

None.

IncludeSignatures

boolean

None.

IncludeActivityLog

boolean

None.

EvaluatorNames

string

None.

AssignmentNames

string

None.

InspectionTemplateNames

string

None.

InspectionIdsStr

string

None.

AssignmentId

integer

None.

InspectionTemplateId

integer

None.

InspectorId

string

None.

UserId

string

None.

RoleId

integer

None.

filters

FilterModel

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "InspectionId": 2,
  "InspectionCount": 3,
  "CreatedDateFrom": "sample string 4",
  "CreatedDateTo": "sample string 5",
  "IsIdsSelected": true,
  "Evaluators": [
    "sample string 1",
    "sample string 2"
  ],
  "Assignments": [
    1,
    2
  ],
  "InspectionTemplates": [
    1,
    2
  ],
  "InspectionIds": [
    1,
    2
  ],
  "FollowupIds": [
    1,
    2
  ],
  "IncludeImages": true,
  "IncludeFollowUps": true,
  "IncludeSignatures": true,
  "IncludeActivityLog": true,
  "EvaluatorNames": "sample string 11",
  "AssignmentNames": "sample string 12",
  "InspectionTemplateNames": "sample string 13",
  "InspectionIdsStr": "sample string 14",
  "AssignmentId": 15,
  "InspectionTemplateId": 16,
  "InspectorId": "sample string 17",
  "UserId": "sample string 18",
  "RoleId": 19,
  "filters": {
    "Evaluator": [
      "sample string 1",
      "sample string 2"
    ],
    "Operator": [
      "sample string 1",
      "sample string 2"
    ],
    "Assignment": [
      "sample string 1",
      "sample string 2"
    ],
    "InspectionTemplateName": [
      "sample string 1",
      "sample string 2"
    ],
    "LocationType": [
      "sample string 1",
      "sample string 2"
    ],
    "Campus": [
      "sample string 1",
      "sample string 2"
    ],
    "Building": [
      "sample string 1",
      "sample string 2"
    ],
    "Floor": [
      "sample string 1",
      "sample string 2"
    ],
    "Area": [
      "sample string 1",
      "sample string 2"
    ],
    "Room": [
      "sample string 1",
      "sample string 2"
    ],
    "AssignmentEvaluators": [
      "sample string 1",
      "sample string 2"
    ],
    "FollowUpStatus": [
      "sample string 1",
      "sample string 2"
    ]
  }
}

application/xml, text/xml

Sample:
<ReportFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Report">
  <AccountId>1</AccountId>
  <AssignmentId>15</AssignmentId>
  <AssignmentNames>sample string 12</AssignmentNames>
  <Assignments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Assignments>
  <CreatedDateFrom>sample string 4</CreatedDateFrom>
  <CreatedDateTo>sample string 5</CreatedDateTo>
  <EvaluatorNames>sample string 11</EvaluatorNames>
  <Evaluators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Evaluators>
  <FollowupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </FollowupIds>
  <IncludeActivityLog>true</IncludeActivityLog>
  <IncludeFollowUps>true</IncludeFollowUps>
  <IncludeImages>true</IncludeImages>
  <IncludeSignatures>true</IncludeSignatures>
  <InspectionCount>3</InspectionCount>
  <InspectionId>2</InspectionId>
  <InspectionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InspectionIds>
  <InspectionIdsStr>sample string 14</InspectionIdsStr>
  <InspectionTemplateId>16</InspectionTemplateId>
  <InspectionTemplateNames>sample string 13</InspectionTemplateNames>
  <InspectionTemplates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InspectionTemplates>
  <InspectorId>sample string 17</InspectorId>
  <IsIdsSelected>true</IsIdsSelected>
  <RoleId>19</RoleId>
  <UserId>sample string 18</UserId>
  <filters>
    <Area xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Area>
    <Assignment xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Assignment>
    <AssignmentEvaluators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </AssignmentEvaluators>
    <Building xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Building>
    <Campus xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Campus>
    <Evaluator xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Evaluator>
    <Floor xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Floor>
    <FollowUpStatus xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </FollowUpStatus>
    <InspectionTemplateName xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </InspectionTemplateName>
    <LocationType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </LocationType>
    <Operator xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Operator>
    <Room xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Room>
  </filters>
</ReportFilterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.