Update a status history event record
patch
/fscmRestApi/resources/11.13.18.05/publicSectorStatusHistories/{publicSectorStatusHistoriesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorStatusHistoriesUniqID: integer
This is the hash key of the attributes which make up the composite key--- TransactionType, TransactionKey and ChangeDate ---for the Status Histories resource and used to uniquely identify an instance of Status Histories. The client should not generate the hash key value. Instead, the client should query on the Status Histories collection resource with a filter on the primary key values in order to navigate to a specific instance of Status Histories.
For example: publicSectorStatusHistories?q=TransactionType=<value1>;TransactionKey=<value2>;ChangeDate=<value3>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorStatusHistories-item
Type:
Show Source
object-
AttributeChanged(optional):
string
Title:
Attribute ChangedMaximum Length:30The column name or attribute that was changed. -
ChangeDate(optional):
string(date-time)
Title:
Updated DateThe date when the status change was made. -
CreatedBy(optional):
string
Title:
Updated ByMaximum Length:64The user who changed the status. -
CreatedByName(optional):
string
The user who changed the status.
-
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the status was changed. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the status change was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who made the last status change. -
links(optional):
array Items
Title:
ItemsLink Relations -
LnpRecordId(optional):
string
Title:
PermitMaximum Length:50The permit transaction identification number. -
LnpRecordKey(optional):
integer(int64)
The unique identifier for the related permit transaction.
-
NewValue(optional):
string
Title:
StatusMaximum Length:100The new value for the column or attribute that was changed. -
Reason(optional):
string
Title:
ReasonMaximum Length:1000The reason for the status change. -
RecordTypeCode(optional):
string
Title:
Permit Type CodeMaximum Length:20The unique identifier for the permit type code. -
RelAttributeChanged(optional):
string
Title:
Related Attribute ChangedMaximum Length:30The related column attribute that was changed. The related attribute is a secondary attribute for a given transaction. For the permit transaction, for example, the main attribute is Permit Status and a secondary or related attribute is System Status. -
RelNewValue(optional):
string
Title:
Related ValueMaximum Length:100The new value for the related attribute that was changed. The related attribute value is a secondary attribute value for a given transaction. For the permit transaction, for example, the secondary or related attribute is System Status and the related attribute value could be PND or Pending. -
TransactionId(optional):
string
Title:
Transaction IDMaximum Length:100The transaction identification number. -
TransactionKey(optional):
string
Title:
Transaction KeyMaximum Length:100The unique identifier for the subject code transaction. -
TransactionType(optional):
string
Title:
Transaction TypeMaximum Length:10The transaction type relating to the status change. For example, plan review, inspection, or hearing.
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 : publicSectorStatusHistories-item
Type:
Show Source
object-
AttributeChanged(optional):
string
Title:
Attribute ChangedMaximum Length:30The column name or attribute that was changed. -
ChangeDate(optional):
string(date-time)
Title:
Updated DateThe date when the status change was made. -
CreatedBy(optional):
string
Title:
Updated ByMaximum Length:64The user who changed the status. -
CreatedByName(optional):
string
The user who changed the status.
-
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the status was changed. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the status change was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who made the last status change. -
links(optional):
array Items
Title:
ItemsLink Relations -
LnpRecordId(optional):
string
Title:
PermitMaximum Length:50The permit transaction identification number. -
LnpRecordKey(optional):
integer(int64)
The unique identifier for the related permit transaction.
-
NewValue(optional):
string
Title:
StatusMaximum Length:100The new value for the column or attribute that was changed. -
Reason(optional):
string
Title:
ReasonMaximum Length:1000The reason for the status change. -
RecordTypeCode(optional):
string
Title:
Permit Type CodeMaximum Length:20The unique identifier for the permit type code. -
RelAttributeChanged(optional):
string
Title:
Related Attribute ChangedMaximum Length:30The related column attribute that was changed. The related attribute is a secondary attribute for a given transaction. For the permit transaction, for example, the main attribute is Permit Status and a secondary or related attribute is System Status. -
RelNewValue(optional):
string
Title:
Related ValueMaximum Length:100The new value for the related attribute that was changed. The related attribute value is a secondary attribute value for a given transaction. For the permit transaction, for example, the secondary or related attribute is System Status and the related attribute value could be PND or Pending. -
TransactionId(optional):
string
Title:
Transaction IDMaximum Length:100The transaction identification number. -
TransactionKey(optional):
string
Title:
Transaction KeyMaximum Length:100The unique identifier for the subject code transaction. -
TransactionType(optional):
string
Title:
Transaction TypeMaximum Length:10The transaction type relating to the status change. For example, plan review, inspection, or hearing.
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.