Перейти к основному содержанию
PATCH
/
v1
/
finances
/
exchanges
/
{id}
cURL
curl --request PATCH \
  --url https://api.example.com/v1/finances/exchanges/{id}/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_from": 123,
  "account_to": 123,
  "tags": [
    123
  ],
  "amount": "<string>",
  "datetime": "2023-11-07T05:31:56Z"
}
'
{
  "id": 123
}

Параметры пути

id
integer
обязательно

Тело

account_from
integer
account_to
integer
tags
integer[]
amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
datetime
string<date-time>

Ответ

200 - application/json
id
integer
обязательно