tesma Platform API

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

Gets the current status of a bulk ordered asset patch request

get
https://api.tesma.com/v1/orderedassets/bulkpatches/{id}

Path Parameters

idinteger(int32)required

The id of the bulk job

>= 1

Headers

CorporateGroup-Namestring

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

Response

application/json

OK

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

get/v1/orderedassets/bulkpatches/{id}
 
application/json

OrderedAssetsRead