Rework Expenses resource (#3)
Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com> Reviewed-on: #3
This commit is contained in:
parent
c6434de89d
commit
6600745072
28 changed files with 317 additions and 89 deletions
38
bruno/Common Cents/Expenses/LOC POST Expense.bru
Normal file
38
bruno/Common Cents/Expenses/LOC POST Expense.bru
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
meta {
|
||||
name: LOC POST Expense
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{localBaseUrl}}/{{resourcePath}}
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"year": "2026",
|
||||
"month": "01",
|
||||
"day": "02",
|
||||
"cents": 1000,
|
||||
"description": "With cat, subcat and merchant and two tags",
|
||||
"category": {
|
||||
"id": "a73fbfdd-1949-4be9-8cdc-ea9197b9b8b6"
|
||||
},
|
||||
"subCategory": {
|
||||
"id": "270ceaea-9cb8-4c6a-846f-ea35ed4d12f7"
|
||||
},
|
||||
"merchant": {
|
||||
"id": "61246db4-3110-4fe2-bdab-d819b8fd0705"
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"id": "2616f724-f3ce-46df-8b30-897f147f6b74"
|
||||
},
|
||||
{
|
||||
"id": "16ed84e0-2d17-45c7-ada8-6fe7f8cc8720"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue