Forecasted Transactions
Update forecasted transaction
Update the forecasted transaction with the specified ID using JSON Patch operations, given that the provided ETag matches. Some fields can only be updated if the forecasted transaction was manually created by a user (origin type USER). For example, if the forecasted transaction was automatically generated from accounting data, the counterpartyId cannot be changed.
patch/analytics/v2beta/forecasted-transactions/{id}
Path parameters
idstring required
Atlar resource ID.
Headers
If-Matchstring
ETag (version) of resource to be updated.
Response
The updated forecasted transaction.
Example response
{
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
"scenarioId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"parent": {
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
},
"amount": {
"currency": "EUR",
"stringValue": "15.02",
"value": 1502
},
"date": "2022-05-07",
"origin": {
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
},
"metadata": {
"my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
},
"counterparty": {
"partyType": "INDIVIDUAL",
"name": "Customer #312",
"nationalIdentifier": {
"type": "CIVIC",
"market": "DE",
"number": "2012121212"
},
"address": {
"country": "DE",
"countrySubdivision": "US-CA",
"city": "Stockholm",
"postalCode": "11111",
"streetName": "Example street",
"streetNumber": "47"
},
"account": {
"market": "DE",
"identifiers": [
{
"type": "IBAN",
"market": "DE",
"number": "DE75512108001245126199"
}
],
"routing": [
{
"type": "BIC",
"number": "BUKBGB22"
}
]
}
},
"created": "2022-05-04T18:31:12.889104898Z",
"updated": "2022-05-04T18:47:32.213842599Z",
"version": 1,
"etag": "version:3"
}