tesma Platform API

Gets past and future payments for the given lease asset.

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

Query Parameters

loadOptionsobject

The data source load options.

* Additional properties are NOT allowed.
Show Child Parameters

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

leaseScheduleIdinteger(int32)required

The lease schedule identifier.

>= 1

assetIdinteger(int64)required

The asset id.

>= 1

Headers

CorporateGroup-Namestring

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

Response

application/json

OK

TesmaLoadResult_LeaseScheduleAssetPaymentViewResponse

* 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}/assets/{assetId}/payments
 
application/json

LeaseSchedulePayment

Gets the payments of the specified lease schedule. Displayed in lease schedule payment details.

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

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

leaseScheduleIdinteger(int32)required

The lease schedule identifier.

>= 1

Headers

CorporateGroup-Namestring

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

Response

application/json

OK

LeaseSchedulePaymentResponse

* Additional properties are NOT allowed.
currencynull | string
customerContextobject
* Additional properties are NOT allowed.
Show Child Parameters
leaseScheduleIdinteger(int32)
paidAmountnumber(double)
totalAmountnumber(double)
get/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}/payments
 
application/json

OrderedAssetsBulkEdit

Applies the given updates to the ordered assets identified only by their asset id.

patch
https://api.tesma.com/v1/orderedassets

Headers

CorporateGroup-Namestring

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

Body

A List of asset patch data.

* Additional properties are NOT allowed.
assetIdinteger(int64)
assetStatusIdnull | integer(int32)
costCenternull | string

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

>= 0 characters<= 256 characters

customerSpecificFieldsnull
locationnull | string

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

>= 0 characters<= 256 characters

locationOfInstallationnull | string

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

>= 0 characters<= 256 characters

orderNumbernull | string

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

>= 0 characters<= 256 characters

serialNumbernull | string

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

>= 0 characters<= 30 characters

Response

application/json

Accepted

AssetBulkJobResponse

* Additional properties are NOT allowed.
assetsSuccessfullyUpdatednull | integer(int32)
assetsTotalinteger(int32)
createDatestring(date-time)
endDatenull | string(date-time)
errorsnull | array[object]
* Additional properties are NOT allowed.
Show Child Parameters
idinteger(int32)
startDatenull | string(date-time)
statusstring

Allowed values:notStartedvalidatinginProgresssuccessfulpartiallySuccessfulfailedfailedPotentiallyInconsistent

patch/v1/orderedassets

Body

[ {} ]
 
application/json