Activate a lease in draft state
Bazimo API (v1)
Languages
Servers
https://doc-api.bazimo.fr/
- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/activate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/activate' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}'Response
No response exampleBodyenumNames: ["Leave","RarLeave","AssignmentOfLease","BailiffLeave","CourtAppointedAdministrator","EndOfDerogatoryLease","EndOfIrrevocableLease","AmicableEarlyTermination","SignatureOfNewLease","SaleOfPremises","TerminationByJudgment","EvictionFollowingJudgment","Safeguard","JudicialReorganization","JudicialLiquidation","TransferOfLeaseByJudgment","LeaseRenewalSignature"]
- application/json-patch+json
- application/json
- text/json
- application/*+json
Enum12345678910
- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/terminate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/terminate' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"exitCondition": 1,
"vacationNotificationDate": "string",
"endOccupationDate": "string",
"transferDate": "string",
"landlordVacationNotificationDate": "string",
"terminationDate": "string",
"exitConditionComment": "string"
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/close
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/close' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/deleteLease
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/deleteLease' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/getLeaseById
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/getLeaseById' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}'OK
- text/plain
- application/json
- text/json
Enum12345
Enum12345678910
Enum12345678910
Enum12345
Enum12345678910
Enum0123456789
Enum0123456789
Enum12345678
Enum123
Enum0123456789
Enum0123456789
Response
No response example- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/getLeasesByBuildingId
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/getLeasesByBuildingId' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",
"datatable": {
"sort": {
"sortBy": 1,
"sortMode": 1
},
"pagination": {
"page": 0,
"rowsPerPage": 0
},
"filters": {},
"search": {
"value": "string"
}
},
"isActive": true,
"leaseExpirationSignal": 1
}'Response
No response exampleBodyenumNames: ["CommercialLease","ThreeYearsFixed","SixYearsFixed","NineYearsFixed","TenYearsFixed","TwelveYearsFixed","ThreeSixNineOrTenYears","ThreeSixNineOrTwelveYears","FourSixOrNineYears","SixNineOrTenYears","NineOrTenYears","NineOrTwelveYears","OneYear","TwoYears","ThreeYears","SixYears"] enumNames: ["Unknown","Commercial","Civil","Emphyteutic","Derogatory","Precarious","Housing89","Law48","ContractualHousing","StaffHousing","Professional","Mixed","IllegalOccupancy","TemporaryOccupancy","FurnishedRental","ConstructionLease","Administrative","Parking","Other","Coworking","PropertyDeed","RentalGuarantee","ServiceProvision","SecondmentAgreement","Subletting","ChargesAgreement","AdvertisingSpace","CommonRights"] enumNames: ["New","Renewal","RealEstateRecovery","Migration","TransferOfNewLease","TransferOfGoodwill","TransferOfLeaseholdRights","TransfertJudicial"] enumNames: ["Unknown","Archive","Office","Cellar","Shop","OtherWithoutSurface","Warehouse","Housing","BusinessPremises","IndustrialPremises","IndoorParking","OutdoorParking","OtherWithSurface","WarehouseWithAccessoryOffices"] enumNames: ["Unknown","Shop","Office","Distribution","MixedActivitiesSpace","IndustrialSpace","Housing","Parking","Mixed","Other","Storage","ConsultingRooms","WarehouseWithAccessoryOffices","Warehouse","Professional"] enumNames: ["None","Percentage1","Percentage2","Percentage3","Percentage4","Percentage5","Percentage6","Percentage7","Percentage8","Percentage9","Percentage10","Percentage11","Percentage12","Percentage13","Percentage14","Percentage15","Percentage16","Percentage17","Percentage18","Percentage19","Percentage20","Percentage21","Percentage22","Percentage23","Percentage24","Percentage25","Crl125","Crl25","Percentage3LeaseTaxRegime","Vat55","Vat85","Vat10","Vat196","Vat20","Exempt","ReverseCharge"]
- application/json-patch+json
- application/json
- text/json
- application/*+json
Enum12345678910
Enum0123456789
Enum12345678
Enum0123456789
Enum0123456789
Enum0123456789
- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/create
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/lease/create' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",
"canHaveDifferentInvoicingElementBankAccount": true,
"durationType": 1,
"durationValue": 0,
"effectiveDate": "string",
"invoicingEntityId": "c3756938-c992-4f63-9f39-dcde74d3e977",
"invoicingEntityType": 1,
"isTacitRenewal": true,
"label": "string",
"leaseTerm": 1,
"leaseType": 0,
"legalOwnerBankAccountId": "450dbb29-672e-4618-bf16-158f3a6d5955",
"lots": [
{
"endAt": "string",
"startAt": "string",
"lotId": "e8c5065f-4319-4b13-ad99-eb9182a42d06"
}
],
"number": "string",
"origin": 1,
"premisesNature": 0,
"premisesUsage": 0,
"priorNotice": 0,
"billingStartDateInBazimo": "string",
"renterId": "5e8fd3a6-1229-4fc6-80e4-337191896d0b",
"taxSystem": 0,
"invoiceNote": "string",
"billedSurface": 0.1
}'