implemented all controller/service verbs
This commit is contained in:
parent
085e84b086
commit
f150fe84f2
9 changed files with 246 additions and 65 deletions
11
bruno/Common Cents/Expenses/LOC DEL Expense.bru
Normal file
11
bruno/Common Cents/Expenses/LOC DEL Expense.bru
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
meta {
|
||||
name: LOC DEL Expense
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{localBaseUrl}}/expenses/2aa94170-2c57-4c4f-a1e7-13544ba72917
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
11
bruno/Common Cents/Expenses/LOC GET Expense By ID.bru
Normal file
11
bruno/Common Cents/Expenses/LOC GET Expense By ID.bru
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
meta {
|
||||
name: LOC GET Expense By ID
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{localBaseUrl}}/expenses/2aa94170-2c57-4c4f-a1e7-13544ba72917
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
meta {
|
||||
name: Expenses
|
||||
name: LOC GET Expenses
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
23
bruno/Common Cents/Expenses/LOC POST Expense Full.bru
Normal file
23
bruno/Common Cents/Expenses/LOC POST Expense Full.bru
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
meta {
|
||||
name: LOC POST Expense Full
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{localBaseUrl}}/expenses
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"date": "2025-12-01",
|
||||
"cents": 987,
|
||||
"categoryId": "1",
|
||||
"merchantId": "1",
|
||||
"subcategoryIds": ["1","2"],
|
||||
"tagIds": ["1","2"],
|
||||
"description": "NEW FULL expense"
|
||||
}
|
||||
}
|
||||
20
bruno/Common Cents/Expenses/LOC POST Expense Partial.bru
Normal file
20
bruno/Common Cents/Expenses/LOC POST Expense Partial.bru
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
meta {
|
||||
name: LOC POST Expense Partial
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{localBaseUrl}}/expenses
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"date": "2025-12-01",
|
||||
"cents": 987,
|
||||
"categoryId": "1",
|
||||
"description": "NEW PARTIAL expense"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue