Create an inspection type

post

/fscmRestApi/resources/11.13.18.05/publicSectorInspectionTypes

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Agency ID
    Default Value: 1
    The identifier for a public sector agency. This is usually an alphanumeric identifier for a city, county, or state, but it can also be the name of a city, county, or state.
  • Title: Assessment Type
    Maximum Length: 25
    The unique identifier for the assessment type. The assessment type definition consists of a list of inspection assessments and their corresponding results.
  • Title: Autonumber Rule
    Maximum Length: 20
    The unique identifier for an autonumber rule that is used for generating the inspection transaction key.
  • Title: Billable
    Maximum Length: 1
    Indicates whether the inspection is a billable transaction. The default is no.
  • Title: Bill Type
    Maximum Length: 15
    The type of invoice that is generated for the inspection transaction.
  • Title: Schedule Change Policy
    The number of hours prior to the scheduled inspection time that a user can cancel or reschedule an inspection.
  • Title: Checklist Group
    Maximum Length: 15
    The identifier for a collection of inspection checklists.
  • Title: Checklist
    Maximum Length: 15
    The identifier for an inspection checklist.
  • Title: Contractor Signature
    Maximum Length: 3
    Indicates whether the contractor needs to sign the inspection report before the inspector can submit the inspection in the system. Values include Optional, Required, and Not Required. The default is Optional.
  • Title: Description
    Maximum Length: 100
    The description of the building inspection type. For example, Electrical Inspection, Final Fence Inspection, or Final Building Inspection.
  • Title: Inspection District Type
    Maximum Length: 30
    The type of district for the inspection. Examples of an inspection district are Building, Electrical, and Plumbing inspection.
  • Title: Enabled
    Maximum Length: 1
    Indicates whether the inspection type is available to be used. If the inspection type is enabled, it can be used. The default is disabled.
  • Title: Estimated Duration in Hours
    The estimated number of hours required to perform the inspection. This information can be used for planning and scheduling.
  • Title: Hide Assess Fee Option
    Maximum Length: 1
    Default Value: N
    Indicates whether the assess fee flag is hidden when viewing inspection records.
  • Title: Unannounced
    Maximum Length: 1
    Default Value: false
    Indicates whether the inspection will be displayed to a nonagency user prior to completion. The default value is false, which indicates the inspection is always displayed to nonagency users.
  • Title: Hide Inspector Comments
    Maximum Length: 1
    Indicates whether inspector comments will be hidden from public users. The default is no.
  • Title: Inspection Type
    Maximum Length: 15
    The unique identifier for a type of inspection.
  • Title: Inspector Signature
    Maximum Length: 3
    Indicates whether the inspector must sign the inspection report before the submitting the inspection in the system. Values include Optional, Required, and Not Required. The default is Required.
  • Title: Maximum Score
    The maximum inspection score that can result in the specified rating. The maximum score must be greater than the minimum score, and the score ranges for a specific rating must not overlap with the other ratings that are defined for a rating method.
  • Title: Policy Name
    Maximum Length: 200
    The name of the Oracle Policy Automation template that is associated with an inspection type.
  • Title: Policy Version
    Maximum Length: 20
    The version of the Oracle Policy Automation policy version that is associated with an inspection type.
  • Title: Owner Signature
    Maximum Length: 3
    Indicates whether the property owner needs to sign the inspection report before the inspector can submit the inspection in the system. Values include Optional, Required, and Not Required. The default is Optional.
  • Title: Passing Rule
    Maximum Length: 15
    The unique identifier for a passing rule. Passing rules provide results criteria to determine whether an inspection passes or fails.
  • Title: Rating Method
    Maximum Length: 15
    The unique code to identify the rating method used for an inspection result. Rating methods are used to assign ratings such as a grade (A-F) or a numerical scale (1-5).
  • Title: Schedule Cutoff Time
    The time value for the latest time of day when an inspection request can be submitted, updated, deleted, or canceled.
  • Title: Scheduling Method
    Maximum Length: 15
    Default Value: SCHEDULE
    The method used for scheduling an inspection. The request method is used if a user submits a preferred date and preferred time for an inspection to be scheduled. The ready method is used if a user submits a ready by date and a ready by time for an inspection to be scheduled. The schedule method is used if the user selects an available time from an inspection schedule.
  • Title: Scoring Method
    Maximum Length: 15
    The method used for calculating the score for an inspection. For example, with the bottom up method, the inspector starts with a zero score and adds points for each criterion that is met.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : publicSectorInspectionTypes-item-response
