Get all code enforcement inspections

get

/fscmRestApi/resources/11.13.18.05/publicSectorCodeEnforcementInspectionLists

Request

Query Parameters
  • 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).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields 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 fields. 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
  • 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:

    • PrimaryKey: Finds the inspection row that matches the specified primary key criteria.
      Finder Variables:
      • TransactionId; string; The identifier of the inspection for the person the row is created.
      • TransactionKey; integer; The key identifier of the inspection for the person the row is created.
    • jobAttributeFilterFinder: Finds the inspection that matches the specified search criteria based on the job attributes of the logged in code officer.
      Finder Variables:
      • OfficerId; integer; Finds the inspection that matches the specified identifier of the logged in code officer.
    • simpleSearchFinder: Finds the inspection that matches the specified keyword.
      Finder Variables:
      • OfficerId; integer; Finds the inspection that matches the specified identifier of the logged in code officer.
      • value; string; Finds the inspection that matches the specified value.
  • 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.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • 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.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. 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
  • 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

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • AgencyId; integer; The identifier of the public sector agency.
    • AssignedCodeOfficerName; string; The name of the assigned code officer for the inspection.
    • AssignedCodeTechnicianName; string; The name of the assigned code technician for the inspection.
    • AssignedId; integer; The identifier of the Code Enforcement officer.
    • ComplianceDueDate; string; The identifier of the compliance due date of the case.
    • DistrictId; string; The identifier of the district where the property is located.
    • EarlyInspection; string; Indicates whether this inspection is marked for early inspection or not.
    • InspectionActDate; string; The date on which the inspection was actually carried out.
    • InspectionActualDate; string; The date on which the inspection was actually carried out.
    • InspectionCount; integer; The identifier of the count of the inspections carried out in relation to an incident or case.
    • InspectionCountName; string; The count of the inspection.
    • InspectionDueBy; string; The date on which the inspection is due.
    • InspectionDueDate; string; The date on which the inspection is due.
    • InspectionOutcome; string; The identifier of the outcome of the inspection.
    • InspectionOutcomeReason; string; The identifier of the reason for the inspection outcome.
    • InspectionReady; string; Indicates the ready status of the inspection.
    • InspectionReadyEarly; string; Indicates the case is ready early for the inspection.
    • InspectionSchDate; string; The date on which the inspection is scheduled. The format of the value uses the character type.
    • InspectionScheduleDate; string; The date on which the inspection is scheduled.
    • InspectionStatus; string; The identifier of the inspections status.
    • InspectionStatusName; string; The status of the inspection.
    • IntakeKey; integer; The unique identifier of the incident or the case.
    • IssueDescription; string; The description of the issue being processed.
    • IssueSubtype; string; The identifier of the issue subcategory that is being processed.
    • IssueSubtypeCode; string; The identifier of the issue subcategory that is being processed.
    • IssueSubtypeId; string; The unique identifier of the issue subcategory that is being processed.
    • IssueType; string; The identifier of the issue category that is being processed.
    • IssueTypeId; string; The unique identifier of the issue category that is being processed.
    • Latitude; number; The latitude value of the location of the property.
    • Longitude; number; The longitude value of the location of the property.
    • Priority; string; The identifier for the priority of the incident or case.
    • PropertyAddress1; string; The address 1 of the property.
    • PropertyAddress2; string; The address 2 of the property.
    • PropertyAddress3; string; The address 3 of the property.
    • PropertyAddress4; string; The address 4 of the property.
    • PropertyAddressId; integer; The unique identifier of the address of the property that is being inspected.
    • PropertyCity; string; The name of the city where the property is located.
    • PropertyCoordinateX; number; The X coordinate value of the location of the property.
    • PropertyCoordinateY; number; The Y coordinate value of the location of the property.
    • PropertyCountry; string; The name of the country where in the property is located.
    • PropertyCounty; string; The name of the county where in the property is located.
    • PropertyParcelId; integer; The unique id of the parcel of land where the property is located.
    • PropertyPostalCode; string; The postal code of the area where the property is located.
    • PropertyPostalPlusFourCode; string; The identifier of the postal code of the area where the property is located.
    • PropertyProvince; string; The name of the province where in the property is located.
    • PropertyState; string; The name of the state where in the property is located.
    • ReferralCode; string; The identifier of the agency to which the incident is referred to.
    • ReviewerId; integer; The identifier of the code enforcement technician.
    • SourceTransactionId; string; The unique identifier of the source transaction from which the inspection originated.
    • SourceTransactionKey; integer; The auto generated unique identifier of the source transaction from which the inspection originated.
    • SourceTransactionStatusName; string; The source transaction status of the inspection.
    • SourceTransactionType; string; Indicates the transaction type from which the inspection originated.
    • Status; string; The identifier for the status of the incident or case.
    • TransactionId; string; The unique identifier of the inspection.
    • TransactionKey; integer; The unique identifier of the inspection that is automatically generated.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
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.

There's no request body for this operation.

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 : publicSectorCodeEnforcementInspectionLists
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : publicSectorCodeEnforcementInspectionLists-item-response
Type: object
Show Source
Back to Top