fixed PUT nullable merchant/note
This commit is contained in:
parent
389ef8c7ce
commit
f390e2a8c3
7 changed files with 74 additions and 52 deletions
|
|
@ -13,9 +13,14 @@ post {
|
|||
body:json {
|
||||
{
|
||||
"date": "2026-01-03",
|
||||
"cents": 101111,
|
||||
"note": "Gas",
|
||||
"categoryId": "db21acbb-0e3e-4ea1-89e1-3d52e5d72cb4",
|
||||
"merchantId": "b9028a32-1305-4699-8611-d8fd812ebc04"
|
||||
"cents": 12345,
|
||||
"category": {
|
||||
"id": "852f2391-27a3-4d84-a9c7-0cd0b2efd899",
|
||||
"name": "Groceries:Food"
|
||||
},
|
||||
"merchant": {
|
||||
"id": "f5216666-b022-4ddb-a4b1-f940e5d4f8f2",
|
||||
"name": "Walmart"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,11 +11,23 @@ put {
|
|||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"id": "0254a07d-9dfa-4c06-b7b3-48d30efff991",
|
||||
"description": "Cat, no sub-cat or merchant",
|
||||
"category": {
|
||||
"id": "db434e98-5f32-4202-b69c-eb7d1d248b3e"
|
||||
{
|
||||
"id": "271342fa-94c5-43e2-96f8-6d45668af567",
|
||||
"date": "2026-01-03",
|
||||
"cents": 4554,
|
||||
"category": {
|
||||
"id": "3b1e6730-29e2-4e51-bee0-4208d8997962",
|
||||
"name": "Auto:Gas"
|
||||
},
|
||||
"merchant": {
|
||||
"id": "decb74e6-d680-4124-81b2-08e0fd9fa94c",
|
||||
"name": "Casey's"
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"id": "0ac325ca-ee13-4185-906c-257afa48c4ee",
|
||||
"name": "Tundra"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue