NOTE: User must be logged in as admin to access this API

URL: api/status/edit/{status}

Method: GET

Description : Get Details of Ticket Status For Edit

Parameters:

Parameter Type Optional/Required Description
status Integer Required status id of the status to be Edited.

Success Response :

{
    "success": true,
    "data": {
        "status": {
            "id": 17,
            "name": "one updated",
            "message": "this is message",
            "created_at": "2021-08-17 14:35:44",
            "updated_at": "2021-08-17 14:36:48",
            "visibility_for_client": 1,
            "allow_client": 1,
            "visibility_for_agent": 0,
            "purpose_of_status": 2,
            "secondary_status": null,
            "send_email": {
                "client": "0",
                "admin": "0",
                "assigned_agent_team": "0"
            },
            "halt_sla": 1,
            "order": 15,
            "icon": "fas fa-address-book",
            "icon_color": "#5cb85c",
            "default": 1,
            "send_sms": 0,
            "auto_close": null,
            "comment": 1
        },
        "targetStatus": [
            3
        ],
        "allStatus": {
            "1": "Open",
            "2": "Resolved",
            "3": "Closed",
            "4": "Deleted",
            "6": "Spam",
            "7": "Unapproved",
            "8": "Merged",
            "17": "one updated"
        },
        "statusWithVisibility": [
            {
                "id": 1,
                "name": "Open"
            },
            {
                "id": 2,
                "name": "Resolved"
            },
            {
                "id": 3,
                "name": "Closed"
            },
            {
                "id": 4,
                "name": "Deleted"
            }
        ]
    }
}
Tagged: