Get Inspection Types

Gets the specified inspection types.

Resource Information

Scopeinspections

Deprecated scope name:   get_settings_inspection_type

App TypeAll
Authorization TypeAccess token
URI /v4/settings/inspections/types/{ids}?expand={expand}&fields={fields}&lang={lang}
HTTP MethodGET
Automation Version(s)7.3.2

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
expandstringNoassociationsThe related objects to be returned with the response. The related object(s) will be returned if data exists; if data does not exist, the requested object(s) will not be included in the response. 7.3.3.5
fieldsstringNoComma-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
idsstringNoOne or multiple identifiers separated by a comma like id1,id2,id3.7.3.2
langStringNoIndicates the language applied.7.3.2

Example

Sample Request Head

GET https://apis.accela.com/v4/settings/inspections/types/100,101,102

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'
   -X GET  https://apis.accela.com/v4/settings/inspections/types/100,101,102

Response Information

FieldTypeDescriptionAutomation Version
result[]result{}7.3.2
result.allowFailChecklistItemsstringIndicates whether or not to allow inspection to pass with failed checklist items for the current inspection type or from previous inspections.7.3.2
result.allowMultiInspectionsstringIndicates whether or not to allow the scheduling of multiple inspections for this inspection type.7.3.2
result.associationsresult.associations{}Contains parameter settings associated with instances of the inspection type.7.3.3.5
result.associations.standardCommentGroupresult.associations.standardCommentGroup{}The name of the standard comment group associated with instances of the inspection type.7.3.3.5
result.associations.standardCommentGroup.textstringThe localized display text.7.3.3.5
result.associations.standardCommentGroup.valuestringThe value for the specified parameter.7.3.3.5
result.carryoverFlagstringIndicates how failed guidesheet items for an inspection type are carried over to the next inspection guidesheet. NULL or empty string : Guidesheet items are not carried over. "A" : Automatic carry-over of failed guidesheet items to the next inspection guidesheet item. 7.3.2
result.defaultDepartmentresult.defaultDepartment{}The default department responsible for the inspection.7.3.2
result.defaultDepartment.agencystringThe department agency7.3.2
result.defaultDepartment.bureaustringThe name of the bureau, which is an organization level within an agency.7.3.2
result.defaultDepartment.divisionstringThe name of the division, which is an organization level within a bureau.7.3.2
result.defaultDepartment.groupstringThe department group.7.3.2
result.defaultDepartment.idstringThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
result.defaultDepartment.officestringAn organization level within a group. An office is the final level within an organization structure. Agency->Bureau->Division->Section->Group->Office.7.3.2
result.defaultDepartment.sectionstringA piece of a township measuring 640 acres, one square mile, numbered with reference to the base line and meridian line.7.3.2
result.defaultDepartment.serviceProviderCodestringThe unique agency identifier, the system assigns, on the Accela Civic Platform.7.3.2
result.defaultDepartment.textstringThe localized display text.7.3.2
result.defaultDepartment.valuestringThe value for the specified parameter.7.3.2
result.disciplines[]stringThe inspection disciplines assigned to the inspection type.7.3.2
result.flowEnabledFlagstringIndicates whether or not to include the inspection in the inspection flow process.7.3.2
result.gradestringThe name of the inspection grade. 7.3.2
result.groupstringThe name of a group of inspection types.7.3.2
result.groupNameresult.groupName{}The descriptive name associated to an inspection group code.7.3.2
result.groupName.textstringThe localized display text.7.3.2
result.groupName.valuestringThe value for the specified parameter.7.3.2
result.guideGroupresult.guideGroup{}Contains the inspection guide group information7.3.2
result.guideGroup.idstringThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
result.guideGroup.textstringThe localized display text.7.3.2
result.guideGroup.valuestringThe value for the specified parameter.7.3.2
result.hasCancelPermissionstringIndicates whether or not the user can cancel the inspection.7.3.2
result.hasFlowFlagstringIndicates whether or not to include the inspection in the inspection flow process.7.3.2
result.hasNextInspectionAdvancestringIndicates whether or not the next inspection can be scheduled in advance.7.3.2
result.hasReschdulePermissionstringIndicates whether or not the user can reschedule the inspection.7.3.2
result.hasSchdulePermissionstringIndicates whether or not the user can schedule the inspection.7.3.2
result.idlongThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
result.inspectionEditablestringIndicates whether or not inspection result, grade or checklist can be edited.7.3.2
result.isAutoAssignstringThis defines whether or not you want to automatically reschedule the inspection when the previous inspection status attains Approved status.7.3.2
result.isRequiredstringIndicates whether or not the information is required. 7.3.2
result.maxPointsdoubleThe number of points allowed for an inspection, after which the inspection fails. 7.3.2
result.prioritystringThe priority level assigned to the inspection type.7.3.2
result.publicVisiblestringIndicates whether or not Accela Citizen Access users can view comment about the inspection results.7.3.2
result.refereceNumberstringThe reference number associated with an inspection.7.3.2
result.resultGroupstringThe name of a grouping of Inspection results, usually indicative of a range of inspection scores.7.3.2
result.textstringThe localized display text.7.3.2
result.totalScorelongThe overall score of the inspection that includes the inspection result, inspection grade, checklist total score and checklist major violation option.7.3.2
result.totalScoreOptionstringIndicates the method for calculating total scores of checklist items. There are four options: Total sub scores (the default method). Displays the sum of all the guidesheet item scores. Average of subtotal scores. Displays the average score of all the guid7.3.2
result.unitNumberstringThe number of time units (see timeUnitDuration) comprising an inspection.7.3.2
result.unitsdoubleThe amount of time comprising the smallest time unit for conducting an inspection.7.3.2
result.valuestringThe value for the specified parameter.7.3.2
statusintegerThe record status.7.3.3

Example

Sample Response Body

{
  "result": [
    {
      "priority": "4",
      "value": "Foundation",
      "id": 100,
      "group": "BLD_COMM",
      "publicVisible": "Y",
      "inspectionEditable": "Y",
      "allowMultiInspections": "Y",
      "resultGroup": "BLD_STANDARD",
      "text": "Foundation",
      "isRequired": "N",
      "isAutoAssign": "N",
      "totalScoreOption": "SUM(list)",
      "groupName": {
        "value": "BLD Commercial",
        "text": "BLD Commercial"
      },
      "hasNextInspectionAdvance": "N"
    },
    {
      "priority": "5",
      "value": "Rough Frame",
      "id": 101,
      "group": "BLD_COMM",
      "publicVisible": "Y",
      "inspectionEditable": "Y",
      "allowMultiInspections": "Y",
      "resultGroup": "BLD_STANDARD",
      "text": "Rough Frame",
      "isRequired": "N",
      "isAutoAssign": "N",
      "totalScoreOption": "SUM(list)",
      "groupName": {
        "value": "BLD Commercial",
        "text": "BLD Commercial"
      },
      "hasNextInspectionAdvance": "N"
    },
    {
      "priority": "6",
      "value": "Frame",
      "id": 102,
      "group": "BLD_COMM",
      "publicVisible": "Y",
      "inspectionEditable": "Y",
      "allowMultiInspections": "Y",
      "resultGroup": "BLD_STANDARD",
      "text": "Frame",
      "isRequired": "N",
      "isAutoAssign": "N",
      "totalScoreOption": "SUM(list)",
      "groupName": {
        "value": "BLD Commercial",
        "text": "BLD Commercial"
      },
      "hasNextInspectionAdvance": "N"
    }
  ],
  "status": 200
}