inspections/{id}
Retrieve an inspection by ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Inspection Id |
integer |
Required |
Body Parameters
None.
Response Information
Standard Responses
An inspection
Name | Description | Type | Additional information |
---|---|---|---|
sections |
A list of sections |
Collection of FormSectionDto |
None. |
id |
The ID of the inspection, meeting or incident/hazard. |
integer |
None. |
uuid |
The template Id of the inspection, meeting, or incident/hazard |
globally unique identifier |
None. |
title |
The title of the inspection, meeting or incident/hazard. |
string |
None. |
subTitle |
The substitle of the inspection, meeting or incident/hazard. |
string |
None. |
status |
The current status of the inspection, meeting or incident/hazard. |
string |
None. |
signedOffDate |
The date that the inspection, meeting or incident/hazard was signed off. ISO-8601 format of: yyyy-mm-dd, such as 1989-05-22 or MMM-dd-yyyy (MAY-22-1989) |
string |
None. |
createdDate |
The date that the inspection, meeting or incident/hazard was created in eCMS. ISO-8601 format of: yyyy-mm-dd, such as 1989-05-22 or MMM-dd-yyyy (MAY-22-1989) |
string |
None. |
site |
The site that the inspection, meeting or incident/hazard was created at/belongs to. |
string |
None. |
owner |
The user who owns the inspection, meeting or incident/hazard. |
string |
None. |
hasScoring |
Indicates if scoring is enabled or disabled |
boolean |
None. |
totalScorePercentage |
Indicates the total score as a percentage, provided scoring is enabled |
decimal number |
None. |
inspectionPassed |
Indicates Pass/Fail based on the score |
boolean |
None. |
header |
Header of the inspection, meeting, or incident/hazard. All fields are string. Static fields are "Prepared by", "Location", "OrganizationName", "GpsLocation","Date" All other fields are defined dynamically by the Custom Header of the inspection, meeting, or incident/hazard |
Collection of Object |
None. |
links | Collection of LinkDto |
None. |
Error Responses
HTTP Status Code | Error Message | Type | Additional Information |
---|