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

URL: api/status/{status}

Method: GET

Description : Get Status Details.

Parameters:

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

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": {
                "id": 2,
                "name": "closed"
            },
            "secondary_status": null,
            "halt_sla": 1,
            "order": 15,
            "icon": "fas fa-address-book",
            "icon_color": "#5cb85c",
            "default": 1,
            "send_sms": 0,
            "auto_close": null,
            "comment": 1,
            "override_statuses": [
                {
                    "id": 3,
                    "name": "Closed",
                    "pivot": {
                        "current_status": 17,
                        "target_status": 3
                    }
                }
            ]
        }
    }
}
Tagged:

Leave a Reply

Your email address will not be published.