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:
"PNL_ADD_ON_0"
Adjustment creation (sign-off server)
The following endpoints are hosted on the 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:
| Field | Type | Description |
|---|---|---|
signOffTaskId | number | The identifier of the sign-off task. |
type | string | The adjustment type (for example, PNL_ADD_ON). |
reason | string | The reason for the adjustment. |
comment | string | A free-text comment. |
startDate | string | The start date of the adjustment scope. |
endDate | string | The end date of the adjustment scope. |
location | array of {name, value} | The location filters that scope the adjustment. |
measures | array of strings | The measures targeted by the adjustment. |
input | array of {name, value} | The input values for the adjustment. |
| Field | Type | Description |
|---|---|---|
id | number | The database id of the created adjustment. Matches the id returned by GET /sign-off/rest/v2/adjustments/{taskId} and accepted by DELETE /sign-off/rest/v2/adjustments. |
executionId | string | The stable identifier of the adjustment execution. Used by the status endpoints. |
definitionId | string | The identifier of the adjustment definition. |
The response body is available from Atoti Sign-Off 6.1.21 (SO-1118). Earlier versions return HTTP 200 with an empty response body.
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.
Verifying adjustment executions
After creating adjustments, the following endpoints on the 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"