Update an inspection group
patch
/fscmRestApi/resources/11.13.18.05/publicSectorInspectionGroups/{publicSectorInspectionGroupsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorInspectionGroupsUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and InspectionGroup ---for the Inspection Groups resource and used to uniquely identify an instance of Inspection Groups. The client should not generate the hash key value. Instead, the client should query on the Inspection Groups collection resource with a filter on the primary key values in order to navigate to a specific instance of Inspection Groups.
For example: publicSectorInspectionGroups?q=AgencyId=<value1>;InspectionGroup=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorInspectionGroups-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe 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. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the inspection group. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the inspection group was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description for a group of inspections that are associated with a permit type. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether an inspection group is available to be applied to a permit, license, or code enforcement record type. The default value is false. -
InspectionGroup(optional):
string
Maximum Length:
15The identifier for a group of inspections that are associated with a permit, license, or code enforcement record type. -
InspectionGroupLine(optional):
array Inspection Group Lines
Title:
Inspection Group LinesThe inspection group line resource is used to view, create, delete, or modify an inspection group line. An inspection group line identifies the individual inspection types associated with a permit, license, or plan. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the inspection group was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the inspection group. -
links(optional):
array Items
Title:
ItemsLink Relations
Nested Schema : Inspection Group Lines
Type:
arrayTitle:
Inspection Group LinesThe inspection group line resource is used to view, create, delete, or modify an inspection group line. An inspection group line identifies the individual inspection types associated with a permit, license, or plan.
Show Source
Nested Schema : publicSectorInspectionGroups-InspectionGroupLine-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe unique 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. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the inspection group line. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the inspection group line was created. -
DependentInspectionTypeCode(optional):
string
Maximum Length:
2000The dependent inspection types defined for this inspection type. -
DependentInspectionTypeDescr(optional):
string
Maximum Length:
2500The descriptions of the dependent inspection types defined for this inspection type. -
FinalInspectionFlag(optional):
boolean
Indicates the final inspection in an inspection group. Only one inspection in the group can be selected as the final inspection. The default value is false.
-
InspectionGroup(optional):
string
Maximum Length:
15The unique identifier for a group of inspections that are associated with a permit, license, or code enforcement record type. -
InspectionType(optional):
string
Maximum Length:
15The unique identifier for a type of inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the inspection group line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The session login associated with the user who last updated the inspection group line. -
links(optional):
array Items
Title:
ItemsLink Relations -
Required(optional):
boolean
Title:
RequiredIndicates whether an inspection is required or not required. If true, the inspection is required. The default value is false.
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.
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 : publicSectorInspectionGroups-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe 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. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the inspection group. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the inspection group was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description for a group of inspections that are associated with a permit type. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether an inspection group is available to be applied to a permit, license, or code enforcement record type. The default value is false. -
InspectionGroup(optional):
string
Maximum Length:
15The identifier for a group of inspections that are associated with a permit, license, or code enforcement record type. -
InspectionGroupLine(optional):
array Inspection Group Lines
Title:
Inspection Group LinesThe inspection group line resource is used to view, create, delete, or modify an inspection group line. An inspection group line identifies the individual inspection types associated with a permit, license, or plan. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the inspection group was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the inspection group. -
links(optional):
array Items
Title:
ItemsLink Relations
Nested Schema : Inspection Group Lines
Type:
arrayTitle:
Inspection Group LinesThe inspection group line resource is used to view, create, delete, or modify an inspection group line. An inspection group line identifies the individual inspection types associated with a permit, license, or plan.
Show Source
Nested Schema : publicSectorInspectionGroups-InspectionGroupLine-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe unique 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. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the inspection group line. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the inspection group line was created. -
DependentInspectionTypeCode(optional):
string
Maximum Length:
2000The dependent inspection types defined for this inspection type. -
DependentInspectionTypeDescr(optional):
string
Maximum Length:
2500The descriptions of the dependent inspection types defined for this inspection type. -
FinalInspectionFlag(optional):
boolean
Indicates the final inspection in an inspection group. Only one inspection in the group can be selected as the final inspection. The default value is false.
-
InspectionGroup(optional):
string
Maximum Length:
15The unique identifier for a group of inspections that are associated with a permit, license, or code enforcement record type. -
InspectionType(optional):
string
Maximum Length:
15The unique identifier for a type of inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the inspection group line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The session login associated with the user who last updated the inspection group line. -
links(optional):
array Items
Title:
ItemsLink Relations -
Required(optional):
boolean
Title:
RequiredIndicates whether an inspection is required or not required. If true, the inspection is required. The default value is false.
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.