Spaces

Get all Spaces for a specific period

GET https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/0/buildings/0/reports/contracts/spaces?start=2024-05-01&end=2024-05-31

This endpoint query example allows you to get all Spaces for May 2024

Query Parameters

Name
Type
Description

start

string

period start, =YYYY-MM-DD

end

string

period end, =YYYY-MM-DD

{
        "id": 8993,
        "name": "AIS1D/5",
        "spaceFunction": {
            "name": "Office",
            "id": 276
        },
        "building": {
            "name": "Building1",
            "id": 2666
        },
        "spaceSizes": [
            {
                "description": null,
                "id": 8613,
                "size": 100.00,
                "startDate": "2024-05-01",
                "endDate": "2024-05-31",
                "rentalSpaceByDays": 12.9032258064516129030000,
                "ratio": 0.12903225806451612903,
                "activeContractId": null,
                "activeContract": false,
                "pastContract": false
            },
            {
                "description": "Test change to 05.05",
                "id": 16982,
                "size": 150.00,
                "startDate": "2024-05-05",
                "endDate": "2024-05-31",
                "rentalSpaceByDays": 130.6451612903225806455000,
                "ratio": 0.87096774193548387097,
                "activeContractId": null,
                "activeContract": false,
                "pastContract": false
            }
        ],
        "spaceSize": 150.00,
        "targetPrice": null,
        "floor": 1,
        "leasableSpace": true,
        "fields": [
            {
                "id": 2741,
                "fieldId": 398,
                "booleanValue": false,
                "dateValue": null,
                "stringValue": null,
                "numberValue": null
            }
        ],
        "section": "D",
        "notes": "",
        "vacant": null,
        "usedInContracts": true,
        "requests": [],
        "vacantDays": 0,
        "tenantName": "TEST",
        "lastContractActualEndDate": null,
        "plannedEndOfRentalPeriod": null,
        "createdBy": "string",
        "modifiedBy": "string",
        "createdDate": "2023-03-21T09:15:31.000+00:00",
        "modifiedDate": "2023-03-21T09:15:30.762+00:00"
    }
]

Last updated