leaseContract resource type

Represents a Lease Contract in SOFT4Spaces.

Note

For information about enabling APIs for Business Central see Overview.

 

 

API endpoint

 

API Path
leaseContract businesscentralPrefix/soft4/soft4spaces/v3.0/companies({{companyId}})/leaseContracts

 

Methods

 

Method Return Type Description
GET leaseContract leaseContract Gets a lease contract object.
DELETE leaseContract none Deletes a lease contract object.
POST leaseContract leaseContract Creates a lease contract object.
PATCH leaseContract leaseContract Updates a lease contract object.

 

Properties

 

Property Type Description
id GUID  
number string  
versionNo integer  
versionStatus string New, Valid, Old
status string New, Ready, Reserved, Released, Terminated
contractDate date  
contractValidUntil date  
handoverDate date  
customerNo string  
customerName string  
customerAddress string  
customerAddress2 string  
customerCity string  
customerPostCode string  
customerCountryRegionCode string  
customerCounty string  
customerBrand string  
contractType string  
buildingNo string  
requiredDepositAmount decimal  
depositTerm date  
eMailInvoice string  
invoicingCurrencyCode string  
invoicingFrequency string Monthly, Quarterly, Yearly, Weekly, Fortnightly, Semi-Annual
minimumTerm string  
noticePeriod string  
salespersonCode string  
shortcutDimension1Code string  
shortcutDimension2Code string  
warrantyType string  
warrantyAmount decimal  
warrantyValidTo date  
automaticallyExtend boolean  
extensionPeriod string  
automExtendPrice boolean  
sendForewarningEmail boolean  
forewarningPeriod string  
emailRecipient string  
notifyOnExtensionDate boolean  
extendPriceIndexation boolean  
systemCreatedAt datetime  
systemCreatedBy GUID  
systemModifiedAt datetime  
systemModifiedBy GUID  

 

 

Name Type Description
leaseContractLines Collection(Microsoft.NAV.leaseContractLines)  
customer Microsoft.NAV.customer  
leaseUnit Collection(Microsoft.NAV.leaseUnit)