Get an inspection
get
/fscmRestApi/resources/11.13.18.05/publicSectorInspections/{InspectionKey}
Request
Path Parameters
-
InspectionKey: integer
The unique identifier of an inspection.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are attributes that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The attributes specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the attributes will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency attributes. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, no attributes are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource attributes. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorInspections-item
Type:
Show Source
object-
ActlTravelTimeFromHrs(optional):
number
Title:
Travel Time from SiteThe travel time from the inspection site in hours. -
ActlTravelTimeToHrs(optional):
number
Title:
Travel Time to SiteThe travel time to the inspection site in hours. -
ActualDurationHrs(optional):
number
Title:
Duration in HoursThe actual duration of the inspection in hours. -
ActualEndDttm(optional):
string(date-time)
Title:
End DateThe actual end date of the inspection. -
ActualStartDttm(optional):
string(date-time)
Title:
Start DateThe actual start date of the inspection. -
Address1(optional):
string
Title:
Address Line 1Maximum Length:240The first or main address. -
Address2(optional):
string
Title:
Address Line 2Maximum Length:240The second address, if present. -
Address3(optional):
string
Title:
Address Line 3Maximum Length:240The third address, if present. -
Address4(optional):
string
Title:
Address Line 4Maximum Length:240The fourth address, if present. -
AddressId(optional):
integer(int64)
The unique identifier of the record parcel address.
-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe identifier for the public sector agency associated with the inspection. -
ApplicantBizProfileId(optional):
integer(int64)
Title:
Business ProfileThe unique identifier of the applicant business profile when the applicant is a business entity. -
ApplicantProfileId(optional):
integer(int64)
Title:
Applicant ProfileThe unique identifier of the applicant user profile. -
AssessFeeFlag(optional):
string
Title:
Assess FeeMaximum Length:1Indicates whether fees should be assessed for the inspection. -
BillableFlag(optional):
boolean
Title:
Billable OptionA yes or no indicator that identifies whether the inspection is billable or not. -
BillType(optional):
string
Title:
Billable TypeMaximum Length:15The bill type that determines the invoice type generated for this inspection. -
CancellationReason(optional):
string
Title:
Cancellation ReasonMaximum Length:150The reason for canceling the inspection. -
ChgSchedulePolicyHrs(optional):
integer(int32)
The number of hours prior to the scheduled inspection time that a user can cancel or reschedule an inspection.
-
City(optional):
string
Title:
CityMaximum Length:60The city of the inspection. -
ContactEmail(optional):
string
Title:
EmailMaximum Length:320The inspection location contact's email address. -
ContactName(optional):
string
Title:
Location ContactMaximum Length:450The name of contact person for the inspection. -
ContactPhoneText(optional):
string
Maximum Length:
255The contact's phone number for text. -
ContractorName(optional):
string
Title:
ContractorMaximum Length:360The contractor's name. -
ContractorSignature(optional):
string(binary)
The contractor's signature.
-
ContractorSignatureDttm(optional):
string(date-time)
Title:
SignedThe date and time when the contractor signed the inspection. -
CoordinateX(optional):
number
Title:
Coordinate XThe X coordinate of the inspection location. -
CoordinateY(optional):
number
Title:
Coordinate YThe Y coordinate of inspection location. -
Country(optional):
string
Title:
CountryMaximum Length:3The county of the inspection. -
County(optional):
string
Title:
CountyMaximum Length:60The county in the inspection address. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the record. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the record was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the inspection transaction. -
DistanceUOM(optional):
string
Title:
UnitsMaximum Length:5The distance unit of measure. The prompt is the common units table. -
EstimatedDurationHrs(optional):
number
Title:
DurationThe estimated duration of the inspection in hours. -
EstimatedTimeArrival(optional):
string(date-time)
Title:
ETA FromThe estimated time of arrival at the inspection site. -
EstimatedTimeArrivalEnd(optional):
string(date-time)
Title:
ETA ToThe estimated end time of arrival at the inspection site. -
ExpirationDate(optional):
string(date-time)
The date when the permit associated with the inspection expires.
-
FinalInspectionFlag(optional):
boolean
Indicates whether this is the final inspection. The default is no.
-
HideInspectorComment(optional):
string
Title:
Hide Inspector CommentMaximum Length:1Indicates whether inspector's comments are hidden from public users. This value defaults from the inspection type. -
InspectionCompleteDttm(optional):
string(date-time)
Title:
Completion DateThe date and time when inspection was completed. -
InspectionDistrictId(optional):
string
Title:
DistrictMaximum Length:30The inspection district ID. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The unique identifier for an inspection. Identifies the inspection transaction on the inspection list page and generated based on the automatic number rule configured for this inspection type, for example, E2018-00006. -
InspectionKey(optional):
integer(int64)
The unique identifier of an inspection.
-
InspectionLocation(optional):
string
Title:
Inspection LocationMaximum Length:100An optional descriptive name of the inspection location, such as Bank of America Building or corner lot. -
InspectionName(optional):
string
Maximum Length:
100The description of the inspection type. For example, Electrical Inspection, Final Fence Inspection, or Final Building Inspection. -
InspectionPuid(optional):
string
Maximum Length:
480The public unique identifier for an inspection. Used to import data. -
InspectionRating(optional):
string
Title:
RatingMaximum Length:5The calculated rating based on the rating method. -
InspectionResult(optional):
string
Title:
ResultMaximum Length:15The result of inspection, such as Pass, Fail, Yes, and No. -
InspectionScore(optional):
integer(int32)
Title:
ScoreThe calculated total inspection score. -
InspectionSource(optional):
string
Maximum Length:
30The source from which the inspection was created. -
InspectionStatus(optional):
string
Title:
StatusMaximum Length:15The status of the inspection. -
InspectionStreetNumberAlpha(optional):
string
Maximum Length:
20The street number in the parcel address used for sort when the content is alphanumeric. -
InspectionStreetNumberNumeric(optional):
integer(int64)
The street number in the parcel address used for sort when the content is numeric.
-
InspectionType(optional):
string
Title:
Inspection TypeMaximum Length:15The type of the inspection, such as Electrical. -
InspectionUpdateSource(optional):
string
The source from which the inspection was updated.
-
InspectorId(optional):
integer(int64)
Title:
Inspector IDThe ID of the inspector assigned to the inspection. -
InspectorInitials(optional):
string
Title:
InitialsMaximum Length:6The initials of the inspector. -
InspectorName(optional):
string
Title:
InspectorMaximum Length:360The name of the user who is assigned to the inspection. -
InspectorPuid(optional):
string
The public unique identifier for the inspector assigned to the inspection.
-
InspectorSignature(optional):
string(binary)
The inspector's signature.
-
InspectorSignatureDttm(optional):
string(date-time)
Title:
SignedThe date and time when the inspector signed the inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the record was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the record. -
links(optional):
array Items
Title:
ItemsLink Relations -
LnpRecordId(optional):
string
Title:
PermitMaximum Length:50The unique identifier for an application record. This identifier is automatically generated based on the rules configured for the record type. -
LnpRecordKey(optional):
integer(int64)
Title:
RecordThe unique identifier for a record. -
LocationLatitude(optional):
number
Title:
LatitudeThe latitude coordinate of the inspection location. -
LocationLongitude(optional):
number
Title:
LongitudeThe longitude coordinate of the inspection location. -
NoneResultItemCount(optional):
number
The number of inspection checklist items which have no result.
-
NumberMajorViolations(optional):
integer(int32)
Title:
Major ViolationThe calculated total number of major violations for the inspection. -
OwnerName(optional):
string
Title:
OwnerMaximum Length:360The owner's name. -
OwnerSignature(optional):
string(binary)
The site owner's signature.
-
OwnerSignatureDttm(optional):
string(date-time)
Title:
Signed OnThe date and time when the owner signed the inspection. -
ParcelId(optional):
integer(int64)
The unique identifier of the record parcel.
-
PermitDescription(optional):
string
Title:
Permit DescriptionMaximum Length:1000The description of the permit associated with the inspection. -
PermitStatus(optional):
string
Maximum Length:
15The status of the permit associated with the inspection. -
PermitSystemStatus(optional):
string
Maximum Length:
15The unique alphanumeric code or short name for the record status. -
PermitType(optional):
string
Maximum Length:
1000The type of permit associated with the inspection. -
PhoneAreaCode(optional):
string
Maximum Length:
10The contact's phone area code. -
PhoneCountryCode(optional):
string
Maximum Length:
10The contact's international country code for the phone number. -
PhoneExtension(optional):
string
Maximum Length:
20The contact's additional phone number extension. -
PhoneNumber(optional):
string
Title:
PhoneMaximum Length:40The contact's phone number. -
PostalCode(optional):
string
Title:
Postal CodeMaximum Length:60The postal code in the inspection address. -
PostalPlus4Code(optional):
string
Title:
Postal CodeMaximum Length:10The extended postal code in the inspection address. -
PreferredContactMethod(optional):
string
Title:
Contact MethodsMaximum Length:30The inspection location contact's preferred contact method. -
PreferredDate(optional):
string(date-time)
Title:
Preferred DateThe preferred date for the inspection to be performed. -
PreferredInspectorId(optional):
integer(int64)
Title:
Preferred InspectorThe unique identifier for the reinspection preferred inspector. -
PreferredInspectorName(optional):
string
The name of the reinspection preferred inspector.
-
PreferredTime(optional):
string
Title:
Preferred TimeMaximum Length:15The preferred time for the inspection to be performed. -
Province(optional):
string
Title:
ProvinceMaximum Length:60The province in the inspection address. -
ReadyByDttm(optional):
string(date-time)
Title:
Ready ByThe date and time after which the inspection can be performed. -
RecordNumber(optional):
string
Maximum Length:
64The public unique identifier for a permit. Used to import data. -
RecordType(optional):
string
Title:
Permit TypeMaximum Length:100The user-friendly name for the permit type. -
ReinspectionFlag(optional):
boolean
Indicates whether this is a reinspection. The default is no.
-
ReinspectionIdBy(optional):
string
Title:
Reinspected ByMaximum Length:50The unique identifier for the reinspection. -
ReinspectionIdOf(optional):
string
Title:
Reinspection OfMaximum Length:50The unique identifier of the failed inspection that requires a reinspection. -
RequestedDate(optional):
string
Title:
Ready by DateMaximum Length:255The date when the inspection was requested. -
RequestedTime(optional):
string
Title:
Ready by TimeMaximum Length:255The time when the inspection was requested. -
RequestorComment(optional):
string
Title:
CommentsMaximum Length:500The inspection requester's comments. -
SchedTimeAfterDescr(optional):
string
Maximum Length:
30The description to show instead of the inspection scheduled time if after the configured breakpoint. -
SchedTimeBeforeDescr(optional):
string
Maximum Length:
30The description to show instead of the inspection scheduled time if before the configured breakpoint. -
SchedTimeDisplayCutoff(optional):
string(date-time)
The breakpoint time used to determine which description to show for the inspection scheduled time.
-
SchedTimeRangeDisplay(optional):
string
Maximum Length:
1Indicates whether an inspection request should show configurable descriptions instead of a specific time. -
ScheduledEndDttm(optional):
string(date-time)
Title:
Schedule End DateThe scheduled inspection end date. -
ScheduledStartDate(optional):
string
Title:
DateMaximum Length:255The date when the inspection was scheduled. -
ScheduledStartDttm(optional):
string(date-time)
Title:
Schedule Start DateThe scheduled inspection start date. -
ScheduledStartTime(optional):
string
Title:
TimeMaximum Length:255The time when the inspection was scheduled. -
SchedulingMethod(optional):
string
Maximum Length:
15The 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. -
Srid(optional):
integer(int64)
The spatial reference ID (SRID) of the inspection location.
-
State(optional):
string
Title:
StateMaximum Length:60The state in the inspection address. -
StatusTime(optional):
string(date-time)
The date and time value of the scheduled inspection start time, requested inspection start time, or last updated date, which is determined by the inspection status.
-
StreetDirection(optional):
string
Maximum Length:
10The street direction in an address search. Values are compass directions, such as N, S, E, W, NW, SE, and so on. For example, they can be used to find all parcels with an address that is north of the city center. -
StreetName(optional):
string
Maximum Length:
240The street number in the parcel address. -
StreetNameConcat(optional):
string
Maximum Length:
350Indicates the concatenated value of the street name corresponding to the parcel address. The concatenated value of the street name is obtained by concatenating direction prefix, street name, street suffix and direction suffix. -
StreetNumber(optional):
string
Maximum Length:
20The street name in the parcel address used during a search. -
StreetSuffix(optional):
string
Maximum Length:
20The street suffix that further describes that street, For example Drive, Avenue, and so on. -
StreetType(optional):
string
Maximum Length:
20The street type designation used during a search. For example, alley, boulevard, avenue, lane, street, loop, and so on. -
SystemResult(optional):
string
Maximum Length:
20The unique alphanumeric code or short name for the inspection result. -
SystemStatus(optional):
string
Maximum Length:
15The unique alphanumeric code or short name for the inspection status. -
TextAreaCode(optional):
string
Maximum Length:
10The contact's mobile phone area code. -
TextCountryCode(optional):
string
Maximum Length:
10The contact's international country code for the mobile phone number. -
TextNumber(optional):
string
Title:
Mobile PhoneMaximum Length:40The contact's mobile phone number. -
TravelFromActualDistance(optional):
number
The total distance traveled from the inspection site.
-
TravelFromEndOdometer(optional):
number
The odometer reading upon arrival at the next location.
-
TravelFromStartOdometer(optional):
number
The odometer reading before travel from the inspection site.
-
TravelToActualDistance(optional):
number
The total distance traveled to the inspection site.
-
TravelToEndOdometer(optional):
number
The odometer reading upon arrival at the site.
-
TravelToStartOdometer(optional):
number
The odometer reading before travel to the inspection site.
-
UnitNumber(optional):
string
Maximum Length:
30The exact unit in a building used in an address search. For example, Apartment 208A or Suite 300.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.