feat(invoices): added invoice + linking to forklift

This commit is contained in:
2025-11-04 22:12:08 -06:00
parent 577584ef4d
commit 2e05f6eeee
24 changed files with 13782 additions and 17 deletions

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -17,7 +17,7 @@ params:path {
body:json {
{
"endDate": "3/25/2029"
"companyId": "b34c6684-ec35-4364-acef-0c1570faf123"
}
}

View File

@@ -12,10 +12,10 @@ post {
body:json {
{
"leaseNumber":"Delage DLL",
"startDate": "",
"endDate": "",
"companyId": ""
"leaseNumber":"500-50489192",
"startDate": "11/08/2023",
"endDate": "11/12/2025",
"companyId": "b34c6684-ec35-4364-acef-0c1570faf123"
}
}