PON_IOT_SCORING_REQ_TRAIL

PON_IOT_SCORING_REQ_TRAIL records each call to IOT Scoring API to fetch recommendations. Stores REQUEST PAYLOAD sent to the API and RESPONSE PAYLOAD received from the API.

Details

  • Schema: FUSION

  • Object owner: PON

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

PON_IOT_SCORING_REQ_TRAIL_PK

SCORING_REQUEST_ID

Columns

Name Datatype Length Precision Not-null Comments
SCORING_REQUEST_ID NUMBER 18 Yes Unique ID generated for each request sent to scoring API
AUCTION_HEADER_ID NUMBER 18 Auction Header Identifier
SCORING_REQ_PAYLOAD CLOB Stores request payload sent to Scoring API. Value is text in JSON format. It has the IS JSON constraint.
SCORING_RESP_PAYLOAD CLOB Stores response payload received from Scoring API. Value is text in JSON format. It has the IS JSON constraint.
SCORING_REQ_STATUS VARCHAR2 30 Status of request to Scoring API
SCORING_ERROR VARCHAR2 4000 Details of the state incase of any failures.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
TRAIL_TYPE VARCHAR2 64 Type of the request trail
REFERENCE_ID VARCHAR2 30 Reference Id for the trail. Example config_id
URL VARCHAR2 4000 Stores URL of service call.

Indexes

Index Uniqueness Tablespace Columns
PON_IOT_SCORING_REQ_TRAIL_N1 Non Unique Default AUCTION_HEADER_ID
PON_IOT_SCORING_REQ_TRAIL_U1 Unique Default SCORING_REQUEST_ID