tesma Platform API

AcceptanceCertificates

Gets all acceptance certificates.

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

Query Parameters

loadOptionsobject

The load options.

* 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_AcceptanceCertificateResponse

* 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/acceptanceCertificates
 
application/json

Gets a single acceptance certificate by acceptance certificate id.

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

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

acceptanceCertificateIdinteger(int32)required

The id of the acceptance certificate as identifier

>= 1

Headers

CorporateGroup-Namestring

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

Response

application/json

OK

AcceptanceCertificateResponse

* Additional properties are NOT allowed.
acceptanceCertificateIdinteger(int32)
actualLeaseTerminteger(int32)
authorizationStatusstring

Allowed values:readyauthorized

confirmationStatusstring

Allowed values:chgCheckInProgressclearingProcessfirstConfirmationPendingsecondConfirmationPendingconfirmed

customerContextobject
* Additional properties are NOT allowed.
Show Child Parameters
customerInformationnull | string
firstConfirmationDatenull | string(date-time)
firstConfirmationUserIdnull | integer(int32)
leaseScheduleIdinteger(int32)
leaseStartDatenull | string(date)
plannedLeaseEndDatenull | string(date)
secondConfirmationDatenull | string(date-time)
secondConfirmationUserIdnull | integer(int32)
get/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}
 
application/json

Confirms the given acceptance certificate.

post
https://api.tesma.com/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/confirmation

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

acceptanceCertificateIdinteger(int32)required

The acceptance certificate identifier.

>= 1

Headers

CorporateGroup-Namestring

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

Response

application/json

OK

ConfirmAcceptanceCertificateResponse

* Additional properties are NOT allowed.
messagenull | string
responseCodeinteger(int32)
post/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/confirmation
 
application/json

Rejects the given acceptance certificate

post
https://api.tesma.com/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/rejection

Path Parameters

leaseCompanyNumberinteger(int32)required

The lease company number.

>= 1

acceptanceCertificateIdinteger(int32)required

The acceptance certificate identifier.

>= 1

Headers

CorporateGroup-Namestring

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

Response

OK

post/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/rejection