Represents a Lease Unit in SOFT4Spaces.
Note
For information about enabling APIs for Business Central see Overview.
API endpoint
| API | Path |
| leaseUnit | businesscentralPrefix/soft4/soft4spaces/v3.0/companies({{companyId}})/leaseUnits |
Methods
| Method | Return Type | Description |
| GET leaseUnit | leaseUnit | Gets a lease unit object. |
| DELETE leaseUnit | none | Deletes a lease unit object. |
| POST leaseUnit | leaseUnit | Creates a lease unit object. |
| PATCH leaseUnit | leaseUnit | Updates a lease unit object. |
Properties
| Property | Type | Description |
| id | GUID | |
| number | string | |
| description | string | |
| leaseUnitGroup | boolean | |
| leaseUnitGroupNo | string | |
| leaseUnitCategory | string | |
| leaseUnitClass | string | |
| blocked | boolean | |
| building | boolean | |
| buildingType | string | |
| objectArea | decimal | |
| address | string | |
| address2 | string | |
| city | string | |
| countryCode | string | |
| globalDimension1Code | string | |
| globalDimension2Code | string | |
| floor | string | |
| manager | string | |
| salespersonCode | string | |
| salespersonName | string | |
| roomNo | string | |
| owner | string | |
| ownerCode | string | |
| ownerName | string | |
| parkingUnit | boolean | |
| searchName | string | |
| totalArea | decimal | |
| uniqueNo | string | |
| tenantName | string | |
| rentedTill | date | |
| currentRentPrice | decimal | |
| currentRentPriceType | string | Fixed, Area, Turnover, Meter, „ “ |
| currentRentPricePeriod | string | „ “, Day, Week, Month, Year, Quarter |
| systemCreatedAt | datetime | |
| systemCreatedBy | GUID | |
| systemModifiedAt | datetime | |
| systemModifiedBy | GUID |