tesma Platform API

LeaseSchedule

Gets a list of all lease schedules.

get
https://api.tesma.com/v1/leases

Query Parameters

loadOptionsobject

The load options object.

* Additional properties are NOT allowed.
Show Child Parameters

Headers

CorporateGroup-Namestring

Corporate group key that assigns the currently selected corporate group to the request.

Response

application/json

OK

TesmaLoadResult_LeaseScheduleResponse

* Additional properties are NOT allowed.
datanull | array[object]
* Additional properties are NOT allowed.
Show Child Parameters
groupCountinteger(int32)

Default:-1

summarynull | array
totalCountinteger(int32)

Default:-1

get/v1/leases
 
application/json

Gets a lease schedule by specified lease schedule number.

get
https://api.tesma.com/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

leaseScheduleIdinteger(int32)required

The lease schedule id.

>= 1

Headers

CorporateGroup-Namestring

Corporate group key that assigns the currently selected corporate group to the request.

Response

application/json

OK

TesmaLoadResult_LeaseScheduleResponse

* Additional properties are NOT allowed.
datanull | array[object]
* Additional properties are NOT allowed.
Show Child Parameters
groupCountinteger(int32)

Default:-1

summarynull | array
totalCountinteger(int32)

Default:-1

get/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}
 
application/json

Applies an update to the lease schedule with the given lease schedule number.

patch
https://api.tesma.com/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

leaseScheduleIdinteger(int32)required

The lease schedule id.

>= 1

Headers

CorporateGroup-Namestring

Corporate group key that assigns the currently selected corporate group to the request.

Body

The patch object containing the updates.

LeaseSchedulePatchRequest

* Additional properties are NOT allowed.
leaseOrderNumbernull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 30 characters

locationOfInstallationnull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 30 characters

Response

OK

patch/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}

Body

{}
 

LeaseScheduleAssetPatch