List Properties

GET https://app.alaaqat.com/api/Deal/properties/

For more information about properties, check the Properties.

Parameters

This endpoint inherit Pagination parameters.

Key Type default Description
search string - Search by name
order string created_at Ordering the results

Response

The return type will always be Pagination<Property> check Pagination for more details.

{
    "data": [
        {
            "_id": "661d3be02472d3ef25087b1d",
            "internal_name": "deal_name",
            "desc": {
                "en": "",
                "ar": ""
            },
            "group_id": "65fc50e7e80edb7e1d04db92",
            "name": {
                "en": "Deal Name",
                "ar": "اسم الصفقة"
            },
            "type": "string",
            "user": null,
            "group": {
                "_id": "65fc50e7e80edb7e1d04db92",
                "internal_name": "deal_information",
                "name": {
                    "en": "Deal's Information",
                    "ar": "معلومات الصفقة"
                },
                "desc": [],
                "account_id": null,
                "made_by": null,
                "updated_at": "2024-03-21T15:23:19.559000Z",
                "created_at": "2024-03-21T15:23:19.559000Z"
            }
        },
        {
            "_id": "661d3be02472d3ef25087b1e",
            "internal_name": "deal_description",
            "desc": {
                "en": "",
                "ar": ""
            },
            "group_id": "65fc50e7e80edb7e1d04db92",
            "name": {
                "en": "Deal Description",
                "ar": "وصف الصفقة"
            },
            "type": "text",
            "user": null,
            "group": {
                "_id": "65fc50e7e80edb7e1d04db92",
                "internal_name": "deal_information",
                "name": {
                    "en": "Deal's Information",
                    "ar": "معلومات الصفقة"
                },
                "desc": [],
                "account_id": null,
                "made_by": null,
                "updated_at": "2024-03-21T15:23:19.559000Z",
                "created_at": "2024-03-21T15:23:19.559000Z"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=2",
        "prev": null,
        "next": "/?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 2,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "/?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "/?page=2",
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 15,
        "to": 15,
        "total": 24
    }
}