Create an inspection group line
post
/fscmRestApi/resources/11.13.18.05/publicSectorInspectionGroups/{publicSectorInspectionGroupsUniqID}/child/InspectionGroupLine
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-InspectionGroupLine-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The 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 By
Maximum Length:64
The user who created the inspection group line. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date when the inspection group line was created. -
FinalInspectionFlag(optional):
boolean
Title:
Final Inspection
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
Title:
Inspection Group
Maximum Length:15
The unique identifier for a group of inspections that are associated with a permit, license, or code enforcement record type. -
InspectionType(optional):
string
Title:
Inspection Type
Maximum Length:15
The unique identifier for a type of inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the inspection group line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The session login associated with the user who last updated the inspection group line. -
links(optional):
array Items
Title:
Items
Link Relations -
Required(optional):
boolean
Title:
Required
Indicates 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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-InspectionGroupLine-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The 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 By
Maximum Length:64
The user who created the inspection group line. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date when the inspection group line was created. -
FinalInspectionFlag(optional):
boolean
Title:
Final Inspection
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
Title:
Inspection Group
Maximum Length:15
The unique identifier for a group of inspections that are associated with a permit, license, or code enforcement record type. -
InspectionType(optional):
string
Title:
Inspection Type
Maximum Length:15
The unique identifier for a type of inspection. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the inspection group line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The session login associated with the user who last updated the inspection group line. -
links(optional):
array Items
Title:
Items
Link Relations -
Required(optional):
boolean
Title:
Required
Indicates 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.