Corporate group key that assigns the currently selected corporate group to the request.
Gets all asset statuses of the corporate group.
get
https://api.tesma.com/v1/leases/assetStatus
Headers
CorporateGroup-Namestring
Response
application/json
Response
application/json
OK
PublicAssetStatusResponse
* Additional properties are NOT allowed.
idinteger(int32)
namenull | string
get/v1/leases/assetStatus
Authentication
Headers
application/json
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
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
Authentication
Query Parameters
Headers
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
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}
Authentication
Path Parameters
Headers
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
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
Response
OK
patch/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}
Authentication
Path Parameters
Headers
Body
{}