Type: object
Show Source
  • Title: Agency ID
    Default Value: 1
    The identifier for a public sector agency. This is usually an alphanumeric identifier for a city, county, or state, but it can also be the name of a city, county, or state.
  • Title: Assessment Type
    Maximum Length: 25
    The unique identifier for the assessment type. The assessment type definition consists of a list of inspection assessments and their corresponding results.
  • Title: Autonumber Rule
    Maximum Length: 20
    The unique identifier for an autonumber rule that is used for generating the inspection transaction key.
  • Title: Billable
    Maximum Length: 1
    Indicates whether the inspection is a billable transaction. The default is no.
  • Title: Bill Type
    Maximum Length: 15
    The type of invoice that is generated for the inspection transaction.
  • Title: Schedule Change Policy
    The number of hours prior to the scheduled inspection time that a user can cancel or reschedule an inspection.
  • Title: Checklist Group
    Maximum Length: 15
    The identifier for a collection of inspection checklists.
  • Title: Checklist
    Maximum Length: 15
    The identifier for an inspection checklist.
  • Title: Contractor Signature
    Maximum Length: 3
    Indicates whether the contractor needs to sign the inspection report before the inspector can submit the inspection in the system. Values include Optional, Required, and Not Required. The default is Optional.
  • Title: Creation Date
    Read Only: true
    The date when the inspection type was created.
  • Title: Description
    Maximum Length: 100
    The description of the building inspection type. For example, Electrical Inspection, Final Fence Inspection, or Final Building Inspection.
  • Title: Inspection District Type
    Maximum Length: 30
    The type of district for the inspection. Examples of an inspection district are Building, Electrical, and Plumbing inspection.
  • Title: Enabled
    Maximum Length: 1
    Indicates whether the inspection type is available to be used. If the inspection type is enabled, it can be used. The default is disabled.
  • Title: Estimated Duration in Hours
    The estimated number of hours required to perform the inspection. This information can be used for planning and scheduling.
  • Title: Hide Assess Fee Option
    Maximum Length: 1
    Default Value: N
    Indicates whether the assess fee flag is hidden when viewing inspection records.
  • Title: Unannounced
    Maximum Length: 1
    Default Value: false
    Indicates whether the inspection will be displayed to a nonagency user prior to completion. The default value is false, which indicates the inspection is always displayed to nonagency users.
  • Title: Hide Inspector Comments
    Maximum Length: 1
    Indicates whether inspector comments will be hidden from public users. The default is no.
  • Title: Inspection Type
    Maximum Length: 15
    The unique identifier for a type of inspection.
  • Title: Inspector Signature
    Maximum Length: 3
    Indicates whether the inspector must sign the inspection report before the submitting the inspection in the system. Values include Optional, Required, and Not Required. The default is Required.
  • Title: Last Updated Date
    Read Only: true
    The date when the inspection type was last updated.
  • Links
  • Title: Maximum Score
    The maximum inspection score that can result in the specified rating. The maximum score must be greater than the minimum score, and the score ranges for a specific rating must not overlap with the other ratings that are defined for a rating method.
  • Title: Policy Name
    Maximum Length: 200
    The name of the Oracle Policy Automation template that is associated with an inspection type.
  • Title: Policy Version
    Maximum Length: 20
    The version of the Oracle Policy Automation policy version that is associated with an inspection type.
  • Title: Owner Signature
    Maximum Length: 3
    Indicates whether the property owner needs to sign the inspection report before the inspector can submit the inspection in the system. Values include Optional, Required, and Not Required. The default is Optional.
  • Title: Passing Rule
    Maximum Length: 15
    The unique identifier for a passing rule. Passing rules provide results criteria to determine whether an inspection passes or fails.
  • Title: Rating Method
    Maximum Length: 15
    The unique code to identify the rating method used for an inspection result. Rating methods are used to assign ratings such as a grade (A-F) or a numerical scale (1-5).
  • Title: Schedule Cutoff Time
    The time value for the latest time of day when an inspection request can be submitted, updated, deleted, or canceled.
  • Title: Scheduling Method
    Maximum Length: 15
    Default Value: SCHEDULE
    The method used for scheduling an inspection. The request method is used if a user submits a preferred date and preferred time for an inspection to be scheduled. The ready method is used if a user submits a ready by date and a ready by time for an inspection to be scheduled. The schedule method is used if the user selects an available time from an inspection schedule.
  • Title: Scoring Method
    Maximum Length: 15
    The method used for calculating the score for an inspection. For example, with the bottom up method, the inspector starts with a zero score and adds points for each criterion that is met.
Back to Top