GET v2/Clients/{clientId}/Inspections?facilityId={facilityId}
Gets all active Inspections.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
Client identifier. |
globally unique identifier |
Required |
| facilityId |
Facility identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list.
Collection of InspectionListItemV1| Name | Description | Type | Additional information |
|---|---|---|---|
| Client |
The client. |
ClientV1 |
None. |
| Facility |
The facility. |
FacilityV1 |
None. |
| InspectionProfile |
Gets or sets Inspection Profile. |
InspectionProfileV1 |
None. |
| Id |
The inspection id. |
integer |
None. |
| InspectionDate |
Gets or sets the date of the inspection. |
date |
None. |
| InspectorName |
Gets or sets Inspector Name. |
string |
None. |
| InspectionStatus |
Gets or sets the current status of the inspection. |
string |
None. |
| CustomStatus |
Gets or sets the list of Custom Statuses for the inspection. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Client": {
"Id": "8a75dfcb-12d3-4002-bd69-991c4aa7c025",
"Name": "sample string 2"
},
"Facility": {
"ClientId": "3f78cfd3-fa9a-450e-b483-7aee4c5eaf9d",
"Id": 2,
"Name": "sample string 3",
"SiteNumber": "sample string 4",
"DisplayName": "sample string 3",
"FacilityStatusReferenceId": 1,
"Address1": "sample string 5",
"Address2": "sample string 6",
"City": "sample string 7",
"StateProvinceCode": "sample string 8",
"PostalCode": "sample string 9",
"CountryCode": "sample string 10",
"PhoneNumber": "sample string 11",
"EmailAddress": "sample string 12",
"StateID": "sample string 13"
},
"InspectionProfile": {
"Id": 1,
"Name": "sample string 2"
},
"Id": 1,
"InspectionDate": "2025-12-04T19:39:03.9341172+00:00",
"InspectorName": "sample string 3",
"InspectionStatus": "sample string 4",
"CustomStatus": "sample string 5"
},
{
"Client": {
"Id": "8a75dfcb-12d3-4002-bd69-991c4aa7c025",
"Name": "sample string 2"
},
"Facility": {
"ClientId": "3f78cfd3-fa9a-450e-b483-7aee4c5eaf9d",
"Id": 2,
"Name": "sample string 3",
"SiteNumber": "sample string 4",
"DisplayName": "sample string 3",
"FacilityStatusReferenceId": 1,
"Address1": "sample string 5",
"Address2": "sample string 6",
"City": "sample string 7",
"StateProvinceCode": "sample string 8",
"PostalCode": "sample string 9",
"CountryCode": "sample string 10",
"PhoneNumber": "sample string 11",
"EmailAddress": "sample string 12",
"StateID": "sample string 13"
},
"InspectionProfile": {
"Id": 1,
"Name": "sample string 2"
},
"Id": 1,
"InspectionDate": "2025-12-04T19:39:03.9341172+00:00",
"InspectorName": "sample string 3",
"InspectionStatus": "sample string 4",
"CustomStatus": "sample string 5"
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.