latestSwagger 2.02026-08-20196638916.1 KB
23d8982b533d
Finance Management.Savings Goals
ENTERPRISE
ReAllocate amount
ReAllocate amount from a Savings Goal to another Savings Goal.
post/api/v1/savings-goals/allocations/fund:reallocate
Request body
Example request
{
"amount": {
"currencyCode": "EUR",
"scale": 2,
"unscaledValue": 2000
},
"destinationSavingsGoalId": "d9f134ee2eb44846a4e02990ecc8d32e",
"sourceSavingsGoalId": "d9f134ee2eb44846a4e02990ecc8d32e"
}Response
The reallocation allocation.
Example response
{
"amount": {
"currencyCode": "EUR",
"scale": 2,
"unscaledValue": 2000
},
"createTime": "2020-05-14T13:30:45Z",
"destinationId": "d9f134ee2eb44846a4e02990ecc8d32e",
"id": "d9f134ee2eb44846a4e02990ecc8d32e",
"sourceId": "d9f134ee2eb44846a4e02990ecc8d32e"
}