Skip to main content

Supported adjustments

Endpoint: /adjustments/supported/<_server_name_> Method : GET Example endpoint: http://localhost:9090/adjustments/supported/MR Result is a serialized array of SupportedAdjustmentDTOs read more about this DTO Example Result:

Adjustment execution

Endpoint: /adjustments/request Method : POST Example endpoint: http://localhost:9090/adjustments/request Body is a serialized AuditableAdjustmentRequestDTO read more about this DTO Example Body:
Result is the execution ID Example Result: "PNL_ADD_ON_0"

Adjustment creation (Atoti Sign-Off server)

The following endpoints are hosted on the Atoti Sign-Off server (not the application server). They create adjustments and return identifiers that can be used to track execution status.

Bulk creation

Endpoint: /sign-off/rest/v2/adjustments Method: POST Example endpoint: http://localhost:8080/sign-off/rest/v2/adjustments The request body is a JSON array of adjustment objects. Each object accepts the following fields: The response is a JSON array in the same order as the request. Each element contains:
The response body is available from Atoti Sign-Off 6.1.21 (SO-1118). Earlier versions return HTTP 200 with an empty response body.
Example response:

Single adjustment creation

Endpoint: /sign-off/rest/v2/adjustment Method: POST Example endpoint: http://localhost:8080/sign-off/rest/v2/adjustment The request body is a single adjustment object using the same fields as the bulk endpoint above. The response is a single object with the same fields as one element of the bulk response:
The response body is available from Atoti Sign-Off 6.1.21 (SO-1118). Earlier versions return HTTP 200 with an empty response body.

Verification endpoints

After creating adjustments, the following endpoints on the Atoti Sign-Off server allow status tracking. GET /sign-off/rest/v2/adjustments/{taskId} — returns all adjustments for a task, including their id and status fields. GET /adjustments/status/{taskId} — returns a map of execution ids to status for a task. The {taskId} parameter is the workflow process-instance key. GET /adjustments/execution-status/{executionId} — returns the status of a single execution by its executionId.

Execution status

Endpoint: /adjustments/status/<_server_name_>/<_execution_Id_> Method : GET Example endpoint: http://localhost:9090/adjustments/status/MR/PNL\_ADD\_ON\_0 Result is a Status read more about this DTO Example Result: "REQUESTED"