feat(invoices): added invoice + linking to forklift
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Get Invoices
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/lst/api/forklifts/invoices
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name":"Delage DLL"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: Update lease
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/forklifts/invoices/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: de10c8ee-5756-4efb-9664-3c55338b2b60
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
|
||||
"companyId": "b34c6684-ec35-4364-acef-0c1570faf123"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
Reference in New Issue
Block a user