Oracle REST REST Error Flag Reset

The Oracle REST REST Error Flag Reset integration must be called manually after an error occurs and is fixed. This integration does the following:
  • Resets the flags in the table OHIP_OIC_EXT_SYS_CONFIG_TAB and table OHIP_OIC_BUSINESS_EVENTS_Q_TAB

  • Calls the Capture Business Events Integration Flow (Oracle Hospitality ATP Capture BE) to continue processing of business events after error resolution 

Integration Flow

Figure 2-16 Oracle REST REST Error Flag Reset


This figure shows the integration flow of the Oracle REST REST Error Flag Reset.

Integration Description

This Integration is called manually after an error occurs and is fixed.

It calls the procedure OHIP_OIC_RESET_DATA_SP that resets the error flags after the error is resolved and subsequently calls the Capture Business Events Integration Flow to continue processing of business events.

This procedure must be called manually by logging in to the OIC instance with the Service.invoker role and passing the parameter of the external system id for which the error was fixed.

OR

Alternately, the following Rest endpoint url can be called via a rest client of your choice, such as postman, or by using a curl command with the payload mentioning the errored external system id and having Service.invoker access privileges.

Rest Endpoint: https://oichostname:port/ic/api/integration/v1/flows/rest/ORCL-TA-REST_REST_ERROR_FLAG_RES/1.0/Hospitality/ResetData

Payload(JSON): 
{  
 "External_System_id": "Your_External_System_id_for_which_error_resolved"  
}