Create Accounting Details from Registrations

Oracle Health Insurance application provides a means to generate accounting details from registration.

The user can start this long-running operation through the following POST request:

http://[hostName]:[portNumber]/[api-context-root]/registrations/accountingdetails

For more information on long-running operations, see HTTP API/IP Concepts chapter in the Developer Guide.

Table 1. Generate Accounting Details Request Parameters
Parameter Description

Description

The description of the long running operation .

Registration Creation Date From

Evaluate to true for registration if the creation date (audit column) of the registration transaction is between (inclusive) the criteria.

If the time element is not specified, it works as follows:

  • If the time element for Creation Date From is left unspecified, it translates to 00:00.

  • If the time element for Creation Date To is left unspecified, it translates to 23:59.

Created Time From

Creation Date To

Created Time To

Updated Date From

Evaluates to true for registration if the update date (audit column) of the registration transaction is between (inclusive) the criteria.

If the time element is not specified, it works as follows:

  • If the time element for Update Date From is left unspecified, it translates to 00:00.

  • If the time element for Update Date To is left unspecified, it translates to 23:59.

Updated Time From

Updated Date To

Updated Time To

Grouping

Registrations with the specified grouping are selected.

CodeType

Registrations with the specified code type are selected.

Create Accounting Detail Dynamic Logic Function

This dynamic logic function must be of signature Create Registration Accounting Detail or Create Registration Accounting Detail with Dual. If it is of another signature, the error message FIN-IP-REGI-003 is attached to the activity.

Processing

The system selects the registrations based on the specified request parameters for which accounting details for the specified grouping value have not yet been created.

The system creates an accounting detail line(s) for every selected registration and records an entry in the accounting detail grouping table

The dynamic logic function 'Create Accounting Detail for Registration' further enriches the accounting detail line(s).

Accounting Detail Line

See Accounting Detail Line for more information.

Authorization

A user authorization configuration requires access to this operation. The relevant access restriction is createregistrationaccountingdetail batch IP.

Response

The integration responds with HTTP 201 (created) and a location header for the long-running operation. The long-running operation resource provides further details on the operator’s process and can be followed to get the process status.

Alternatively, notification events can also be used to track the progress of the process. A pre-configured endpoint receives a notification message.

The chapter Long Running Operations through REST in the Developer Guide describes the standard notification structure of the notification message.

For the process and properties notification endpoint, see Outbound RESTful Service Invocations in the Security Guide section.

Error Messages

This process can result in the following error messages in response:

Table 2. Error Messages
Code Severity Message Element ID

FIN-IP-REGI-003

Fatal

Dynamic logic with code {0} is unknown or not of signatures 'Create Accounting Detail' or 'Create Accounting Detail with Dual' for registration

FIN-IP-REGI-004

Fatal

Date (time) from should be on or before the date (time) to

FIN-IP-REGI-005

Fatal

It is mandatory to specify at least one of the following 1) creation date from or 2) creation date to or 3) update date from or 4) update date to

FIN-IP-REGI-006

Fatal

It is mandatory to specify at least one of the following 1) code type or 2) grouping