Update an inspection
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCodeEnforcementInspections/{publicSectorCodeEnforcementInspectionsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorCodeEnforcementInspectionsUniqID: integer
This is the hash key of the attributes which make up the composite key--- TransactionKey and TransactionId ---for the Code Enforcement Inspections resource and used to uniquely identify an instance of Code Enforcement Inspections. The client should not generate the hash key value. Instead, the client should query on the Code Enforcement Inspections collection resource with a filter on the primary key values in order to navigate to a specific instance of Code Enforcement Inspections.
For example: publicSectorCodeEnforcementInspections?q=TransactionKey=<value1>;TransactionId=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCodeEnforcementInspections-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The identifier of the public sector agency.
-
AssignedId(optional):
integer(int64)
The identifier of the Code Enforcement officer.
-
CreatedBy(optional):
string
Maximum Length:
64
The name of the user who created the row. -
CreationDate(optional):
string(date-time)
The date and time when the row was created.
-
ExtensionCount(optional):
integer(int32)
The number of extenstions applied for a case.
-
ExtensionDate(optional):
string(date)
The new inspection due date.
-
InspectionActDate(optional):
string(date)
The date on which the inspection was actually carried out.
-
InspectionCount(optional):
integer(int32)
The number of inspections conducted for an incident or a case.
-
InspectionDueDate(optional):
string(date)
The date on which the inspection is due.
-
InspectionOutcome(optional):
string
Maximum Length:
15
The outcome of the inspection. -
InspectionOutcomeReason(optional):
string
Maximum Length:
100
The reason for the inspection outcome. -
InspectionSchDate(optional):
string(date)
The date on which the inspection is scheduled.
-
InspectionStatus(optional):
string
Maximum Length:
8
The identifier of the inspections status. -
LastUpdateDate(optional):
string(date-time)
The date and time when the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The name of the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
SourceTransactionId(optional):
string
Maximum Length:
50
The unique identifier of the source transaction from which the inspection originated. -
SourceTransactionKey(optional):
integer(int64)
The auto generated unique identifier of the source transaction from which the inspection originated.
-
SourceTransactionStatus(optional):
string
Maximum Length:
15
The status of the source transaction after the inspection due date is extended. -
SourceTransactionType(optional):
string
Maximum Length:
15
Indicates the transaction type from which the inspection originated. -
TransactionId(optional):
string
Maximum Length:
50
The unique identifier of the inspection. -
TransactionKey(optional):
integer(int64)
The auto generated unique identifier of the inspection.
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 : publicSectorCodeEnforcementInspections-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The identifier of the public sector agency.
-
AssignedId(optional):
integer(int64)
The identifier of the Code Enforcement officer.
-
CreatedBy(optional):
string
Maximum Length:
64
The name of the user who created the row. -
CreationDate(optional):
string(date-time)
The date and time when the row was created.
-
ExtensionCount(optional):
integer(int32)
The number of extenstions applied for a case.
-
ExtensionDate(optional):
string(date)
The new inspection due date.
-
InspectionActDate(optional):
string(date)
The date on which the inspection was actually carried out.
-
InspectionCount(optional):
integer(int32)
The number of inspections conducted for an incident or a case.
-
InspectionDueDate(optional):
string(date)
The date on which the inspection is due.
-
InspectionOutcome(optional):
string
Maximum Length:
15
The outcome of the inspection. -
InspectionOutcomeReason(optional):
string
Maximum Length:
100
The reason for the inspection outcome. -
InspectionSchDate(optional):
string(date)
The date on which the inspection is scheduled.
-
InspectionStatus(optional):
string
Maximum Length:
8
The identifier of the inspections status. -
LastUpdateDate(optional):
string(date-time)
The date and time when the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The name of the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
SourceTransactionId(optional):
string
Maximum Length:
50
The unique identifier of the source transaction from which the inspection originated. -
SourceTransactionKey(optional):
integer(int64)
The auto generated unique identifier of the source transaction from which the inspection originated.
-
SourceTransactionStatus(optional):
string
Maximum Length:
15
The status of the source transaction after the inspection due date is extended. -
SourceTransactionType(optional):
string
Maximum Length:
15
Indicates the transaction type from which the inspection originated. -
TransactionId(optional):
string
Maximum Length:
50
The unique identifier of the inspection. -
TransactionKey(optional):
integer(int64)
The auto generated unique identifier of the inspection.
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.