API

Handle files

APIaction: API.files

Description: upload/download/delete a specific file

Notes: To retrieve files, first check their existence via other actions.


APIactionModes: upload

Description: /

Notes: /


Data in this request:

required format: "FORM"
required variables: {
    "APIaction": "API.files",
    "APIactionModes": [
        "upload"
    ],
    "doc_type": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 30,
        "default": null,
        "type": "string",
        "description": ""
    },
    "file_name": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 25,
        "default": null,
        "type": "string",
        "description": "",
        "accepted items": "tenancy_contract (translations, data), contract_registration (translations, data), place_description (translations, data), meeting_final_report (translations, data), meeting_attendances (translations, data), meeting_attachment_2 (translations, data), meeting_attachment_3 (translations, data), meeting_attachment_4 (translations, data), meeting_attachment_5 (translations, data), meeting_attachment_6 (translations, data), meeting_attachment_7 (translations, data), meeting_attachment_8 (translations, data), meeting_attachment_9 (translations, data), meeting_attachment_10 (translations, data), meeting_attachment_1 (translations, data)"
    },
    "build_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 30,
        "default": null,
        "type": "string",
        "description": "The reference for the building"
    }
}
optional variables: {
    "file_name_extension": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 25,
        "default": null,
        "type": "string",
        "description": ""
    },
    "unit_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 40,
        "default": null,
        "type": "string",
        "description": "The reference for this unit"
    },
    "contr_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 80,
        "default": null,
        "type": "string",
        "description": "The reference for this contract"
    },
    "meeting_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 40,
        "default": null,
        "type": "string",
        "description": "The reference for this meeting"
    }
}

Subscription required for this mode:

"none"

Example output of this request:

null
APIactionModes: download

Description: /

Notes: /


Data in this request:

required format: "FORM"
required variables: {
    "APIaction": "API.files",
    "APIactionModes": [
        "download"
    ],
    "doc_type": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 30,
        "default": null,
        "type": "string",
        "description": ""
    },
    "file_name": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 25,
        "default": null,
        "type": "string",
        "description": "",
        "accepted items": "tenancy_contract (translations, data), contract_registration (translations, data), place_description (translations, data), meeting_final_report (translations, data), meeting_attendances (translations, data), meeting_attachment_2 (translations, data), meeting_attachment_3 (translations, data), meeting_attachment_4 (translations, data), meeting_attachment_5 (translations, data), meeting_attachment_6 (translations, data), meeting_attachment_7 (translations, data), meeting_attachment_8 (translations, data), meeting_attachment_9 (translations, data), meeting_attachment_10 (translations, data), meeting_attachment_1 (translations, data)"
    },
    "build_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 30,
        "default": null,
        "type": "string",
        "description": "The reference for the building"
    }
}
optional variables: {
    "file_name_extension": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 25,
        "default": null,
        "type": "string",
        "description": ""
    },
    "unit_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 40,
        "default": null,
        "type": "string",
        "description": "The reference for this unit"
    },
    "contr_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 80,
        "default": null,
        "type": "string",
        "description": "The reference for this contract"
    },
    "meeting_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 40,
        "default": null,
        "type": "string",
        "description": "The reference for this meeting"
    }
}

Subscription required for this mode:

"none"

Example output of this request:

null
APIactionModes: delete

Description: /

Notes: /


Data in this request:

required format: "FORM"
required variables: {
    "APIaction": "API.files",
    "APIactionModes": [
        "delete"
    ],
    "doc_type": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 30,
        "default": null,
        "type": "string",
        "description": ""
    },
    "file_name": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 25,
        "default": null,
        "type": "string",
        "description": "",
        "accepted items": "tenancy_contract (translations, data), contract_registration (translations, data), place_description (translations, data), meeting_final_report (translations, data), meeting_attendances (translations, data), meeting_attachment_2 (translations, data), meeting_attachment_3 (translations, data), meeting_attachment_4 (translations, data), meeting_attachment_5 (translations, data), meeting_attachment_6 (translations, data), meeting_attachment_7 (translations, data), meeting_attachment_8 (translations, data), meeting_attachment_9 (translations, data), meeting_attachment_10 (translations, data), meeting_attachment_1 (translations, data)"
    },
    "build_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 30,
        "default": null,
        "type": "string",
        "description": "The reference for the building"
    }
}
optional variables: {
    "file_name_extension": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 25,
        "default": null,
        "type": "string",
        "description": ""
    },
    "unit_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 40,
        "default": null,
        "type": "string",
        "description": "The reference for this unit"
    },
    "contr_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 80,
        "default": null,
        "type": "string",
        "description": "The reference for this contract"
    },
    "meeting_ref": {
        "minimum": null,
        "maximum": null,
        "NULL allowed": false,
        "min_length": 0,
        "max_length": 40,
        "default": null,
        "type": "string",
        "description": "The reference for this meeting"
    }
}

Subscription required for this mode:

"none"

Example output of this request:

null

Professional tools for building management. For everyone. You're welcome.

We love it when you help spread the word about our quality:


You can also follow us on our channels:



© 2026 SilverLines & Maarten Renckens

May we use analytics cookies to improve our platform?