Get Inspection Checklist Statuses

Gets the status values for inspection checklists

Resource Information

Scopeinspections

Deprecated scope name:   get_inspection_checklist_statuses

App TypeAll
Authorization TypeAccess token
URI /v4/settings/inspections/checklists/statuses?group={group}
HTTP MethodGET
Automation Version(s)7.3.3

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
groupstringYes The group query parameter.7.3.2
langStringNo Indicates the language applied.7.3.2

Example

Sample Request Head

GET https://apis.accela.com/v4/settings/inspections/checklists/statuses?group=GS_Status

Notes

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'
     -H 'x-accela-appid: 635355074966095701'
     -X GET https://apis.accela.com/v4/settings/inspections/checklists/statuses?group=GS_Status

Response Information

FieldTypeDescriptionAutomation Version
result[]result{} 7.3.3
result.criticalScorelongThe critical score for the status of a guidesheet item that is a Major Violation/Critical Item.7.3.2
result.displayOrderlongThe order of the item in comparison to the other items.7.3.2
result.lhsTypestringIndicates 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.majorViolationstringThe number of major violations.7.3.2
result.nonCriticalScorelongThe non-critical score for the status of a guidesheet item that is not a Major Violation/Critical Item.7.3.2
result.resultTypestringThe 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 app7.3.2
result.textstringThe localized display text.7.3.2
result.valuestringThe value for the specified parameter.7.3.2
statusintegerThe record status.7.3.3

Example

Sample Response Body

{
  "result": [
    {
      "displayOrder": 1,
      "resultType": "APPROVED",
      "majorViolation": "N",
      "criticalScore": 80,
      "nonCriticalScore": 60,
      "value": "Passed",
      "text": "Passed"
    },
    {
      "displayOrder": 2,
      "resultType": "DENIED",
      "majorViolation": "N",
      "criticalScore": 50,
      "nonCriticalScore": 40,
      "value": "Failed",
      "text": "Failed"
    }
  ],
  "status": 200
}