Lease Schedules

This article explains the fields contained in responses and requests sent from and to the lease API endpoint.

General information

The general asset response contains all properties and is therefore used to describe the meaning of the field values. An example of a single asset may look like this:

"customerContext": {
  "customerName": "Testcompany GmbH",
  "leaseCompanyName": "CHG-MERIDIAN AG",
  "customerNumber": 903544,
  "leaseCompany": 1
},
  "status": "Active",
  "leaseScheduleId": 0,
  "leaseStartDate": "2023-06-29",
  "actualLeaseTerm": 0,
  "actualLeaseEndDate": "2023-06-29",
  "leaseOrderNumber": "string",
  "locationOfInstallation": "string",
  "leaseScheduleReference": "string",
  "minimumLeaseTermEndDate": "2023-06-29",
  "minimumLeaseTermStartDate": "2023-06-29",
  "plannedLeaseEndDate": "2023-06-29",
  "isCanceled": true,
  "cancellationDate": "2023-06-29",
  "isCarbonZero": true,
  "periodicalPrice": 0,
  "usagePeriod": "monthly",
  "currency": "string"
}

A lease schedule is uniquely identified by a combination of the leaseScheduleId and leaseCompany.

Asset properties

PropertyDescriptionRemarks
customerContextCustomer context which consists of the lease company and the customer
statusUnknown, Initial, Active, Inactive
leaseScheduleIdCHG lease schedule id
leaseStartDateLease start date for the lease schedule
actualLeaseTermTotal running time
actualLeaseEndDateFinancial lease end of the lease schedule
leaseOrderNumberCustomer installation data (invoice relevant)Editable via PATCH
locationOfInstallationCustomer installation data (invoice relevant)Editable via PATCH
leaseScheduleReferenceInternal lease schedule reference
minimumLeaseTermEndDateMinimum lease term of the lease schedule
minimumLeaseTermStartDateMinimum lease start of the lease schedule
plannedLeaseEndDateFuture lease end of the lease schedule
isCanceledIs the lease schedule canceled
cancellationDateDate the lease schedule has been canceled
isCarbonZeroCarbon Zero certified
periodicalPriceLeasing price for the current period (determined by field usagePeriod)
usagePeriodThe current payment/usage periodPossible enum values: monthly, quarterly, semiyearly, yearly
currencyCurrency of current periodicalPriceISO 4217 Code, e.g. EUR

Example requests

All active lease schedules

To query for the active lease schedules use this filter setup filter=["status", "=", "Active"]

All lease schedules of the last 3 months

To get the latest lease schedules of the last 3 months use this filter filter=[["leaseStartDate", "<=", "2023-03-01"]] Date is today - 3 months

All ending lease schedules

To get the ending lease schedules of the next 6 months use this filter filter=[["plannedLeaseEndDate", ">=", "2023-03-01"]] Date is today + 6 months