Get all IVR inspections
get
/fscmRestApi/resources/11.13.18.05/publicSectorIVRInspections
Request
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 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- RowFinder: Finds an IVR inspection by INSPECTION_ID and LNP_RECORD_ID. Finder Variables:
- LNP_RECORD_ID; string; The unique identifier for an application record. This identifier is automatically generated based on the rules configured for the record type.
- PrimaryKey: Finds the IVR inspection that matches the specified primary key criteria. Finder Variables:
- InspectionKey; integer; The unique identifier for the IVR inspection.
- RowFinder: Finds an IVR inspection by INSPECTION_ID and LNP_RECORD_ID. Finder Variables:
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2 -
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Response
Supported Media Types
- application/vnd.oracle.adf.resourcecollection+json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorIVRInspections
Type:
Show Source
object-
count(optional):
integer
Title:
CountThe number of resource instances returned in the current range. -
hasMore(optional):
boolean
Title:
HasMoreIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items(optional):
array Items
Title:
ItemsThe items in the collection. -
limit(optional):
integer
Title:
LimitThe actual paging size used by the server. -
links(optional):
array Items
Title:
ItemsThe link relations associated with the resource instance. -
offset(optional):
integer
Title:
OffsetThe offset value used in the current page.
Nested Schema : Items
Type:
arrayTitle:
ItemsThe link relations associated with the resource instance.
Show Source
Nested Schema : publicSectorIVRInspections-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. -
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. -
BillableFlag(optional):
boolean
Title:
Billable OptionIndicates whether the inspection is billable. The value defaults from the inspection type associated with the inspection. -
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. -
ContractorSignatureDttm(optional):
string(date-time)
Title:
SignedThe date and time when the contractor signed the inspection. -
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:
Estimated Duration in HoursThe 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. -
FinalInspectionFlag(optional):
boolean
Indicates whether this is the final inspection. The default is no.
-
HideInspectorComment(optional):
string
Title:
Hide Inspector CommentMaximum Length:1Indicates whether the 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 the inspection was completed. -
InspectionDistrictId(optional):
string
Title:
DistrictMaximum Length:30The unique identifier for the inspection district. -
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. -
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. -
InspectionStatus(optional):
string
Title:
StatusMaximum Length:15The status of the inspection. -
InspectionType(optional):
string
Title:
Inspection TypeMaximum Length:15The type of the inspection, such as Electrical. -
InspectorSignatureDttm(optional):
string(date-time)
Title:
SignedThe date and time when the inspector signed the inspection. -
IvrAccessCode(optional):
string
The IVR password associated with the permit's applicant user profile, or the user profile of any of the permit's registered contacts.
-
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date the inspection was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
LnpRecordId(optional):
string
Title:
Record IDMaximum 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. -
NoneResultItemCount(optional):
number
The number of checklist items for the inspection for which there is no inspection result.
-
NumberMajorViolations(optional):
integer(int32)
Title:
Major ViolationThe calculated total number of major violations for the inspection. -
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.
-
PreferredDate(optional):
string(date-time)
Title:
Preferred DateThe preferred date for the inspection. -
PreferredTime(optional):
string
Title:
Preferred TimeMaximum Length:15The preferred time for the inspection, for example Morning or Afternoon. -
ReadyByDttm(optional):
string(date-time)
Title:
Ready ByThe date and time that the inspection site will be ready for the inspection to be performed. -
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.
-
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. -
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. -
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.
-
StreetNumber(optional):
string
Maximum Length:
20The street number of the parcel address, or the first four characters of the parcel address. -
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. -
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.
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.