List Property Groups

GET https://app.alaaqat.com/api/tickets/properties/groups

Parameters

This endpoint inherit Pagination parameters.

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

Response

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

{
    "data": [
        {
            "_id": "66900cad55aa925b2f051c0b",
            "internal_name": "ticket_information",
            "name": {
                "en": "ticket's Information",
                "ar": "معلومات التذكرة"
            },
            "desc": [],
            "account_id": null,
            "made_by": null,
            "updated_at": "2024-07-11T16:47:41.632000Z",
            "created_at": "2024-07-11T16:47:41.632000Z",
            "user": null
        },
        {
            "_id": "66900cad55aa925b2f051c0c",
            "internal_name": "ticket_dates",
            "name": {
                "en": "ticket's Dates",
                "ar": "تواريخ التذكرة"
            },
            "desc": [],
            "account_id": null,
            "made_by": null,
            "updated_at": "2024-07-11T16:47:41.644000Z",
            "created_at": "2024-07-11T16:47:41.644000Z",
            "user": null
        }
    ],
    "links": {
        "first": "http://localhost/api/tickets/properties/groups?page=1",
        "last": "http://localhost/api/tickets/properties/groups?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://localhost/api/tickets/properties/groups?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "http://localhost/api/tickets/properties/groups",
        "per_page": 15,
        "to": 2,
        "total": 2
    }
}