sending json with diff status code return response()->json($json_result,301); level 0 - God 1 - Head 4th year 2 - Manager 3rd year 3 - Junior 2nd year