Update Ticket Property Group

PUT https://app.alaaqat.com/api/tickets/properties/groups/{_id}

_id it is the ID for Group

Requirements

field required type description
name yes array Language options (ar or en)
desc no array Language options (ar or en)

Header

Accept: application/json

Body

{
  "name": {
    "ar": "عربي",
    "en": "English"
  }
}

Response

The response is always in the format of Group.

{
    "data": {
        "_id": "669882455b6b9ecd2e0aa1fd",
        "name": {
            "ar": "عربي",
            "en": "English"
        },
        "made_by": 1,
        "account_id": 1,
        "internal_name": "test123",
        "updated_at": "2024-07-18T02:50:23.128000Z",
        "created_at": "2024-07-18T02:47:33.108000Z",
        "account": {
            "id": 1,
            "name": "test",
            "created_at": "2024-07-11T16:45:07.000000Z",
            "updated_at": "2024-07-11T16:45:07.000000Z",
            "industry": "Accounting",
            "logo": "https://ui-avatars.com/api/?name=test",
            "address": null,
            "timeZone": null,
            "calendar": null,
            "hour12": null,
            "locale": null,
            "currency": null
        },
        "user": {
            "id": 1,
            "email": "ammarabed13@gmail.com",
            "email_verified_at": "2024-07-11T16:44:54.000000Z",
            "created_at": "2024-07-11T16:44:54.000000Z",
            "updated_at": "2024-07-17T14:49:51.000000Z",
            "firstname": "Ammar",
            "lastname": "Alhasanat",
            "image": "http://localhost/storage/users/1/K3KGlzs8GCkYSTP6jrbPacIq1i57GZEpfYZIaRGW.jpg",
            "contacts_view_id": null,
            "locale": "ar",
            "deals_view_id": null,
            "tickets_view_id": null,
            "fullname": "Ammar Alhasanat"
        }
    },
    "message": "Entity was modified Successfully"
}