Gets the checklists you can use for an inspection.
Scope | inspections Deprecated scope name: get_settings_inspection_checklists |
App Type | Agency |
Authorization Type | Access token |
URI | /v4/settings/inspections/checklists?lang={lang}&group={group} |
HTTP Method | GET |
Automation Version(s) | 7.3.2 |
Field or Parameter | Type | Required | Values | Description | Automation Version |
---|---|---|---|---|---|
fields | string | No | � | Comma-delimited names of fields to be returned in the response. Note: Field names are case-sensitive and only first-level fields are supported. Invalid field names are ignored. | 7.3.2 |
group | string | No | � | The group query parameter. | 7.3.2 |
lang | String | No | � | Indicates the language applied. | 7.3.2 |
limit | long | No | � | Indicates the number of items that are returned in each page. | 7.3.2 |
offset | long | No | � | Indicates the offset start of each page by the number specified. | 7.3.2 |
The following sample request uses the ISLANDTON agency in the TEST environment on the Accela Developer Sandbox. Click the "Send to Hurl.It" link below to submit the sample request. Replace YOUR-ACCESS-TOKEN before submitting the request.
curl -H 'Content-type: application/json' -H 'Accept: application/json' -H 'Authorization: YOUR-ACCESS-TOKEN' -X GET https://apis.accela.com/v4/settings/inspections/checklists
Field | Type | Description | Automation Version |
---|---|---|---|
result[] | result{} | � | 7.3.2 |
result.group[] | string | The name of the inspection checklist group. | 7.3.2 |
result.id | string | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.2 |
result.items[] | result.items{} | Contains the checklist items for this checklist. | 7.3.2 |
result.items.comment | string | Comments or notes about the current context. | 7.3.2 |
result.items.defaultScore | long | The default score associated with the checklist item. | 7.3.2 |
result.items.displayOrder | long | The order of the item in comparison to the other items. | 7.3.2 |
result.items.id | long | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.2 |
result.items.isCarryOver | string | Indicates whether or not the checklist is a carry-over. | 7.3.2 |
result.items.isCommentVisible | string | Indicates whether or not the comment is visible in a checklist. | 7.3.2 |
result.items.isCritical | string | Indicates whether or not the checklist item is critical. | 7.3.2 |
result.items.isMaxPointsVisible | string | Indicates whether or not to display the maximum points for the inspection checklist. | 7.3.2 |
result.items.isScoreVisible | string | Indicates whether or not to display the inspection checklist score. | 7.3.2 |
result.items.maxPoints | double | The number of points allowed for an inspection, after which the inspection fails. | 7.3.2 |
result.items.statuses[] | result.items.statuses{} | Uses several parameters to characterize the status of one or more inspection checklists | 7.3.2 |
result.items.statuses.criticalScore | long | The critical score for the status of a guidesheet item that is a Major Violation/Critical Item. | 7.3.2 |
result.items.statuses.displayOrder | long | The order of the item in comparison to the other items. | 7.3.2 |
result.items.statuses.lhsType | string | Indicates whether or not the checklist is for LHS (Life/Health/Safety). For LHS-type items, the maximum point value becomes the default score. | 7.3.2 |
result.items.statuses.majorViolation | string | The number of major violations. | 7.3.2 |
result.items.statuses.nonCriticalScore | long | The non-critical score for the status of a guidesheet item that is not a Major Violation/Critical Item. | 7.3.2 |
result.items.statuses.resultType | string | The type of result that can be ascibed to an inspection. There are three result types: Approved: Approves (passes) the checklist item. Denied: Denies (fails) the checklist item. Informational: Indicates that the checklist items do not need a status of app | 7.3.2 |
result.items.statuses.text | string | The localized display text. | 7.3.2 |
result.items.statuses.value | string | The value for the specified parameter. | 7.3.2 |
result.items.statusGroup | string | Defines a set of status values for use with inspection types that conform to similar code requirements. For example, status groups for building related inspections, such as mechanical, electrical, uniform plumbing, and zoning. | 7.3.2 |
result.items.text | string | The localized display text. | 7.3.2 |
result.serviceProviderCode | string | The unique agency identifier, the system assigns, on the Accela Civic Platform. | 7.3.2 |
result.text | string | The localized display text. | 7.3.2 |
status | integer | The record status. | 7.3.3 |
{ "result": [ { "id": "BLD_GS1", "items": [ { "maxPoints": 100, "id": 34593, "text": "Water Checking", "defaultScore": 60, "isCritical": "N", "displayOrder": 1, "isScoreVisible": "Y", "isCommentVisible": "Y", "statusGroup": "GS_Status", "isMaxPointsVisible": "Y", "statuses": [ { "resultType": "APPROVED", "displayOrder": 1, "majorViolation": "N", "criticalScore": 80, "nonCriticalScore": 60, "value": "Passed", "text": "Passed" }, { "resultType": "DENIED", "displayOrder": 2, "majorViolation": "N", "criticalScore": 50, "nonCriticalScore": 40, "value": "Failed", "text": "Failed" } ] }, { "id": 34594, "text": "Electronic Checking", "isCritical": "N", "displayOrder": 2, "isScoreVisible": "Y", "isCommentVisible": "Y", "statusGroup": "GS_Status", "isMaxPointsVisible": "Y", "statuses": [ { "resultType": "APPROVED", "displayOrder": 1, "majorViolation": "N", "criticalScore": 80, "nonCriticalScore": 60, "value": "Passed", "text": "Passed" }, { "resultType": "DENIED", "displayOrder": 2, "majorViolation": "N", "criticalScore": 50, "nonCriticalScore": 40, "value": "Failed", "text": "Failed" } ] } ], "text": "BLD_GS1", "serviceProviderCode": "ISLANDTON", "group": [ "BLD_ELEC", "BLD_GSG" ] }, { "id": "Electronic Checking", "text": "Electronic Checking", "serviceProviderCode": "ISLANDTON", "group": [ "BLD_GSG" ] } ], "status": 200, "page": { "offset": 0, "total": 2, "limit": 25, "hasmore": false } }