Update an inspection status
patch
/fscmRestApi/resources/11.13.18.05/publicSectorInspectionStatuses/{publicSectorInspectionStatusesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorInspectionStatusesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and SystemStatus ---for the Inspection Statuses resource and used to uniquely identify an instance of Inspection Statuses. The client should not generate the hash key value. Instead, the client should query on the Inspection Statuses collection resource with a filter on the primary key values in order to navigate to a specific instance of Inspection Statuses.
For example: publicSectorInspectionStatuses?q=AgencyId=<value1>;SystemStatus=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorInspectionStatuses-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The identifier for the public sector agency to which this inspection status applies. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the inspection status. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time when the inspection status was created. -
DeletedFlag(optional):
string
Maximum Length:
1
Indicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. The default value is N. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the inspection status. -
InspectionStatus(optional):
string
Title:
Status
Maximum Length:15
The name of the inspection status. The status name is used as the display status for the inspection in the permit application. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time when the inspection status was last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last modified the inspection status. -
links(optional):
array Items
Title:
Items
Link Relations -
SeedDataLock(optional):
integer(int32)
Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
-
SystemStatus(optional):
string
Title:
System Status
Maximum Length:15
The unique identifier for the inspection status.
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 : publicSectorInspectionStatuses-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The identifier for the public sector agency to which this inspection status applies. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the inspection status. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time when the inspection status was created. -
DeletedFlag(optional):
string
Maximum Length:
1
Indicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. The default value is N. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the inspection status. -
InspectionStatus(optional):
string
Title:
Status
Maximum Length:15
The name of the inspection status. The status name is used as the display status for the inspection in the permit application. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time when the inspection status was last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last modified the inspection status. -
links(optional):
array Items
Title:
Items
Link Relations -
SeedDataLock(optional):
integer(int32)
Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
-
SystemStatus(optional):
string
Title:
System Status
Maximum Length:15
The unique identifier for the inspection status.
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.