PUT v1/Clients/{clientId}/Inspections/{inspectionId}
Updates the specified Inspection.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId |
Client identifier. |
globally unique identifier |
Required |
inspectionId |
Inspection identifier. |
integer |
Required |
Body Parameters
The inspection.
InspectionV1Name | Description | Type | Additional information |
---|---|---|---|
Client |
The client. |
ClientV1 |
None. |
Facility |
The facility. |
FacilityV1 |
None. |
Id |
The inspection id. |
integer |
None. |
UserCanEditInspection |
A value indicating whether or not the user that requested this inspection has access to edit this inspection. |
boolean |
None. |
InspectionProfile |
Gets or sets Inspection Profile. |
InspectionProfileV1 |
None. |
InspectionDate |
Gets or sets the date of the inspection. |
date |
None. |
Inspector |
Gets or sets Inspector. |
InspectorV1 |
None. |
InspectionStatus |
Gets or sets the current status of the inspection. |
InspectionStatusV1 |
None. |
CompletedDate |
Gets or sets the date the inspection was completed. |
date |
None. |
CustomStatus |
Gets or sets the list of Custom Statuses for the inspection. Will also indicate which one is currently selected. |
Collection of InspectionCustomStatusV1 |
None. |
LocationUpdates |
A list of Location Updates. A new record should be added to this when the inspection is openned, closed, saved, and every 5 minutes while the inspection is being accessed. |
Collection of LocationInformationV1 |
None. |
InspectionSections |
Gets the list of sections belonging to this inspection. |
Collection of InspectionSectionV1 |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
A .
integerResponse Formats
application/json, text/json
1
application/xml, text/xml
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>